Hi dude! u rocked! v nice work..i need to know that how did u converted a wav file that have 44KHz,Stereo, 320kbps into unsined 8khz,Mono??? any software??? and what should be the bitrate of the raw file? Thanks
1. You can use sound editor software and save it to unsigned , 8Khz, Mono, raw format.
2. it use R2R DAC, playback at port D
3. Any MCU will do, just the matter how long you can playback, it depend on MCU ROM, you can use external memory like SD Memory if your MCU is fast enough.
@picflash72 I dude! u rocked! v nice work..i need to know that how did u converted a wav file that have 44KHz,Stereo, 320kbps into unsined 8khz,Mono??? any software??? and what should be the bitrate of the raw file? Thanks
Nice job. This project is very easy to do. All you need is a uC and a table with 8-bit raw PCM samples. As a digital-to-analogue converter you can use either built-in PWM (and an external RC low-pass) or simple R2R ladder. The size of audio data can be simply caclulated by resolution and sample rate. In case we use 8-bit samples and 8000Hz sampling rate, the bitrate would be 64kbps or 8kB per second. I've done a similar project, but I added UART and SD-card support.
Go pick up a fue books on electrical engineering a book on C or assmbley languages Its a fairly simple circuit as from the programming aspect microchip allready supplys the source code for this use of raw audio playback on there main site.
good job. can u make the same with arduino uno?
igrewold 1 month ago
part list plz
AJpennster 8 months ago
This has been flagged as spam show
Hi dude! u rocked! v nice work..i need to know that how did u converted a wav file that have 44KHz,Stereo, 320kbps into unsined 8khz,Mono??? any software??? and what should be the bitrate of the raw file? Thanks
imumair2004 1 year ago
dude im making the same project in my lab project par. can u help me?
how did you convert the ".wav" file to 8 bit binary file?
and second question how does a binary file regain its audio properties or identity when converted back to Analog?
dude can we do the same work with PIC16f876A?
waiting
superjini777 1 year ago
@superjini777
1. You can use sound editor software and save it to unsigned , 8Khz, Mono, raw format.
2. it use R2R DAC, playback at port D
3. Any MCU will do, just the matter how long you can playback, it depend on MCU ROM, you can use external memory like SD Memory if your MCU is fast enough.
picflash72 1 year ago
@picflash72 I dude! u rocked! v nice work..i need to know that how did u converted a wav file that have 44KHz,Stereo, 320kbps into unsined 8khz,Mono??? any software??? and what should be the bitrate of the raw file? Thanks
imumair2004 1 year ago
Comment removed
imumair2004 1 year ago
@superjini777 hey can i make this using an eeprom? if you know how please answer this dude!
vikman009 5 months ago
dude im making the same prject in my lab project par. can u help me?
how did you convert the ".wav" file to 8 bit binary file?
and secopnd question how does a binary file regain its audio properties or idenity when converted back to Analog?
dude can we do the same work with PIC16f876A?
waiting
superjini777 1 year ago
nasty beep dares a big and fast hammer onto it
rodstartube 1 year ago
Nice job. This project is very easy to do. All you need is a uC and a table with 8-bit raw PCM samples. As a digital-to-analogue converter you can use either built-in PWM (and an external RC low-pass) or simple R2R ladder. The size of audio data can be simply caclulated by resolution and sample rate. In case we use 8-bit samples and 8000Hz sampling rate, the bitrate would be 64kbps or 8kB per second. I've done a similar project, but I added UART and SD-card support.
gnatho 2 years ago
try this with music, how much audio can this thing hold?
coondogtheman1234 2 years ago
@coondogtheman1234
I use 18F4520 (16K word), simply use internal ROM memory, so it only playback 4sec for 8Khz sound quality.
It also depend on playback sampling rate, if 4Khz quality, will be longer.
picflash72 1 year ago
@picflash72
I saw a sound module that looks like it's for a greeting card and it hooks to a computer and you can put any audio on it and it sounds great.
coondogtheman1234 1 year ago
how do people do things like this??
tommyboyfierce 2 years ago
Go pick up a fue books on electrical engineering a book on C or assmbley languages Its a fairly simple circuit as from the programming aspect microchip allready supplys the source code for this use of raw audio playback on there main site.
Lokivoid 2 years ago
wow sum big words u got there i guess i can do that lol thats awsome though how people can do these kinds of things you know wow
tommyboyfierce 2 years ago
Excellent !
Are schematics and source code available ? (link ?)
salameche78 2 years ago
Could i please get the full schematic and CSS C source code?
mindthomas 3 years ago
sir oucflash72 can u help me w/ ur project interfacing keyboard to pic mcu
speeedhack 3 years ago
in the sample, it is a wav file, convert to RAW 8bit.
picflash72 3 years ago
can play .wav files?
mumish13 3 years ago
Exelente aplicacion
elect87 3 years ago
hi
Very nice project !!!
do u use ccs c compiler????
I dont now what compoment did u use???
Can u please send me the code and schematic???
i would like to build one of these.
Check my videos ,project, and tell me if i can help u to .
Thanks
EKARVELAS 4 years ago
Yes, using CCS C on 18F4520.
Use Port D, connect to R2R DAC + Amplifier.
picflash72 4 years ago