[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] RuntimeError: audio_alsa_source
From: |
Firas A. |
Subject: |
Re: [Discuss-gnuradio] RuntimeError: audio_alsa_source |
Date: |
Fri, 14 Dec 2007 13:03:58 -0800 (PST) |
Hi,
use "plughw:0,0" as the default audio sink device as explained in :
http://www.nabble.com/Audio-Sink-Help-to10675997.html#a10690757
http://www.nabble.com/GNURadio-Example-Suggestions-to2888951.html#a2920566
Firas,
Brook Lin wrote:
>
> I am running gnuradio3.1.1 on 64-bit machine, using Fedora7
> I also tried to run: $ rpm -qa | grep alsa , and the output is below:
> alsa-utils-1.0.14-0.5.rc2.fc7
> alsa-lib-devel-1.0.14-3.fc7
> alsa-lib-1.0.14-0.4.rc3.fc7
> python-alsa-1.0.14-1.fc7
> alsa-lib-devel-1.0.14-3.fc7
> python-alsaaudio-0.2-2.fc7
> alsa-lib-1.0.14-0.4.rc3.fc7
>
> Do you know why I have this RuntimeError? Thanks!
>
>
> Brook Lin wrote:
>>
>> 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 <module>
>> 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-tp14307133p14339798.html
Sent from the GnuRadio mailing list archive at Nabble.com.