Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
Moderators: MattKingUSA, khz
Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
I don't have Scarlett Solo, but I am considering buying one.
Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
If I could, I could flip mute status of monitor output and line output in alsamixer so that only one of them is mute at any moment.
This way, I can make it switch between speakers and headphones with a keyboard shortcut.
Can I do that?
Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
If I could, I could flip mute status of monitor output and line output in alsamixer so that only one of them is mute at any moment.
This way, I can make it switch between speakers and headphones with a keyboard shortcut.
Can I do that?
- bluebell
- Established Member
- Posts: 1910
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 111 times
- Been thanked: 116 times
Re: Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
No. The Scarletts Solo, 2i2 and 2i4 don't have a builtin mixer/volume that can be controlled by the computer.
The 2i4 has 4 outputs so you could mute them with a software mixer, e.g. jack-mixer. Headphones can be assigned with a hardware switch to 1+2 or 3+4.
The 2i4 has 4 outputs so you could mute them with a software mixer, e.g. jack-mixer. Headphones can be assigned with a hardware switch to 1+2 or 3+4.
- Assign headphones to 1+2 and speakers to 3+4
- Connect your DAW to jack_mixer, use 2 output channels
- Connect one output channel to 1+2, the other to 3+4
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
Re: Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
What is jack_mixer? Is it a JACK application? I'd like to avoid JACK because it is not supported by web browsers. A bridge between ALSA and JACK introduces pops. I don't like it.bluebell wrote:No. The Scarletts Solo, 2i2 and 2i4 don't have a builtin mixer/volume that can be controlled by the computer.
The 2i4 has 4 outputs so you could mute them with a software mixer, e.g. jack-mixer. Headphones can be assigned with a hardware switch to 1+2 or 3+4.
Now you can mute headphones or speakers.
- Assign headphones to 1+2 and speakers to 3+4
- Connect your DAW to jack_mixer, use 2 output channels
- Connect one output channel to 1+2, the other to 3+4
- bluebell
- Established Member
- Posts: 1910
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 111 times
- Been thanked: 116 times
Re: Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
Sure, jack_mixer is a nice jack application.crocket wrote:What is jack_mixer? Is it a JACK application? I'd like to avoid JACK because it is not supported by web browsers. A bridge between ALSA and JACK introduces pops. I don't like it.bluebell wrote:No. The Scarletts Solo, 2i2 and 2i4 don't have a builtin mixer/volume that can be controlled by the computer.
The 2i4 has 4 outputs so you could mute them with a software mixer, e.g. jack-mixer. Headphones can be assigned with a hardware switch to 1+2 or 3+4.
Now you can mute headphones or speakers.
- Assign headphones to 1+2 and speakers to 3+4
- Connect your DAW to jack_mixer, use 2 output channels
- Connect one output channel to 1+2, the other to 3+4
Most non-music applicaions like Firefox use Pulseaudio. Having jack as my main sound system and configuring Pulseaudio to output to jack (with jack-sink) works perfectly on my machines. A buffer size of 64 with 48000 Hz is no problem. No xruns when playing Youtube videos.
Note that the Scarletts (and many other class compliant interfaces) run better with 48000 than with 44100.
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
Re: Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
Firefox can use JACK, but it tries to control its own connections. I want firefox to stop controlling its own JACK connections. I submitted an issue regarding that. Firefox also doesn't expose microphone through JACK, yet.bluebell wrote:Sure, jack_mixer is a nice jack application.
Most non-music applicaions like Firefox use Pulseaudio. Having jack as my main sound system and configuring Pulseaudio to output to jack (with jack-sink) works perfectly on my machines. A buffer size of 64 with 48000 Hz is no problem. No xruns when playing Youtube videos.
Note that the Scarletts (and many other class compliant interfaces) run better with 48000 than with 44100.
What does buffer size of 64 mean? Is it 64 frames per period?
How can I remove pops from the bridge between ALSA loopback and JACK? I tried alsa_in and zita-a2j.
- bluebell
- Established Member
- Posts: 1910
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 111 times
- Been thanked: 116 times
Re: Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
My old machine: Intel(R) Core(TM) i5-2500T CPU @ 2.30GHzcrocket wrote:Firefox can use JACK, but it tries to control its own connections. I want firefox to stop controlling its own JACK connections. I submitted an issue regarding that. Firefox also doesn't expose microphone through JACK, yet.bluebell wrote:Sure, jack_mixer is a nice jack application.
Most non-music applicaions like Firefox use Pulseaudio. Having jack as my main sound system and configuring Pulseaudio to output to jack (with jack-sink) works perfectly on my machines. A buffer size of 64 with 48000 Hz is no problem. No xruns when playing Youtube videos.
Note that the Scarletts (and many other class compliant interfaces) run better with 48000 than with 44100.
What does buffer size of 64 mean? Is it 64 frames per period?
How can I remove pops from the bridge between ALSA loopback and JACK? I tried alsa_in and zita-a2j.
Scarlett 2i2, 1st gen
jackd -P90 -p512 -t2000 -dalsa -r48000 -p64 -n2 -Xseq -dhw:USB
No xruns when playing Youtube videos in Firefox -> Pulseaudio -> jackd
About 10% DSP load
What do you use the bridge for? If Pulseaudio is installed then ALSA clients are redirected to Pulseaudio. If you redirect Pulseaudio to jack then everything is fine.
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
Re: Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
My Gentoo system doesn't have pulseaudio. The bridge is for making ALSA applications output sound to JACK.bluebell wrote:My old machine: Intel(R) Core(TM) i5-2500T CPU @ 2.30GHz
Scarlett 2i2, 1st gen
jackd -P90 -p512 -t2000 -dalsa -r48000 -p64 -n2 -Xseq -dhw:USB
No xruns when playing Youtube videos in Firefox -> Pulseaudio -> jackd
About 10% DSP load
What do you use the bridge for? If Pulseaudio is installed then ALSA clients are redirected to Pulseaudio. If you redirect Pulseaudio to jack then everything is fine.
- bluebell
- Established Member
- Posts: 1910
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 111 times
- Been thanked: 116 times
Re: Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
There's no need to use any tools for that. Just have a ~/.asoundrc likecrocket wrote:My Gentoo system doesn't have pulseaudio. The bridge is for making ALSA applications output sound to JACK.bluebell wrote:My old machine: Intel(R) Core(TM) i5-2500T CPU @ 2.30GHz
Scarlett 2i2, 1st gen
jackd -P90 -p512 -t2000 -dalsa -r48000 -p64 -n2 -Xseq -dhw:USB
No xruns when playing Youtube videos in Firefox -> Pulseaudio -> jackd
About 10% DSP load
What do you use the bridge for? If Pulseaudio is installed then ALSA clients are redirected to Pulseaudio. If you redirect Pulseaudio to jack then everything is fine.
Code: Select all
pcm.!default {
type plug
slave { pcm "rawjack" }
}
pcm.rawjack {
type jack
playback_ports {
0 system:playback_1
1 system:playback_2
}
capture_ports {
0 system:capture_1
1 system:capture_2
}
}
pcm.jack {
type plug
slave { pcm "rawjack" }
hint {
description "JACK Audio Connection Kit"
}
}
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
Re: Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
bluebell wrote:There's no need to use any tools for that. Just have a ~/.asoundrc like
Code: Select all
pcm.!default { type plug slave { pcm "rawjack" } } pcm.rawjack { type jack playback_ports { 0 system:playback_1 1 system:playback_2 } capture_ports { 0 system:capture_1 1 system:capture_2 } } pcm.jack { type plug slave { pcm "rawjack" } hint { description "JACK Audio Connection Kit" } }
- I want to switch between speakers(system:playback_{1,2}) and headphones(headphones:playback_{1,2}). Do I need to direct rawjack pcm device to a JACK client that routes its input to either system or headphones?
- Does ALSA jack client introduce pops in the sound? alsa_in and zita-a2j do.
- Do I need to place a dmix pcm device on top of rawjack if I want multiple ALSA applications to use rawjack?
- bluebell
- Established Member
- Posts: 1910
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 111 times
- Been thanked: 116 times
Re: Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
crocket wrote:bluebell wrote:There's no need to use any tools for that. Just have a ~/.asoundrc like
Code: Select all
pcm.!default { type plug slave { pcm "rawjack" } } pcm.rawjack { type jack playback_ports { 0 system:playback_1 1 system:playback_2 } capture_ports { 0 system:capture_1 1 system:capture_2 } } pcm.jack { type plug slave { pcm "rawjack" } hint { description "JACK Audio Connection Kit" } }
- I want to switch between speakers(system:playback_{1,2}) and headphones(headphones:playback_{1,2}). Do I need to direct rawjack pcm device to a JACK client that routes its input to either system or headphones?
- Does ALSA jack client introduce pops in the sound? alsa_in and zita-a2j do.
- Do I need to place a dmix pcm device on top of rawjack if I want multiple ALSA applications to use rawjack?
- I have only system:playback_{1,2} on my Scarlett Solo, no headphones:playback_{1,2}.
- No pops.
- Never tested it.
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
Re: Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
With that configuration, mpv, vlc, and mplayer can only play wav files. They feeeze when they try to play mp3, ogg, oga, and so on.bluebell wrote:There's no need to use any tools for that. Just have a ~/.asoundrc like
Code: Select all
pcm.!default { type plug slave { pcm "rawjack" } } pcm.rawjack { type jack playback_ports { 0 system:playback_1 1 system:playback_2 } capture_ports { 0 system:capture_1 1 system:capture_2 } } pcm.jack { type plug slave { pcm "rawjack" } hint { description "JACK Audio Connection Kit" } }
- bluebell
- Established Member
- Posts: 1910
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 111 times
- Been thanked: 116 times
Re: Can I mute monitor output and line output of Scarlett Solo independently in alsamixer?
Very strange. I have no explanation.
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/