Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Interfacing microphone with PC through microcontroller

Status
Not open for further replies.

Kaleborg

Member level 4
Joined
Nov 2, 2008
Messages
75
Helped
7
Reputation
14
Reaction score
5
Trophy points
1,288
Activity points
1,776
Hello.

I understand that i connect a microphone with an ADC input of the microcontroller(probably also through some sort of low pass filter as well) but then I need to send this digitized signal to the PC. And this is my problem because I'm not sure what do I have to do with this data on my PC in order to be able to play it on PC. Should I use some sort of decoding like MP3 or are there some simpler ways?

Can anybody have any suggestion how could I go about doing this??
I appreciate any suggestions.

Regards.
 

When sampling the signal like this, you are doing a PCM conversion. If I remember correctly, Windows WAV format is indeed PCM, with some additional preamble.
So, if you are able to pack these data into a file with the correct additional information, you should be able to play them on a Windows OS (I reckon on other OSes as well).
PCM is quite inefficient. If you have a huge amount of data, and your MPU has enough power, you could try some software vocoder, like SPEEX. With Speex, you have the double advantage of a more compact format AND you can immediately play the sample on a PC - because one of the Speex porting is for PC.

Giuseppe
 
Thanks for quick reply.

Well I don't think that there will be huge amount of data to capture. The aim is to be able to record a conversation. I know I'm not being to specific but I'm not sure myself.
The uC i want to use is RENESAS M16C chip. It's a 16 bit chip so I think it should handle it.

So this SPEEX thing looks interesting, I'll look into it.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top