discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] unable to get sound from alsa sink


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] unable to get sound from alsa sink
Date: Mon, 26 Aug 2019 13:43:06 -0400
User-agent: Cyrus-JMAP/3.1.6-916-g49fca03-fmstable-20190821v7

Hi Chris - A few comments, more than anything else:

* You're generating 2 sinusoids then pushing them directly into the audio sink. 
You're not guaranteed that the audio sink can support 2 input channels, even if 
it seem to be able to. If the audio sink is working, it will always support at 
least 1 channel.

==> Use an "add" block to sum them into a single audio stream.

* The sinusoids are at 0.5 amplitude ... which may or not be enough for your 
specific audio system.

==> Add a "Multiply Const" block to get the levels audible. (or 2 of them if 
you insist on using 2 audio streams). Use a Qt GUI Range slider set between 0.0 
and 1.0 to set the gain for any Multiple Const block in use.

* At least in my testing, the buttons in the top don't work, but some of the 
radio buttons do. Note that the "no tone 0 Hz" seems to be the same as "1209 
Hz" ... note that Audio -does- come out for me using the GRC script.

Since I'm currently using GR38 & your Python script is for GR37, it's 
non-trivial to get the Python script going ... so, hope this helps! - MLD

On Mon, Aug 26, 2019, at 1:22 PM, Chris Gorman wrote:
> Hi Michael,
> 
> Here's the original .grc file.  Thanks for your help.
> 
> Chris



reply via email to

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