CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Recording Sound

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
churrinfunflais



Joined: 30 Sep 2011
Posts: 11

View user's profile Send private message

Recording Sound
PostPosted: Mon Nov 28, 2011 11:24 am     Reply with quote

Hi!!!!

I have searched over the forum and I didn't find a conclusive clue about how to record sound. Please if you have something that can help me please don't hesitate in post something.

My project consist in record sound into a MMC/SD card with a PIC, the recording need to last until I stop it or the memory runs out.

the project need to be able to record microphone inputs from up to 4 microphones to a microSD card. I would like to record the input into either .wav or .mp3 file format.

Does anyone have any experience with this sort of operation? Has anyone constructed a circuit like this using a PIC? If so, what flavor of PIC? From what I can see, this would be more applicable to a dsPIC family processor. Could this be done with a PIC18F26J11 or something similar?

Any information would be appreciated.
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Mon Nov 28, 2011 3:06 pm     Reply with quote

if i were going to do what YOU want to do, i would start by
reading the data sheets for candidate PICS and seeing if there were any that
had the A/D converter speed and resolution to do the digitizing -
AND -
with ANY bandwidth left over to do things like save the data you are streaming.

my seat of the pants guess is that you are NOT gonna do this with 16F or 18F parts , and especially NOT as a beginner project with any PIC of any kind.

just my 2cents
temtronic



Joined: 01 Jul 2010
Posts: 9164
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Nov 28, 2011 3:18 pm     Reply with quote

been there..done that, well voice recognition on a 16F84 but same idea..

You've left out some of the 'minor' details .
Desired frequency range of input comes to me. Voice or music ? BIG difference!

Do you need the PIC to expand/compress the mic input or have an analog front end do that?

MMI ? LCD,KPD or just a couple of pushbuttons ?

There's zero need to store the data as an mpg or wav file,let the PC( I assume that's where the sd card will go next...) handle all that.

You might 'google' 1 bit audio recording or something like that.

Others have done this, me for one, a decade ago...though only 1 microphone.One of those silly 'lunch bets' that I one.

Nowadays, I'd start with a PIC18F4550(40 pin DIP).Tons of ROM,lotsa pins,fast !
churrinfunflais



Joined: 30 Sep 2011
Posts: 11

View user's profile Send private message

PostPosted: Tue Nov 29, 2011 3:19 pm     Reply with quote

HI!!!!

Thanks for reply and for all the comets you have left, my project is simple:

voice --> Mic --> AMP --> Filter --> PIC --> SD --> PC

just one or two push button maybe a GLCD or LCD and thats it.

I have a 18f4550 and a 18f14k50 but i can get any PIC i may need, i am thinking in a 32 bit PIC.

hat are your thoughts?

Thanks
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group