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.

How to add audio data into an EPROM?

Status
Not open for further replies.

coolman

Newbie level 1
Joined
Mar 26, 2004
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
10
eprom bin file to wav

Hi everyone...

I'm trying to add some mono audio files into an EPROM. I have some questions...wonder if any wise men could give me a few pointers...

a) I wish to add 10 audio files (mono voice containing 0 to 9) into an EPROM and later retrieved with selected address. Should i get a chip with 10 data outputs also?

b) Any website I can go for more indepth about eprom programming?

Thank you!@
 

Hi Coolman

You first need to convert all your wav files to 8-bit 11025Khz.
You can use 22050Khz for better quality.

Then open them in your favourite hex editor.
Remove the header,which is approximately everything to 1FF.
Remove the last 1FF bytes as well.
Save each file as .bin
When you have finished converting all your wav's,make one .bin file,noting the start and end addresses of each sound.
Program this .bin file into an eprom which is obviously large enough to accomodate the .bin

Use a micro to clock the eprom at the bitrate you converted your wav's to.

Convert the output of the eprom to analog using an r2r resistor network.
Use 1% resistors for the r2r-network.

Good luck
Raticus
 

raticus said:
Hi Coolman
Convert the output of the eprom to analog using an r2r resistor network.
Use 1% resistors for the r2r-network.
Good luck
Raticus
Or you can use a DAC :)

Cheers !
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top