adhenrique:
Hello guys.
I'm new to the forum, so forgive me if I end up making a mistake.
First of all, my name is Adenilton and I worked with the arduino pro micro, creating a usb controller for effects pedals on the computer.
Today I have an idea to help the church band that I participate in: I want to transport 8 different audio channels through a network cable (AOE).
I researched and read a lot about it, but I still have questions and would like someone to show me other possible ways to do it.
At first I have 4 questions:
- Can Arduino do this job easily?
No, not feasible, or rather extremely hard as stated.
- I need at least 8 analog inputs and 8 PWM outputs (?) In order to continue with this project. So can the Arduino DUE help me? If not, can you give me example of another board?
- As for audio quality, to stream CD-quality audio, i would need at least 16 data bits. Does it seem to me that I could do it with the DUE?
8 channels of I2S audio is specialist hardware territory, you probabably need DSP or FPGA or ASICs for this. I say I2S as that's the standard for ADC chips for audio - 2 channels per I2S bus, normally
clocked at 48, 96 or 192kSPS per channel
- As for the audio transmission, I believe it has a space of 15 meters. Will I have problems with latency? If so, what would be the ideal?
The DSP within the ADCs may be the main causes of latency, you would need to use
devices with minimal DSP built-in, but as I say this is specialized hardware territory I think.
I would be grateful if anyone could help me with these questions. And in the course of our discussion, I will introduce you more about the project.
Cheers!
My suggestions are either find a device you can buy that does this, or send the audio in analog to a multichannel USB soundcard? The idea of creating a whole AoE/IP stack from scratch is highly
daunting.
Digital audio interconnect like S/PDIF or AES3 might be more feasible to implement, being a
lot closer to a low-level protocol like the I2S from the ADCs.
Audio over IP is aimed at the professional audio market only AFAICT, if you want a simple cheap way to
send 8 channels of audio 15m, a bundle of 8 screened cables spring to mind. You could
send differential analog audio over two CAT5 cables, correctly driven and terminated.
Another approach would be to directly multiplex several I2S streams into one high speed
digital signal, but that still means having 4 I2S busses to drive, I doubt many microcontrollers
support that, this is DSP territory.