Re: Audio sink to "wire"

2024-06-05 Thread vitt...@pm.me
Hi Jakub and group!
IMO the simplest way to "redirect" audio sink, and that's the solution I 
usually use, use another USB sound card for WSJT-X with an "audio splitter" and 
“physical crossed cable”.
The audio splitter is only necessary if you want to monitor the audio.
No need for complicated settings, virtual audio cable, etc. etc.. fast and 
dirty!!! 

Enjoy 

Vittorio, I3VFJ



> Message: 5
> Date: Tue, 28 May 2024 06:58:18 +
> From: Šerých Jakub ser...@panska.cz
> 
> To: "discuss-gnuradio@gnu.org" discuss-gnuradio@gnu.org
> 
> Subject: Audio sink to "wire"
> Message-ID:
> paxp189mb167934066abe5023cef7e155dd...@paxp189mb1679.eurp189.prod.outlook.com
> 
> 
> Content-Type: text/plain; charset="iso-8859-2"
> 
> Hi,
> is there any simple way to redirect GNU radio Audio sink output to "wire" so 
> that it can be processed by some other software (e.g. WSJT-X)?
> 
> Thanks for any info
> 
> Jakub




Re: Audio sink to "wire"

2024-06-05 Thread Marcus Müller

Uff, please don't recommend such stunts :) This can be solved easily in 
software at zero cost.

If you're on a modern Linux, you use the pipewire audio system. Install `qpwgraph`, start 
WSJT-X and just use qwpgraph to connect the output of your GNU Radio flow graph to the 
input of your WSJT-X. (or vice versa, really!)


If you're using an older Linux distribution, you might still be using pulseaudio. No 
problem, you just 1. create a "black hole" audio sink, then 2. form a virtual microphone 
input from that:


1. |pactl load-module module-null-sink sink_name=cable_out 
sink_properties=device.description=cable_out|


2. |pactl load-module module-remap-source master=cable_out.monitor source_name=cable_in 
source_properties=device.description=cable_in|


You'd then use `cable_out` as device name in your GNU Radio Audio sink. That's 
it.

On Windows, I'm no expert, but there's many loopback ways. there's VB-Cable, which used to 
be a thing when I used WIndows the last time.


No expertise on Mac OS, but if something is Mac OS's thing, it's multimedia routing, so 
that should work. In no case should you spend money on an external sound card, and live 
with the quality loss of that!


Best regards,
Marcus


On 05.06.24 14:27, vitt...@pm.me wrote:

Hi Jakub and group!
IMO the simplest way to "redirect" audio sink, and that's the solution I usually use, use 
another USB sound card for WSJT-X with an "audio splitter" and “physical crossed cable”.
The audio splitter is only necessary if you want to monitor the audio.
No need for complicated settings, virtual audio cable, etc. etc.. fast and 
dirty!!!

Enjoy

Vittorio, I3VFJ




Message: 5
Date: Tue, 28 May 2024 06:58:18 +
From: Šerých jakubser...@panska.cz

To:"discuss-gnuradio@gnu.org"  discuss-gnuradio@gnu.org

Subject: Audio sink to "wire"
Message-ID:
paxp189mb167934066abe5023cef7e155dd...@paxp189mb1679.eurp189.prod.outlook.com


Content-Type: text/plain; charset="iso-8859-2"

Hi,
is there any simple way to redirect GNU radio Audio sink output to "wire" so 
that it can be processed by some other software (e.g. WSJT-X)?

Thanks for any info

Jakub


Re: Audio sink to "wire"

2024-06-05 Thread Kevin McQuiggin
Hi Jakub and Marcus:

On the Mac, use the BlackHole virtual audio driver.  It’s at 
https://github.com/ExistentialAudio/BlackHole.  You can create a virtual audio 
device and point WSJT-X at it for input, output, or both.  It works well and 
the developer is responsive to questions and suggestions.

Kevin


