[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] unable to get sound from alsa sink
From: |
Chris Gorman |
Subject: |
Re: [Discuss-gnuradio] unable to get sound from alsa sink |
Date: |
Mon, 26 Aug 2019 14:09:24 -0400 |
Hi Michael,
Thanks for your input. I will change the grc script as you suggested.
This may not solve my issue explicitly, but I want to learn gnuradio
so everything helps. I have been running gnuradio 3.7 mostly because
I have seen everyone's scripts use WX widgets and I found it easier to
port them to QT via 3.7. Perhaps I should upgrade, but I found a
small bug in 3.9 when I was using it. (I couldn't get and 'ID' for my
'QT GUI Tab Widget' so I could use ID@0, ID@1, ... with the my other
QT GUI widgets and place them into tabs. I emailed the list, but
didn't file a bug report and my email wasn't very verbose. Sorry. I
ran a git rev-list to try to get an id as to be able to log the error.
'git rev-list --count HEAD' gave me 13291. Not sure if this will help
you track it.)
Thanks again and take care,
Chris
On Mon, Aug 26, 2019 at 1:43 PM Michael Dickens
<address@hidden> wrote:
>
> 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] unable to get sound from alsa sink, Chris Gorman, 2019/08/25
- Re: [Discuss-gnuradio] unable to get sound from alsa sink, Barry Duggan, 2019/08/26
- Re: [Discuss-gnuradio] unable to get sound from alsa sink, Chris Gorman, 2019/08/26
- Re: [Discuss-gnuradio] unable to get sound from alsa sink, Michael Dickens, 2019/08/26
- Message not available
- Message not available
- Re: [Discuss-gnuradio] unable to get sound from alsa sink, Chris Gorman, 2019/08/26
- Re: [Discuss-gnuradio] unable to get sound from alsa sink, Michael Dickens, 2019/08/26
- Re: [Discuss-gnuradio] unable to get sound from alsa sink, Chris Gorman, 2019/08/26
- Re: [Discuss-gnuradio] unable to get sound from alsa sink, Michael Dickens, 2019/08/26
- Re: [Discuss-gnuradio] unable to get sound from alsa sink,
Chris Gorman <=
- Re: [Discuss-gnuradio] unable to get sound from alsa sink, Michael Dickens, 2019/08/26