Giter Club home page Giter Club logo

pirate-audio's Introduction

Pirate Audio

Pirate Audio is a range of audio output boards for the Raspberry Pi.

Each board includes an ST7789 240x240 pixel LCD display, four buttons and some form of audio output (except for the Pirate Audio: Dual Mic which offers two microphones instead of audio output).

Hardware

  • st7789 display (see Python library)
  • four buttons, active low connected to BCM 5, 6, 16, and 24 (A, B, X, Y respectively)

Installation

You'll need to add the following lines to /boot/config.txt to get audio up and running:

dtoverlay=hifiberry-dac
gpio=25=op,dh

You can also disable onboard audio if you're not going to use it, this sometimes helps applications find the right audio device without extra prompting:

dtparam=audio=off

And for Dual Mic, you'll need:

dtoverlay=adau7002-simple

(See Clip Recorder for further example of use.)

Using with Spotify Connect

If you want to display album art and track information on your Pirate Audio LCD then check out PiDi Spotify.

Note: PiDi Spotify is currently in beta, and does not work alongside Mopidy. If you want to smush track information into Mopidy from Raspotify see: pimoroni#17

Using With Mopidy

We've created plugins to get you up and running with Pirate Audio and Mopidy.

These will give you album art display, volume, play/pause and skip control.

Build Your Own

If you're planning to build your own application you'll find some inspiration in examples.

But first you'll need some dependencies:

sudo apt update
sudo apt install python-rpi.gpio python-spidev python-pip python-pil python-numpy

And then you'll need the st7789 library:

sudo pip install st7789

For more display examples see the st7789 Python library examples.

pirate-audio's People

Contributors

gadgetoid avatar kingosticks avatar adamfx990 avatar blech avatar axelsimon avatar ajtag avatar helgibbons avatar rileyjshaw avatar mttsmmrssprks avatar simonbrugger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.