More Questions

I am relatively new to gnuradio - I’ve been trying to get everything up
an running - after long vacation - I’m back at it. I’m struggling with
the “sound” part of it.

I’m running FC5 on a compact computer with an nvidia sound card. I am
following the instructions given in wiki for FC5 build (did most recent
last night)

gr-audio-oss seemed to configure and build along with most everything
else. When I run dial_tone.py - I get a dial tone out of speakers -

When I run, usrp_wfm_rcv.py, with -f 107.9M (Boston area FM station) - I
get indication of signal - demodulation seems to function - but nothing
out of speakers - not even white noise. Seems like an issue with the
audio sink or something. Any idea where I should be looking for the
problem?

Thanks

Doug

Carlson, Douglas wrote:

When I run, usrp_wfm_rcv.py, with ?f 107.9M (Boston area FM station) ?
I get indication of signal ? demodulation seems to function ? but
nothing out of speakers ? not even white noise. Seems like an issue
with the audio sink or something. Any idea where I should be looking
for the problem?

gr-audio-alsa is the preferred sound driver.

If audio works in dial_tone.py then it should work in the other app
unless your soundcard doesn’t support the sample rate it uses (32K). Try
using the following option on the command line:

-O plughw:0.0

This enables the alsa audio rate resampler.

Matt

at least now I have errors…

When I run with ?O plughw:0.0 I get:

?
[[email protected] usrp]# ./usrp_wfm_rcv.py -R A -f 102.5M -O plughw:0.0
Using
RX d’board A: TV Rx Rev 3

gr_fir_ccf: using 3DNow!
gr_fir_fff: using 3DNow!
audio_oss_sink: plughw:0.0: No such file or directory Traceback (most
recent
call last):
File “./usrp_wfm_rcv.py”, line 268, in ?
app = stdgui.stdapp (wfm_rx_graph, “USRP WFM RX”)
File
“/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py”, line
36,
in init
wx.App.init (self, redirect=False)
File
“/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py”, line
7700, in init
self._BootstrapApp()
File
“/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py”, line
7352, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File
“/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py”, line
39,
in OnInit
frame = stdframe (self.flow_graph_maker, self.title, self._nstatus)
File
“/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py”, line
60,
in init
self.panel = stdpanel (self, self, flow_graph_maker)
File
“/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py”, line
81,
in init
self.fg = flow_graph_maker (frame, self, vbox, sys.argv)
File “./usrp_wfm_rcv.py”, line 93, in init
False) # ok_to_block
File “/usr/local/lib/python2.4/site-packages/gnuradio/audio_oss.py”,
line 218, in sink
return _audio_oss.sink(*args)
RuntimeError: std::runtime_error

Seems to be some issue with audio_oss???

I did note that gr-audio-alsa did not configure or build, so, I when
back
and:

./configure ?-disable-all-components ?-enable-gr-audio-alsa

I get the following error at the end of the configure

?checking for alsa >= 0.9 … gr-audio-alsa requires package alsa, not
found.

Configure: error: component gr-audio-alsa has errors, stopping

When I try to install:

alsa-lib-1.0.11-3.rc2.2.i386.rpm

With rpm ?Uhv , I get the message that alsa-lib-1.0.11-4.rc2 is already
installed - infact, I’ve got alsa-lib-devel and alsa-util installed also

What am I missing ? what more do I need?

Doug

Matt E. wrote:


Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


View this message in context:
http://www.nabble.com/More-Questions-tf2306914.html#a6507665
Sent from the GnuRadio mailing list archive at Nabble.com.

You need to install gr-audio-alsa to use this.

Matt

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