alsa sound module snd_aloop

Clash Royale CLAN TAG#URR8PPP
I am having some trouble wrapping my head around the snd_aloop module.
I am trying to route all my audio through alsa without using pulseaudio. If I start jackd there's not sound from non alsa apps but things like rhythmbox or any other native jack supported software works just fine.
The main reason is that I do mostly audio editing but I listen to videos online as well.
I was reading that I can use the alsa snd_aloop module to setup virtual hw that I can route my non jack away apps audio through to get things to play nicely with jack via the alsa_in and alsa_out mechanism.
i've read quite a few tutorials like this one, this one looked over a lot of the documentation here and here as well.
The part that is most confusing to me is the loopback setup and the way alsa_in and alsa_out works.
For example with the snd_aloop module there's 2 devices with 8 subdevices
my aplay-l looks like this
**** List of PLAYBACK Hardware Devices ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: CS4208 Digital [CS4208 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
if I try to setup my system like this:
#jack capture and playback
pcm.jack_capture_1
type plug
slave.pcm "hw:Loopback,0,0"
pcm.jack_playback_1
type plug
slave.pcm "hw:Loopback,0,1"
#alsa capture and playback
pcm.alsa_input_1
type plug
slave.pcm "hw:Loopback,1,0"
pcm.alsa_output_1
type plug
slave.pcm "hw:Loopback,1,1"
#playback devices
pcm.jack_audio_1
type asym
playback.pcm "jack_playback_1"
capture.pcm "jack_capture_1"
then do alsa_out -j "playback" -d jack_audio_1 sound.wav
I still get no output even after making the connections in the jack routing map.
My questions:
Looking at my setup I have the
loopback jack_capture_1 tied to hw:0,0
loopback jack_playback_1 tied to hw:0,1
that means any sound sent to jack_capture_1 should be echo out of jack_playback_1 is that correct?
also is the
alsa_in is the the alsa audio stream that'll go into the jack session while
alsa_out is the alsa audio stream that jack outputs after it finishes?
I have been reading everything that I can on the snd_aloop but even their official documentation seems a bit lacking.
Can someone help me sort this out?
audio alsa jack
add a comment |
I am having some trouble wrapping my head around the snd_aloop module.
I am trying to route all my audio through alsa without using pulseaudio. If I start jackd there's not sound from non alsa apps but things like rhythmbox or any other native jack supported software works just fine.
The main reason is that I do mostly audio editing but I listen to videos online as well.
I was reading that I can use the alsa snd_aloop module to setup virtual hw that I can route my non jack away apps audio through to get things to play nicely with jack via the alsa_in and alsa_out mechanism.
i've read quite a few tutorials like this one, this one looked over a lot of the documentation here and here as well.
The part that is most confusing to me is the loopback setup and the way alsa_in and alsa_out works.
For example with the snd_aloop module there's 2 devices with 8 subdevices
my aplay-l looks like this
**** List of PLAYBACK Hardware Devices ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: CS4208 Digital [CS4208 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
if I try to setup my system like this:
#jack capture and playback
pcm.jack_capture_1
type plug
slave.pcm "hw:Loopback,0,0"
pcm.jack_playback_1
type plug
slave.pcm "hw:Loopback,0,1"
#alsa capture and playback
pcm.alsa_input_1
type plug
slave.pcm "hw:Loopback,1,0"
pcm.alsa_output_1
type plug
slave.pcm "hw:Loopback,1,1"
#playback devices
pcm.jack_audio_1
type asym
playback.pcm "jack_playback_1"
capture.pcm "jack_capture_1"
then do alsa_out -j "playback" -d jack_audio_1 sound.wav
I still get no output even after making the connections in the jack routing map.
My questions:
Looking at my setup I have the
loopback jack_capture_1 tied to hw:0,0
loopback jack_playback_1 tied to hw:0,1
that means any sound sent to jack_capture_1 should be echo out of jack_playback_1 is that correct?
also is the
alsa_in is the the alsa audio stream that'll go into the jack session while
alsa_out is the alsa audio stream that jack outputs after it finishes?
I have been reading everything that I can on the snd_aloop but even their official documentation seems a bit lacking.
Can someone help me sort this out?
audio alsa jack
For testing, use justaplayandarecordto check whether the loopback devices work correctly.
– CL.
Dec 27 '15 at 13:15
add a comment |
I am having some trouble wrapping my head around the snd_aloop module.
I am trying to route all my audio through alsa without using pulseaudio. If I start jackd there's not sound from non alsa apps but things like rhythmbox or any other native jack supported software works just fine.
The main reason is that I do mostly audio editing but I listen to videos online as well.
I was reading that I can use the alsa snd_aloop module to setup virtual hw that I can route my non jack away apps audio through to get things to play nicely with jack via the alsa_in and alsa_out mechanism.
i've read quite a few tutorials like this one, this one looked over a lot of the documentation here and here as well.
The part that is most confusing to me is the loopback setup and the way alsa_in and alsa_out works.
For example with the snd_aloop module there's 2 devices with 8 subdevices
my aplay-l looks like this
**** List of PLAYBACK Hardware Devices ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: CS4208 Digital [CS4208 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
if I try to setup my system like this:
#jack capture and playback
pcm.jack_capture_1
type plug
slave.pcm "hw:Loopback,0,0"
pcm.jack_playback_1
type plug
slave.pcm "hw:Loopback,0,1"
#alsa capture and playback
pcm.alsa_input_1
type plug
slave.pcm "hw:Loopback,1,0"
pcm.alsa_output_1
type plug
slave.pcm "hw:Loopback,1,1"
#playback devices
pcm.jack_audio_1
type asym
playback.pcm "jack_playback_1"
capture.pcm "jack_capture_1"
then do alsa_out -j "playback" -d jack_audio_1 sound.wav
I still get no output even after making the connections in the jack routing map.
My questions:
Looking at my setup I have the
loopback jack_capture_1 tied to hw:0,0
loopback jack_playback_1 tied to hw:0,1
that means any sound sent to jack_capture_1 should be echo out of jack_playback_1 is that correct?
also is the
alsa_in is the the alsa audio stream that'll go into the jack session while
alsa_out is the alsa audio stream that jack outputs after it finishes?
I have been reading everything that I can on the snd_aloop but even their official documentation seems a bit lacking.
Can someone help me sort this out?
audio alsa jack
I am having some trouble wrapping my head around the snd_aloop module.
I am trying to route all my audio through alsa without using pulseaudio. If I start jackd there's not sound from non alsa apps but things like rhythmbox or any other native jack supported software works just fine.
The main reason is that I do mostly audio editing but I listen to videos online as well.
I was reading that I can use the alsa snd_aloop module to setup virtual hw that I can route my non jack away apps audio through to get things to play nicely with jack via the alsa_in and alsa_out mechanism.
i've read quite a few tutorials like this one, this one looked over a lot of the documentation here and here as well.
The part that is most confusing to me is the loopback setup and the way alsa_in and alsa_out works.
For example with the snd_aloop module there's 2 devices with 8 subdevices
my aplay-l looks like this
**** List of PLAYBACK Hardware Devices ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: CS4208 Digital [CS4208 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
if I try to setup my system like this:
#jack capture and playback
pcm.jack_capture_1
type plug
slave.pcm "hw:Loopback,0,0"
pcm.jack_playback_1
type plug
slave.pcm "hw:Loopback,0,1"
#alsa capture and playback
pcm.alsa_input_1
type plug
slave.pcm "hw:Loopback,1,0"
pcm.alsa_output_1
type plug
slave.pcm "hw:Loopback,1,1"
#playback devices
pcm.jack_audio_1
type asym
playback.pcm "jack_playback_1"
capture.pcm "jack_capture_1"
then do alsa_out -j "playback" -d jack_audio_1 sound.wav
I still get no output even after making the connections in the jack routing map.
My questions:
Looking at my setup I have the
loopback jack_capture_1 tied to hw:0,0
loopback jack_playback_1 tied to hw:0,1
that means any sound sent to jack_capture_1 should be echo out of jack_playback_1 is that correct?
also is the
alsa_in is the the alsa audio stream that'll go into the jack session while
alsa_out is the alsa audio stream that jack outputs after it finishes?
I have been reading everything that I can on the snd_aloop but even their official documentation seems a bit lacking.
Can someone help me sort this out?
audio alsa jack
audio alsa jack
asked Dec 25 '15 at 5:16
user1610950user1610950
4291414
4291414
For testing, use justaplayandarecordto check whether the loopback devices work correctly.
– CL.
Dec 27 '15 at 13:15
add a comment |
For testing, use justaplayandarecordto check whether the loopback devices work correctly.
– CL.
Dec 27 '15 at 13:15
For testing, use just
aplay and arecord to check whether the loopback devices work correctly.– CL.
Dec 27 '15 at 13:15
For testing, use just
aplay and arecord to check whether the loopback devices work correctly.– CL.
Dec 27 '15 at 13:15
add a comment |
1 Answer
1
active
oldest
votes
A bit late with the answer but maybe someone finds this helpful ;)
/etc/modprobe.d/alsa.conf
alias snd-card-8 snd-aloop
options snd_aloop index=8 id=loop0 enable=1
/etc/asound.conf
#### Linrad ####
pcm.loop0_0_0
type plug
slave
pcm "hw:loop0,0,0"
format FLOAT_LE
rate 96000
pcm.linrad_alsa
type asym
playback.pcm "loop0_0_0"
capture.pcm "loop0_0_0"
hint
show on
description "Linrad: ALSA"
pcm.loop0_1_0
type plug
slave
pcm "hw:loop0,1,0"
format FLOAT_LE
rate 96000
pcm.linrad_jack
type asym
playback.pcm "loop0_1_0"
capture.pcm "loop0_1_0"
hint
show on
description "Linrad: JACK"
#### WSJTX ####
pcm.loop0_0_1
type plug
slave
pcm "hw:loop0,0,1"
format FLOAT_LE
rate 96000
pcm.wsjtx_alsa
type asym
playback.pcm "loop0_0_1"
capture.pcm "loop0_0_1"
hint
show on
description "WSJTX: ALSA"
pcm.loop0_1_1
type plug
slave
pcm "hw:loop0,1,1"
format FLOAT_LE
rate 96000
pcm.wsjtx_jack
type asym
playback.pcm "loop0_1_1"
capture.pcm "loop0_1_1"
hint
show on
description "WSJTX: JACK"
....
And for the piping to jack something like this (placed in a shell script that runs after jackd starts)
alsa_in -j "WSJTX source" -d wsjtx_jack -q 1 &> /dev/null &
alsa_out -j "WSJTX sink" -d wsjtx_jack -q 1 &> /dev/null &
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f251454%2falsa-sound-module-snd-aloop%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
A bit late with the answer but maybe someone finds this helpful ;)
/etc/modprobe.d/alsa.conf
alias snd-card-8 snd-aloop
options snd_aloop index=8 id=loop0 enable=1
/etc/asound.conf
#### Linrad ####
pcm.loop0_0_0
type plug
slave
pcm "hw:loop0,0,0"
format FLOAT_LE
rate 96000
pcm.linrad_alsa
type asym
playback.pcm "loop0_0_0"
capture.pcm "loop0_0_0"
hint
show on
description "Linrad: ALSA"
pcm.loop0_1_0
type plug
slave
pcm "hw:loop0,1,0"
format FLOAT_LE
rate 96000
pcm.linrad_jack
type asym
playback.pcm "loop0_1_0"
capture.pcm "loop0_1_0"
hint
show on
description "Linrad: JACK"
#### WSJTX ####
pcm.loop0_0_1
type plug
slave
pcm "hw:loop0,0,1"
format FLOAT_LE
rate 96000
pcm.wsjtx_alsa
type asym
playback.pcm "loop0_0_1"
capture.pcm "loop0_0_1"
hint
show on
description "WSJTX: ALSA"
pcm.loop0_1_1
type plug
slave
pcm "hw:loop0,1,1"
format FLOAT_LE
rate 96000
pcm.wsjtx_jack
type asym
playback.pcm "loop0_1_1"
capture.pcm "loop0_1_1"
hint
show on
description "WSJTX: JACK"
....
And for the piping to jack something like this (placed in a shell script that runs after jackd starts)
alsa_in -j "WSJTX source" -d wsjtx_jack -q 1 &> /dev/null &
alsa_out -j "WSJTX sink" -d wsjtx_jack -q 1 &> /dev/null &
add a comment |
A bit late with the answer but maybe someone finds this helpful ;)
/etc/modprobe.d/alsa.conf
alias snd-card-8 snd-aloop
options snd_aloop index=8 id=loop0 enable=1
/etc/asound.conf
#### Linrad ####
pcm.loop0_0_0
type plug
slave
pcm "hw:loop0,0,0"
format FLOAT_LE
rate 96000
pcm.linrad_alsa
type asym
playback.pcm "loop0_0_0"
capture.pcm "loop0_0_0"
hint
show on
description "Linrad: ALSA"
pcm.loop0_1_0
type plug
slave
pcm "hw:loop0,1,0"
format FLOAT_LE
rate 96000
pcm.linrad_jack
type asym
playback.pcm "loop0_1_0"
capture.pcm "loop0_1_0"
hint
show on
description "Linrad: JACK"
#### WSJTX ####
pcm.loop0_0_1
type plug
slave
pcm "hw:loop0,0,1"
format FLOAT_LE
rate 96000
pcm.wsjtx_alsa
type asym
playback.pcm "loop0_0_1"
capture.pcm "loop0_0_1"
hint
show on
description "WSJTX: ALSA"
pcm.loop0_1_1
type plug
slave
pcm "hw:loop0,1,1"
format FLOAT_LE
rate 96000
pcm.wsjtx_jack
type asym
playback.pcm "loop0_1_1"
capture.pcm "loop0_1_1"
hint
show on
description "WSJTX: JACK"
....
And for the piping to jack something like this (placed in a shell script that runs after jackd starts)
alsa_in -j "WSJTX source" -d wsjtx_jack -q 1 &> /dev/null &
alsa_out -j "WSJTX sink" -d wsjtx_jack -q 1 &> /dev/null &
add a comment |
A bit late with the answer but maybe someone finds this helpful ;)
/etc/modprobe.d/alsa.conf
alias snd-card-8 snd-aloop
options snd_aloop index=8 id=loop0 enable=1
/etc/asound.conf
#### Linrad ####
pcm.loop0_0_0
type plug
slave
pcm "hw:loop0,0,0"
format FLOAT_LE
rate 96000
pcm.linrad_alsa
type asym
playback.pcm "loop0_0_0"
capture.pcm "loop0_0_0"
hint
show on
description "Linrad: ALSA"
pcm.loop0_1_0
type plug
slave
pcm "hw:loop0,1,0"
format FLOAT_LE
rate 96000
pcm.linrad_jack
type asym
playback.pcm "loop0_1_0"
capture.pcm "loop0_1_0"
hint
show on
description "Linrad: JACK"
#### WSJTX ####
pcm.loop0_0_1
type plug
slave
pcm "hw:loop0,0,1"
format FLOAT_LE
rate 96000
pcm.wsjtx_alsa
type asym
playback.pcm "loop0_0_1"
capture.pcm "loop0_0_1"
hint
show on
description "WSJTX: ALSA"
pcm.loop0_1_1
type plug
slave
pcm "hw:loop0,1,1"
format FLOAT_LE
rate 96000
pcm.wsjtx_jack
type asym
playback.pcm "loop0_1_1"
capture.pcm "loop0_1_1"
hint
show on
description "WSJTX: JACK"
....
And for the piping to jack something like this (placed in a shell script that runs after jackd starts)
alsa_in -j "WSJTX source" -d wsjtx_jack -q 1 &> /dev/null &
alsa_out -j "WSJTX sink" -d wsjtx_jack -q 1 &> /dev/null &
A bit late with the answer but maybe someone finds this helpful ;)
/etc/modprobe.d/alsa.conf
alias snd-card-8 snd-aloop
options snd_aloop index=8 id=loop0 enable=1
/etc/asound.conf
#### Linrad ####
pcm.loop0_0_0
type plug
slave
pcm "hw:loop0,0,0"
format FLOAT_LE
rate 96000
pcm.linrad_alsa
type asym
playback.pcm "loop0_0_0"
capture.pcm "loop0_0_0"
hint
show on
description "Linrad: ALSA"
pcm.loop0_1_0
type plug
slave
pcm "hw:loop0,1,0"
format FLOAT_LE
rate 96000
pcm.linrad_jack
type asym
playback.pcm "loop0_1_0"
capture.pcm "loop0_1_0"
hint
show on
description "Linrad: JACK"
#### WSJTX ####
pcm.loop0_0_1
type plug
slave
pcm "hw:loop0,0,1"
format FLOAT_LE
rate 96000
pcm.wsjtx_alsa
type asym
playback.pcm "loop0_0_1"
capture.pcm "loop0_0_1"
hint
show on
description "WSJTX: ALSA"
pcm.loop0_1_1
type plug
slave
pcm "hw:loop0,1,1"
format FLOAT_LE
rate 96000
pcm.wsjtx_jack
type asym
playback.pcm "loop0_1_1"
capture.pcm "loop0_1_1"
hint
show on
description "WSJTX: JACK"
....
And for the piping to jack something like this (placed in a shell script that runs after jackd starts)
alsa_in -j "WSJTX source" -d wsjtx_jack -q 1 &> /dev/null &
alsa_out -j "WSJTX sink" -d wsjtx_jack -q 1 &> /dev/null &
answered Jun 20 '18 at 13:09
DraganDragan
112
112
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f251454%2falsa-sound-module-snd-aloop%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
For testing, use just
aplayandarecordto check whether the loopback devices work correctly.– CL.
Dec 27 '15 at 13:15