[Top][All Lists]

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

[Discuss-gnuradio] Audio source cannot use 2 outputs (Stereo) in windows

From: Gary.Simpkins
Subject: [Discuss-gnuradio] Audio source cannot use 2 outputs (Stereo) in windows
Date: Fri, 3 May 2019 23:14:54 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi Marcus and anyone who can help.

I have double checked  and  all the windows audio devices I have used for the audio source are 2 channels.

They work fine with  WSJT-X, or MAP65.

The stereo channels I wish to use are the I and Q outputs from my SDRPLay Duo using virtual cables

(I have tried the speaker outputs from the PC with GNURadio audio source and get the same problem)

Does the audio source work with two channels on linux?

I am using the latest version of GNURadio on a 64bit win 10 PC.

I am really stuck here. Nothing I try allows the second output to be enabled.



On 02/05/2019 10:00, Müller, Marcus (CEL) wrote:
Hi Gary, since we acutely changed things in the Windows audio sink:
What's your version of GNU Radio?

Generally, Windows seems to be of the conviction that the audio device
you're trying to record from only has one, not two channels.

Best regards,

On Thu, 2019-05-02 at 08:53 +0100, Gary.Simpkins wrote:
Hi. Anyone who can help.

Try as I may I cannot get a second port working using the audio source

When I set the number of outputs to 2 for stereo (as in the
documentation) I get the error below.

File "C:\Users\Gary\Documents\top_block.py", line 109, in <module>
    File "C:\Users\Gary\Documents\top_block.py", line 97, in main
      tb = top_block_cls()
    File "C:\Users\Gary\Documents\top_block.py", line 75, in __init__
      self.connect((self.audio_source_0, 1), (self.audio_sink_1, 0))
    File "C:\GNURadio-3.7\lib\site-packages\gnuradio\gr\hier_block2.py",
line 47, in wrapped
      func(self, src, src_port, dst, dst_port)
    File "C:\GNURadio-3.7\lib\site-packages\gnuradio\gr\hier_block2.py",
line 110, in connect
    File "C:\GNURadio-3.7\lib\site-packages\gnuradio\gr\runtime_swig.py",
line 5312, in primitive_connect
      return _runtime_swig.top_block_sptr_primitive_connect(self, *args)
ValueError: port number 1 exceeds max of 0

Am I missing something?


Discuss-gnuradio mailing list

reply via email to

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