Monday, August 26, 2019

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

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

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment