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.
- 2x SPH0645LM4H-B microphones (datasheet)
- 1.3" IPS colour LCD (240x240px) (ST7789 driver)
- Four tactile buttons
- Mini HAT-format board
- Compatible with all 40-pin header Raspberry Pi models
- Pirate Audio software
- Dimensions: 31mm x 65mm x 9mm (approx., including screen and header)
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:
- Set an SD card up with the latest version of Raspberry Pi OS.
- Connect to Wi-Fi or a wired network.
- Open a terminal and type the following:git clone https://github.com/pimoroni/pirate-audiocd pirate-audio/clip-recordersudo ./install.sh
- 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).
- 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.