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

2019-08-26 Thread Michael Dickens
You're welcome, Chris. Try those changes & see if maybe that helps. I can generally switch between GR37 and GR38 easily, but right now I'm doing some GR38 CMake-related fixups & need it installed while doing so. Can't easily switch right now ... It is very possible that setting an ID for that

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

2019-08-26 Thread Chris Gorman
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

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

2019-08-26 Thread Michael Dickens
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

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

2019-08-26 Thread Chris Gorman
Hi Michael, Here's the original .grc file. Thanks for your help. Chris On Mon, Aug 26, 2019 at 1:19 PM Michael Dickens wrote: > > Can you send me the original GRC flowgraph too? I know you modified the > output Python, but it might be useful. Also: I'm trying to use GR38 (just > because)

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

2019-08-26 Thread Michael Dickens
Can you send me the original GRC flowgraph too? I know you modified the output Python, but it might be useful. Also: I'm trying to use GR38 (just because) ... so seeing what Python it generates will be useful. Thx! - MLD On Mon, Aug 26, 2019, at 11:13 AM, Chris Gorman wrote: > Hi Michael, > >

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

2019-08-26 Thread Chris Gorman
Hi Michael, Thanks for looking at this for me. I'm using gnuradio-3.7.13.5 on ubuntu 18.04. Chris On Mon, Aug 26, 2019 at 11:05 AM Michael Dickens wrote: > > OK good to know, Chris. Can you send me the latest version of your test > script as an attachment? I'll give it a go & see what

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

2019-08-26 Thread Barry Duggan
Hi Chris, You might try 'pavucontrol' as suggested to me by Kyeong Su Shin. Since you are operating outside the GRC environment, it might help. Also, I would compare the Python code generated by GRC with your modified code to see areas which address the audio. Good luck, --- Barry Duggan

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

2019-08-26 Thread Michael Dickens
Just FYI that ALSA is Linux-specific. Chris: Did you verify that audio output is working at all on your system? If so, then have you worked out why it's not working in your flowgraph? If not, let us know of any changes to it since you posted last & we'll see what we can do. - MLD On Mon, Aug

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

2019-08-26 Thread Chris Gorman
Hi Barry, Thanks for your time and expertise. I should have been more verbose in my email. I can get sound out of my code when I use the gnuradio-companion program, but not when I run the snippet I gave you. The purpose of the hacked code is to try to tie a 4x4 Qt.PushButton to the various

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

2019-08-26 Thread Barry Duggan
Hi Chris, You didn't mention your OS or your platform, but this works for a Linux system: Using a terminal screen, enter 'aplay -L' Here is an excerpt from my Raspberry Pi: """ default:CARD=ALSA bcm2835 ALSA, bcm2835 ALSA Default Audio Device hw:CARD=ALSA,DEV=1 bcm2835 ALSA,

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

2019-08-25 Thread Chris Gorman
Hello All, I have been hacking at a python script with an attempt to pass two frequencies to be added to audio sink. I can't seem to get any sound out of the sound card, though. When I run the script I get "gr::log :INFO: audio source - Audio sink arch: alsa". The script follows. My python