Hi
I would like to go about streaming voice, over ethernet, to my PC speakers. Basically an ethernet intercom type system.
I have an arduino uno, ethernet shield and electret. How do I go about doing this?
I am new to arduino, any guidance would be GREATLY appreciated.
Regards
I would like to go about streaming voice...to my PC speakers.
First, you have to figure out how to get voice quality data on the Arduino. That generally requires sampling the microphone more often than the Arduino is capable of.
Now, what data are you going to get from the microphone? Just volume data, or frequency and volume data?
Now, how are you going to send that data via the ethernet shield? Generally VOIP uses UDP. Do you understand what that means? Do you know how to send UPD packets? Do you know how much data you can put in each packet? Do you have any idea how long it takes to construct and send a packet? Do you have any idea how many packets you need to send in any given period of time?
Now, suppose you figure out the answers to these questions, and that, by some miracle, the project still looks practical. Do you have any clue how to subscribe to those UDP packets, and to collect those UDP packets and get the data from them, on the PC? Do you have any idea how to use that data to make the speaker do something?
any guidance would be GREATLY appreciated.
I'd suggest looking for a different project.
I remember seeing a microphone shield somewhere, so I suggest you have a search for that and see what turns up. I expect it enabled the Arduino to detect sounds somehow or other. I have no idea how good the sound quality is, though, by the time it's reached the Arduino.
If you only want to make noises on the PC and aren't interested in connecting to any other VoIP services and aren't fussy about sound quality, you could get something crude working without a huge effort, I'd have thought. The sort of thing I have in mind is a mic connected to an Arduino being sampled at the best resolution/frequency combination you can achieve (I'd suggest 8-bit 8 KHz as a target), sending a byte stream over TCP/IP to the PC, where a custom application written by you would receive the byte stream and output the corresponding wave form to the PC's audio device. The PC side would be non-trivial, but it's all possible.