Wav File Source Error

Hello:

I am working in GRC making an AM Modulator. I’m trying to use the Wav
File Source block and I tested with an Audio Sink block, but this is the
error that I get:

Traceback (most recent call last):
File “/home/cafequilar/FlowGraphsGRC/usrp_am_transmisor.py”, line 82,
in
tb = usrp_am_transmisor()
File “/home/cafequilar/FlowGraphsGRC/usrp_am_transmisor.py”, line 57,
in init
self.gr_wavfile_source_0 =
gr.wavfile_source("/home/cafequilar/FlowGraphsGRC/popeeye.wav", True)
File
“/usr/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_io.py”, line
1782, in wavfile_source
return _gnuradio_core_io.wavfile_source(*args, **kwargs)
RuntimeError: is not a valid wav file

I’ve tried using 3 different wav files but is always this error. Please,
any suggestion would be well received.

Thanks!

Carlos Quiroz
Universidad Técnica Federico Santa María
Valparaíso, Chile

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs