RuntimeError: audio_alsa_source

Hi All,

I just ran tx_voice and rx_voice.And I wanted to transmit a music and
receive it using Basic RX/TX. However, I got the error:
$ sudo ./tx_voice.py -f 30M -I music.pcm -T A -v

gr_fir_fff: using SSE
bits per symbol = 1
Gaussian filter bt = 0.35
Using TX d’board A: Basic Tx
Tx amplitude 12000
modulation: gmsk_mod
bitrate: 50kb/s
samples/symbol: 5
interp: 512
Tx Frequency: 30M
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM musicpcm.pcm
audio_alsa_source[musicpcm.pcm]: No such file or directory
Traceback (most recent call last):
File “./tx_voice.py”, line 150, in
main()
File “./tx_voice.py”, line 121, in main
tb = my_top_block(mods[options.modulation], options)
File “./tx_voice.py”, line 69, in init
self.audio_rx = audio_rx(options.audio_input)
File “./tx_voice.py”, line 52, in init
src = audio.source(sample_rate, audio_input_dev)
File “/usr/lib64/python2.5/site-packages/gnuradio/audio_alsa.py”, line
219, in source
return _audio_alsa.source(*args)
RuntimeError: audio_alsa_source

Does anyone know how to solve it? I don’t quite understand.

Thanks in advance!


View this message in context:
http://www.nabble.com/RuntimeError%3A-audio_alsa_source-tp14307133p14307133.html
Sent from the GnuRadio mailing list archive at Nabble.com.

What is your OS, gnuradio version ?

Firas,

Brook L. wrote:

Tx amplitude 12000
File “./tx_voice.py”, line 121, in main
Does anyone know how to solve it? I don’t quite understand.

Thanks in advance!


View this message in context:
http://www.nabble.com/RuntimeError%3A-audio_alsa_source-tp14307133p14311258.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Hi Firas, I am using gnuradio3.1.1

Firas A. wrote:

I just ran tx_voice and rx_voice.And I wanted to transmit a music and
interp: 512
File “./tx_voice.py”, line 52, in init


View this message in context:
http://www.nabble.com/RuntimeError%3A-audio_alsa_source-tp14307133p14324398.html
Sent from the GnuRadio mailing list archive at Nabble.com.

What is your OS Type? (Fedora, Ubuntu, …)

Firas

Brook L. wrote:

Using TX d’board A: Basic Tx
main()

Does anyone know how to solve it? I don’t quite understand.

Thanks in advance!


View this message in context:
http://www.nabble.com/RuntimeError%3A-audio_alsa_source-tp14307133p14330316.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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