I have a MIDI keyboard (Impulse Novation 49) and my goal is to have a "decent" piano using a RaspPi 3 and controllers on my MIDI keyboard.
So basically I have jackd and fluidsynth using alsa_seq as midi driver and jack as audio driver running :
Code: Select all
/usr/bin/fluidsynth -a jack -m alsa_seq -i -l -s --gain=1.0 --reverb=2.42 --chorus=0.42 /usr/share/sounds/sf2/FluidR3_GM.sf2
/usr/bin/jackd -R -P89 -dalsa -dhw:0 -r44100 -p1024 -n3
Code: Select all
root@Piano-controller:~# aconnect -l
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 20: 'Impulse' [type=kernel,card=1]
0 'Impulse MIDI 1 '
Connecting To: 128:0
1 'Impulse MIDI 2 '
client 128: 'FLUID Synth (356)' [type=user,pid=356]
0 'Synth input port (356:0)'
Connected From: 20:0
So the jack_midi_dump command returns nothing. The only "output" I can have is with the aseqdump utility. I'm a big noob in sound with linux..
I heard though about the "mididings" utility.
I tried something like that :
Code: Select all
mididings "Transpose(3) >> Channel(1)"
With aseqdum, I see all the notes coming, and that I have a fader sending data..
Code: Select all
root@Piano-controller:~# aseqdump -p 20
Waiting for data. Press Ctrl+C to end.
Source Event Ch Data
20:0 Control change 0, controller 41, value 55
20:0 Control change 0, controller 41, value 56
20:0 Control change 0, controller 41, value 57
20:0 Control change 0, controller 41, value 58
20:0 Control change 0, controller 41, value 59
20:0 Control change 0, controller 41, value 60
20:0 Control change 0, controller 41, value 61
PS : I hesitate to buy a sustain pedal because I'm afraid it wouldn't work somehow with fluidsynth. Would it ?