Re: [Discuss-gnuradio] Loop Bandwidth values and other Synchronization block values

2019-08-26 Thread Qasim Chaudhari
Hi Ido The nature of your questions imply that their answers need to be long and probably it is best to find them in books. I would suggest the following two resources. 1. Phase-Locked Loops by R. Best 2. Digital Communication - A Discrete Time Approach by M. Rice I will just give short a

Re: [Discuss-gnuradio] How to Share Modules with Coworkers

2019-08-26 Thread Michael Dickens
Hi Dylan - If you have access to a GR OOT module (e.g., "gr-example"), then you can try to build it directly on your host computer ... as it sounds like you're trying to do ... but without much success as it sounds like accessing GR libraries for linking isn't working well. Which version of GR

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 wi

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 leas

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, > > T

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 happens

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 O

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 2

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 frequ

Re: [Discuss-gnuradio] How to Share Modules with Coworkers

2019-08-26 Thread Barry Duggan
Hi Dylan, What I am suggesting is the following: 1) Your coworker creates an Out Of Tree module following the tutorial https://wiki.gnuradio.org/index.php/OutOfTreeModules. Once the module has been built and installed, it will be available on gnuradio-companion on his computer. 2) Your cowo

[Discuss-gnuradio] OFDM frame detection

2019-08-26 Thread farid mihoub
Hello, In the OFDM examples in gr-digital, for the packet detection blocks (Schmidt and Cox, Freq Mod and Delay), how to better choose the parameters  for different FFT lengths. the problem I have to figure out that manually.   Thank you.  ___ Discuss-gn

Re: [Discuss-gnuradio] How to Share Modules with Coworkers

2019-08-26 Thread Dylan Overstreet via Discuss-gnuradio
Barry, Thank you for responding to me. This does not solve my issue unfortunately. I know how to share code for viewing/editing using Git, but this does not install the module in GNU Radio Companion so that we can both use the module separately on our machines. If anyone can explain how to in

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, bcm2