- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
how to convert audio file to .coe file
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-21-2012 09:15 AM
sir , i want to convert audio file to .coe file so that i can instantiate it into coregen RAM.So that i have generated MATLAB code
But it wont works .Is there any other method to convert .wav file to .coe file or how i will convert wave file into vhdl code .please help.
Re: how to convert audio file to .coe file
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-21-2012 11:36 AM
technovlsi wrote:
sir , i want to convert audio file to .coe file so that i can instantiate it into coregen RAM.So that i have generated MATLAB code
But it wont works .Is there any other method to convert .wav file to .coe file or how i will convert wave file into vhdl code .please help.
You have to parse the WAV file, which means you read the header, determine where the data chunks start, then reading them, and writing them out in the proper .coe format. Or you could simply extract the data bytes and write them to a text file, which can be read using the textio functions in VHDL.
But you'll need a bit of host programming skill. A python script will probably work for you.
----------------------------------------------------------------
Yes, I do this for a living.
Re: how to convert audio file to .coe file
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2012 03:38 AM
hi pal,
thanks pal, i was looking for the same issue of covertion of audio file, and found out here, i appreciate your work, great help....
Thanks
Re: how to convert audio file to .coe file
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-31-2012 11:36 AM
Research Fellow
University of Calcutta, India











