discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] How to specify Audio Source device_name?


From: Cinaed Simson
Subject: Re: [Discuss-gnuradio] How to specify Audio Source device_name?
Date: Wed, 21 Sep 2016 01:22:48 -0700
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 09/20/2016 11:23 PM, Paul Zander wrote:
> First, I want to thank the group for the wonderful tutorials on GNU
> Radio Companion.
> 
> My problem needs to use an external signal as the Audio Source. GNURadio
> defaults to using the microphone in the laptop. I added an external
> USB/audio device to connect the external signal.
> 
> After unsuccessfully trying several other ways to run GNUradio, I
> downloaded ubuntu-14.04.5-desktop-amd64-gnuradio-3.7.10.1.iso and am
> running it “live” off a USB stick.

Type

  groups

You should be member of pulse, pulse-access, and audio at the minimum.

> 
> When the USB dongle is installed,
> `arecord -l`
> 
>     ...
>     card 1: Device [C-Media USB Audio Device], device 0: USB Audio [USB
>     Audio]
>     Subdevices: 1/1
>     Subdevice #0: subdevice #0
> 
> Also there is a device /dev/hidraw1.
> 
> So the system recognizes the device when it is present.
> 
> The documentation for Audio Source says:
> 
>     The specific audio device to use can be specified as the device_name
>     parameter. Typical choices are:
>     - pulse, hw:0,0, plughw:0,0, surround51, /dev/dsp
> 
> 
> Well, I have tried every variation of the above I and think of. No entry
> and “pulse” use the internal microphone. Everything else returns:
> RuntimeError: audio_alsa_source

Are hw:1,0 or plughw:1,0 ones you thought of?

In any case, pulseaudio is probably controlling the device. Under
Multimedia, start PulseAudio Volume Control and click on the device it
displays and it should drop down a menu with both devices. Select the
device you want.

Confirm the device actually works.

> 
> I repeated the identical results on a different computer running Debian
> testing (aka squeeze) and GRC 3.7.10
> 
> Google could not find any helpful information for this error message.
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]