🎉  Happy 13th Birthday Raspberry Pi!   🎂   1,000+ deals in store!   🥳
🎉  Happy 13th Birthday Raspberry Pi!   🎂   1,000+ deals in store!   🥳

Pirate Audio: Dual Mic for Raspberry Pi

by Pimoroni

Capture sounds in stereo and store them safely away in your Raspberry Pi with Pirate Audio: Dual Mic. It has a matched pair of I2S microphones, a vibrant high-res colour display, and four tactile control buttons.

This Raspberry Pi mini HAT is perfect for recording stereo audio clips at the click of a button. You could use it as a mini dictaphone for recording important notes, shopping lists, melodies or prophetic dreams, or if you wanted to take it a step further you could use it to capture sounds to analyse with machine learning or even hook it up to Google Assistant or Alexa APIs.

Pirate Audio is a range of all-in-one audio boards for Raspberry Pi, with high-quality digital audio, beautifully-crisp IPS displays, tactile buttons for software control and custom Pirate Audio software.

Features

  • 2x SPH0645LM4H-B microphones (datasheet)
    • High performance SiSonic™ acoustic sensor
    • High Signal to Noise ratio of 65dB
    • Inbuilt Analog to Digital Converter
    • I2S interface
  • 1.3" IPS colour LCD (240x240px) (ST7789 driver)
  • Four tactile buttons
  • Mini HAT-format board
  • Fully-assembled
  • Compatible with all 40-pin header Raspberry Pi models
  • Pirate Audio software
  • Dimensions: 31mm x 65mm x 9mm (approx, including screen and header)

Software

We've put together a clip recorder example application to show you how to record audio files and play them back, as well as a convenient installer!

Here's how to get started:

  1. Set an SD card up with the latest version of Raspberry Pi OS.
  2. Connect to Wi-Fi or a wired network.
  3. Open a terminal and type the following:

    git clone https://github.com/pimoroni/pirate-audio
    cd pirate-audio/clip-recorder
    sudo ./install.sh


  4. Reboot your Pi

(There's more info about what the installer does, what audio plugins we've used and how to install them manually on Github).

Notes

  • The buttons are active low, and connected to pins BCM 5, 6, 16, and 24.
  • Unlike the other Pirate Audio boards, Dual Mic doesn't have any chunky components on the underside so it will work fine with a Pibow Coupé case without a booster header.
  • Please note that Pirate Audio: Dual Mic doesn't have any audio output itself, so if you want to be able to listen back to what you've recorded you'll need to use a full size Raspberry Pi with an audio jack, or some alternative audio arrangement, like a Bluetooth speaker or audio over HDMI.
  • I2S supports both input and output devices, so if you're happy hacking on the mystical device tree overlay you could potentially use one of our other Pirate Audio boards for audio output, via something like a HAT Hacker HAT.

3 customer reviews

2 years ago
Really pleased with this! After a dismal experience with the SEEED 4-mic array from pi hut (drivers not compatible with recent rasp os, no response from manufacturers). I was expecting some version/install pain here. But it installed fine, samples ran fine, and plenty of links to other examples. In one weekend I got a chromatic tuner scripted, and button usage to change views from note and error needle to scrolling historic frequency graph, all on the built in screen! (still have to tune the FFT parameters though) really happy ❤️
by Greg about Pirate Audio: Dual Mic for Raspberry Pi via REVIEWS.io
4 years ago
Nice hardware let down by poor software. The 'install.sh' script appears to have digressed from what is described in the README, and the 'cliprecord.py' sample does not work on a fresh RPi ZeroW (pulseaudio problems, as per https://github.com/pimoroni/pirate-audio/issues/37 ).
by Anonymous about Pirate Audio: Dual Mic for Raspberry Pi via REVIEWS.io

1 user photo