hi..
i m doing a project on voice recording using PIC and i have to store the recorded sound on SD card in wav file format. The sampling frequency is 8000Hz and i m using 10bit ADC. The sampled data is converted into 2:1 ADPCM using microchip's code.
Now the problem is, i want to convert it into WAV file format and store in SD card. I have already used SD card for storing data in TXT format.
Can anybody help me.........
THANK IN ADVANCE... _________________ manibabu
Thanks i already visited that link....I know the Format of wave but i need source code for inserting Header particularly for PIC controller. i will appreciate if anybody share source code for similar project like this....
One think, can i implement a block of 100 byte in which 44 byte will be header and the rest 56 will be data. This is going to implement after every 56th sample right?. After implementing the block, the whole block is store in SD card in .WAV extension. My point is weather such file can be play using window media player.....i will be very thankful if anybody reply.... _________________ manibabu
magestik
Joined: 16 Oct 2008 Posts: 59
Re: WAV file format
Posted: Tue Jan 06, 2009 2:43 am
tongbram wrote:
I have already used SD card for storing data in TXT format.
Hello, i'm also looking to do this, could you post your code ?
Thanks
tongbram
Joined: 27 Nov 2008 Posts: 11
Posted: Tue Jan 06, 2009 4:54 am
Actually i have did that part of the code using MikroC compiler. The compiler have example code on SD/MMC.
I have tried in CCS also but only for read/write in sector wise operation. Still trying using FAT in CCS. _________________ manibabu
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