> On Jun 5, 2024, at 1:12 PM, Marcus Müller  wrote:
> 
> Uff, please don't recommend such stunts :) This can be solved easily in 
> software at zero cost.
> 
> If you're on a modern Linux, you use the pipewire audio system. Install 
> `qpwgraph`, start WSJT-X and just use qwpgraph to connect the output of your 
> GNU Radio flow graph to the input of your WSJT-X. (or vice versa, really!)
> 
> If you're using an older Linux distribution, you might still be using 
> pulseaudio. No problem, you just 1. create a "black hole" audio sink, then 2. 
> form a virtual microphone input from that:
> 
> 1. pactl load-module module-null-sink sink_name=cable_out 
> sink_properties=device.description=cable_out
> 
> 2. pactl load-module module-remap-source master=cable_out.monitor 
> source_name=cable_in source_properties=device.description=cable_in
> 
> You'd then use `cable_out` as device name in your GNU Radio Audio sink. 
> That's it.
> 
> On Windows, I'm no expert, but there's many loopback ways. there's VB-Cable, 
> which used to be a thing when I used WIndows the last time.
> 
> No expertise on Mac OS, but if something is Mac OS's thing, it's multimedia 
> routing, so that should work. In no case should you spend money on an 
> external sound card, and live with the quality loss of that!
> 
> Best regards,
> Marcus
> 
> 
> On 05.06.24 14:27, vitt...@pm.me  wrote:
>> Hi Jakub and group!
>> IMO the simplest way to "redirect" audio sink, and that's the solution I 
>> usually use, use another USB sound card for WSJT-X with an "audio splitter" 
>> and “physical crossed cable”.
>> The audio splitter is only necessary if you want to monitor the audio.
>> No need for complicated settings, virtual audio cable, etc. etc.. fast 
>> and dirty!!! 
>> 
>> Enjoy 
>> 
>> Vittorio, I3VFJ
>> 
>> 
>> 
>>> Message: 5
>>> Date: Tue, 28 May 2024 06:58:18 +
>>> From: Šerých Jakub ser...@panska.cz 
>>> 
>>> To: "discuss-gnuradio@gnu.org"  
>>> discuss-gnuradio@gnu.org 
>>> 
>>> Subject: Audio sink to "wire"
>>> Message-ID:
>>> paxp189mb167934066abe5023cef7e155dd...@paxp189mb1679.eurp189.prod.outlook.com
>>>  
>>> 
>>> 
>>> 
>>> Content-Type: text/plain; charset="iso-8859-2"
>>> 
>>> Hi,
>>> is there any simple way to redirect GNU radio Audio sink output to "wire" 
>>> so that it can be processed by some other software (e.g. WSJT-X)?
>>> 
>>> Thanks for any info
>>> 
>>> Jakub
>> 



Re: Discuss-gnuradio Digest, Vol 260, Issue 5

2024-06-05 Thread dave_abel
Under Linux, a simple approach is to use a loopback (essentially establish a 
Virtual Audio Cable).  The loopback is established by

sudo modprobe snd_aloop enable=1,1 index=10,11

The WJST-X audio input is then plughw:CARD=Loopback_1,DEV=1

and the GNU Radio audio sink device can be left as default.

However, if the intent is to use WSJT-X, there is some extra complexity.  
WSJT-X assumes it is communicating with a transceiver (a rig) and will look to 
check that the rig is configured consistently with what WSJT-X expects.  So you 
need another program that emulates a chosen type of transceiver (eg a Kenwood 
TS-2000) and responds to those WSJT-X checks.   Switching between Tx and Rx 
requires some similar complexity.

Dave

> 
> On ,Thu Jun 06 2024 02:00:06 GMT+1000 (Australian Eastern Standard Time),
>  wrote:
> 
> -- Original Message --
> 
> Send Discuss-gnuradio mailing list submissions to
> 
> discuss-gnuradio@gnu.org
> 
> To subscribe or unsubscribe via the World Wide
> Web, visit
>   https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> or,
> via email, send a message with subject or body 'help' to
> 
> discuss-gnuradio-requ...@gnu.org
> 
> You can reach the person managing the
> list at
>   discuss-gnuradio-ow...@gnu.org
> 
> When replying, please edit your
> Subject line so it is more specific
> than "Re: Contents of Discuss-gnuradio
> digest..."
> 
> 
> Today's Topics:
> 
>1. Re:  Audio sink to "wire"
> (vitt...@pm.me)
> 
> 
> --
> 
> Message: 1
> Date: Wed, 05 Jun 2024 12:27:25 +
> From: "vitt...@pm.me"
> 
> To: discuss-gnuradio@gnu.org
> Subject: Re:  Audio sink to
> "wire"
> Message-ID:
> 
> 
> Content-Type: text/plain; charset=utf-8
> 
> Hi Jakub and group!
> IMO the
> simplest way to "redirect" audio sink, and that's the solution I usually
> use, use another USB sound card for WSJT-X with an "audio splitter" and
> “physical crossed cable”.
> The audio splitter is only necessary if you want
> to monitor the audio.
> No need for complicated settings, virtual audio
> cable, etc. etc.. fast and dirty!!! 
> 
> Enjoy 
> 
> Vittorio, I3VFJ
> 
> 
> 
> >
> Message: 5
> > Date: Tue, 28 May 2024 06:58:18 +
> > From: Šerých Jakub
> ser...@panska.cz
> > 
> > To: "discuss-gnuradio@gnu.org"
> discuss-gnuradio@gnu.org
> > 
> > Subject: Audio sink to "wire"
> > Message-ID:
> >
> paxp189mb167934066abe5023cef7e155dd...@paxp189mb1679.eurp189.prod.outlook.com
> > 
> > 
> > Content-Type: text/plain; charset="iso-8859-2"
> > 
> > Hi,
> > is there
> any simple way to redirect GNU radio Audio sink output to "wire" so that
> it can be processed by some other software (e.g. WSJT-X)?
> > 
> > Thanks for
> any info
> > 
> > Jakub
> 
> 
> 
> 
> --
> 
> Subject: Digest
> Footer
> 
> ___
> Discuss-gnuradio
> mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 
> --
> 
> End of Discuss-gnuradio Digest, Vol 260,
> Issue 5
> 
> 
>