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
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
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 ..