lvkv
Posts: 1
Joined: Thu Jun 28, 2018 3:26 pm

Playing 4 individual sounds out of 4 individual speakers

Thu Jun 28, 2018 3:36 pm

Hi everyone,

Just got my Raspberry Pi 3 and I'm very excited to learn how to use this!

For context, I'm designing an android mobile app that will have the user press one of four buttons. Each button is mapped to a sound that will play on a specific speaker connected to a raspberry pi.

Right now, I'm in the hardware planning part. What speakers would be suitable for an application like this, and do I have to get an external sound card to support all this? I've looked into solutions like the Adafruit I2S 3W Class D Amplifier Breakout - MAX98357A (https://www.adafruit.com/product/3006) and multiple individual Adafruit USB Audio Adapters (https://www.adafruit.com/product/1475), but I have zero experience with digital/analog audio and I'm hopelessly lost.

Help a noob out?

User avatar
The Traveler
Posts: 360
Joined: Sat Oct 21, 2017 3:48 pm

Re: Playing 4 individual sounds out of 4 individual speakers

Thu Jun 28, 2018 4:18 pm

Just got my Raspberry Pi 3 and I'm very excited to learn how to use this!
Wonderful! Learn some python, do some tutorials, play with some simple hardware. It's how it's done.
but I have zero experience with digital/analog audio and I'm hopelessly lost.
Start with researching "audio for linux" in whatever search engine you prefer and progress from there. Learn first, design your project, then consider what hardware you need.

Cheers.
Retired IT professional, C programmer and "beardie weirdie".
RPi interests: Developing an Infinite Improbability Drive
“Thinking outside of the box allows you to get rewards outside of your reach.” Matshona Dhliwayo

pksato
Posts: 295
Joined: Fri Aug 03, 2012 5:25 pm
Location: Brazil

Re: Playing 4 individual sounds out of 4 individual speakers

Thu Jun 28, 2018 5:30 pm

lvkv wrote:
Thu Jun 28, 2018 3:36 pm
Hi everyone,

Just got my Raspberry Pi 3 and I'm very excited to learn how to use this!

For context, I'm designing an android mobile app that will have the user press one of four buttons. Each button is mapped to a sound that will play on a specific speaker connected to a raspberry pi.
You need to play these sound at same time, or can be a one sound at time?
for simultaneous sound, you need a sound card for each play.

If can play one sound at time, you can use a relay to select a corresponding speaker to play.

If project is about some announcement system with fixed message, can control module like this from RPi.
http://www.icstation.com/voice-play-mod ... 10060.html

Return to “Beginners”