Page 1 of 1

Playing 4 individual sounds out of 4 individual speakers

Posted: Thu Jun 28, 2018 3:36 pm
by lvkv
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?

Re: Playing 4 individual sounds out of 4 individual speakers

Posted: Thu Jun 28, 2018 4:18 pm
by The Traveler
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.

Re: Playing 4 individual sounds out of 4 individual speakers

Posted: Thu Jun 28, 2018 5:30 pm
by pksato
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