I did it with the "audioadapter" (
4.), all in one qjackctl (Jack2) instance:
The boot sequence of the (PCI/PCIe) sound cards is important so that the same prerequisite (sound card sequence) is always given when the computer is started.
1. Define first sound card. What's in the computer:
edit:
Example, take what "/proc/asound/cards" says!
- same drivers :
Code: Select all
options snd-ymfpci index=0
options snd-hda-intel index=1,2
- different drivers:
Code: Select all
options snd-emu10k1 index=0
options snd-via82xx index=1
2. Save settings in alsamixer (as root), make settings for each sound card separately and save them:
3. Programs take certain soundkate:
Code: Select all
defaults.ctl.card 0
defaults.pcm.card 0
defaults.timer.card 0
#
https://wiki.linuxaudio.org/faq/start#qhow_to_order_the_numbering_of_soundcards_if_using_alsa_drivers4. Merge multiple sound cards into qjackctl:
A)
Setup > Advanced: "Server Prefix" select "jackdmp", "H/W Monitor", "H/W Meter", "Soft Mode", (RT) "Priority (0 - 99)" (
https://linux.die.net/man/1/jackd)
Setup >> Options >> [X] Run script at startup
Code: Select all
jack_load -i "-d hw:1 -i16 -o16" 9632 audioadapter && jack_bufsize 128 &
hw <-- you want to merge (sound card) (hw:1/hw:0/...)
-i <-- your number of sound card inputs
-o <-- your number of sound card outputs
9632 <-- as you want to call them (jackport name)
jack_bufsize <-- set the JACK buffer size#
https://github.com/jackaudio/jackaudio.github.com/wiki/WalkThrough_User_NetJack2 B)
Alsa2jack (MIDI):
install:
Setup >> Options >> [X] Run script after startup
# sleep - delay a specified time period
Setup >> Settings >> Parameters >> MIDI Drivers [none]
Setup >> Miscellaneous >> [ ] ([none]) Provide support for ALSA sequencer