Tascam US4x4 (or any USB card?) - what is the right way to control (alsamixer/amixer can't?)

Talk about your MIDI interfaces, microphones, keyboards...

Moderators: MattKingUSA, khz

User avatar
bluzee
Established Member
Posts: 338
Joined: Mon Nov 30, 2020 11:43 pm
Has thanked: 18 times
Been thanked: 88 times

Re: Tascam US4x4 (or any USB card?) - what is the right way to control (alsamixer/amixer can't?)

Post by bluzee »

Browsers use pulseaudio so adding pulseaudio into JACK is what you need if you want it all on the one sound device. This may help...

https://github.com/jackaudio/jackaudio. ... ulseOnJack
jaborandi
Established Member
Posts: 14
Joined: Sat May 14, 2022 12:03 pm
Been thanked: 2 times

Re: Tascam US4x4 (or any USB card?) - what is the right way to control (alsamixer/amixer can't?)

Post by jaborandi »

Update:

recording to mp3:

Code: Select all

arecord -c 4 -f S32_LE -r44100 -t raw | sox -t raw -c 4 -r 44100 -b 32 -e signed - -t raw - remix 1,3 1,4 | lame -r -s 44.1 --bitwidth 32 -b 192 - /path/to/file.mp3
the lengthy sox command - to mix to 2 channels, b/c lame doesn't work with 4 (for wav arecord is enough)
1,3 1,4 is a single setup for recording EITHER el. guitar (connected to input 1) or 2 mics (inputs 3,4)
I guess other scenarios can be solved in similar way, may be having multiple maps if needed
perhaps I can replace arecord + sox with just rec later

playback master volume control:

it works with jack-plumbing + jack_mix_box BUT
the version of jack_mix_box available for my distro doesn't support stereo (weird)
after trying to compile the latest one (with -s(tereo) option) and getting into dependencies hell, as well as trying some other jack tools, I've put this on hold till I can write my own simple masdter volume control
bluzee wrote: Thu May 19, 2022 6:06 pm Browsers use pulseaudio so adding pulseaudio into JACK is what you need if you want it all on the one sound device. This may help...

https://github.com/jackaudio/jackaudio. ... ulseOnJack
Thanks, I don't use PA, but there's a method for ALSA too that I'm going to try:

https://alsa.opensrc.org/Jack_and_Loopb ... ack_bridge
Post Reply