Okay, here's my solution just in case some other newbie has the same problem.
1) perhaps optional, but I installed the liquorix real time kernel (actually copied the files in /boot and /lib/modules from av linux to my devuan system)
2) installed linuxsampler and qsampler (I actually installed linuxsampler from the kxstudio repository since linuxsampler from github seems to be compiled without jack, but ended up not using jack anyway)
3) downloaded a piano sample in gig format (big file)
Code: Select all
wget http://sonimusicae.free.fr/Host/Maestro-Concert-Grandv2.rar
4) plugged in my midi keyboard (the right way, thanks Impostor)
5) started qsampler and clicked on the green 'device configuration' icon
6) in the 'devices-qsampler' window I:
A) clicked on 'audio devices', left the driver to ALSA, and clicked 'create'
B) clicked on 'MIDI devices', left the driver to ALSA, and clicked 'create'
7) closed the 'devices-qsampler' window and saved the configuration
8) in qsampler main window clicked on the 'track' icon and selected:
A) Engine: GIG
B) Filename: /path/to/my .gig file which in turn set the instrument
C) MIDI input type: ALSA
D AUDIO out: ALSA
and OK
9) in the terminal I typed: aconnect -l which gave me the client number of my midi keyboard and linuxsampler (in my case respectively 20: and 128:
10) typed: aconnect 20: 128:
and voila, I was able to play keyboard and hear a beautiful piano sound.
It might seem many steps but in fact it's a simple rpocess and once saved you can use the same setup all the time.
I like it cause I don't need jack or anything else.
also, this way the sound is capturated in OB studio defaults and I could record myself playing.
I haven't tested this with SFZ or SF2 samples yet.