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
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