Free Electronic Lab

Opensource EDA software development, some thoughts about the EDA/Semiconductor industry and Mixed-signal integrated circuit design

Audio Engineering


Converting a WAV file to hex file and fro

Recode seems to be fairly straight-forward tool to feed hex data to Verilog or VHDL testbenches.

$ recode ../x1 <example.wav >example.hex
$ recode /x1.. <example.hex >new_example.wav

One Response

  1. Ilya says:

    Hello,

    This looks quite like what I am looking for ..
    is it standard GNU `recode` command ?

    but what is ‘../x1′, is it some sort of file
    that provides mapping or what is it?

    I was thinking of how could one simulate
    audio with input from file and output to
    file by calling a C library in VPI ..
    though it’s hard to find examples of that ;(
    also would be nice to be able to output
    into the speakers .. hm perhaps a simulator
    will make quite a few hiccups since it’s
    too slow for real-time audio ..

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Profile

Chitlesh Goorah
Digital IC design engineer
Neuchâtel, Switzerland

Read the blog ….


This blog is featured on Sean Murphy's EDA blogger list.

Also, on a side track, I sometimes write about the success stories of opensource EDA tools on [open electrons] on edacafe.com.

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 26 other followers

Archives

Je touitte – I tweet

Follow

Get every new post delivered to your Inbox.

Join 26 other followers

%d bloggers like this: