Pisound Midi Connection - please need help!

Hi everyone. I have a question regarding the use of pisound’s midi. I connected an AKAI MPKmini keyboard via usb to the raspberry. Then I connected a midi cable to the midi out port of the pisound and the other part of the cable I connected it to the midi in of my deluge synthstrom. The problem is, however, my deluge does not communicate with the keyboard. The same thing happens with my volca fm. If I connect the keyboard via USB to the raspberry and then with the midi cable I exit the midi out of the pisound and enter the midi in of any other device, the external device does not see the keyboard. How can I solve it? Thank you.

[image]

Hey, by default, the amidiauto takes care of the most common use case - connecting your hardware MIDI controllers to the MIDI audio software running on the system, and back - this is very useful when you’re using RPi and Pisound as an audio generator.

In your case, there’s no way for amidiauto to know what are your intentions, so you must update the /etc/amidiauto.conf file to tell it what connections it should make.

Please connect all of the stuff to your system, and post the output of the following command here, so w can help you come up with the correct amidiauto.conf file:

amidi -l
aconnect -l

and tell us which devices should be connected together.

Hi.
I connect correctly manually all the conections using aconnectgui command that open a window where i can set.

Thi is th e result:

amidi -l
Dir Device    Name
IO  hw:2,0    pisound MIDI PS-0FCZ5HF
IO  hw:3,0,0  MPKmini2 MIDI 1
IO  hw:4,0,0  Elektron Model:Samples MIDI 1
IO  hw:5,0,0  Deluge MIDI 1
patch@patchbox:~ $ 
patch@patchbox:~ $ aconnect -l
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
	Connecting To: 129:0, 130:0
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
	Connecting To: 130:0[real:0]
	Connected From: 130:0
client 24: 'pisound' [type=kernel,card=2]
    0 'pisound MIDI PS-0FCZ5HF'
	Connecting To: 130:0[real:0], 135:0
	Connected From: 130:0, 136:0
client 28: 'MPKmini2' [type=kernel,card=3]
    0 'MPKmini2 MIDI 1 '
	Connecting To: 135:0, 130:0[real:0]
	Connected From: 136:0, 130:0
client 32: 'Elektron Model:Samples' [type=kernel,card=4]
    0 'Elektron Model:Samples MIDI 1'
	Connecting To: 135:0, 130:0[real:0]
	Connected From: 136:0, 130:0
client 36: 'Deluge' [type=kernel,card=5]
    0 'Deluge MIDI 1   '
	Connecting To: 135:0, 130:0[real:0]
	Connected From: 136:0, 130:0
client 128: 'touchosc' [type=user,pid=497]
    0 'touchosc        '
	Connecting To: 130:0[real:0], 135:0
	Connected From: 130:0, 136:0[real:0]
client 131: 'pisound-ctl' [type=user,pid=1034]
    0 'pisound-ctl     '
	Connecting To: 135:0, 130:0[real:0]
	Connected From: 136:0, 130:0
client 135: 'RtMidiIn Client' [type=user,pid=678]
    0 'RtMidi input    '
	Connected From: 128:0, 24:0, 130:0, 131:0, 28:0, 32:0, 36:0
client 136: 'RtMidiOut Client' [type=user,pid=678]
    0 'RtMidi output   '
	Connecting To: 128:0[real:0], 24:0, 130:0[real:0], 131:0, 28:0, 32:0, 36:0

IO  hw:2,0    pisound MIDI PS-0FCZ5HF
IO  hw:3,0,0  MPKmini2 MIDI 1
IO  hw:4,0,0  Elektron Model:Samples MIDI 1
IO  hw:5,0,0  Deluge MIDI 1

I have also to connect a Volca FM.

The problem is that actually i have connected every machine via USB, but later i need only the keyboard MPKmini2 must be connected via USB and Elektron Model:samples, Deluge and Volca FM only via MIDI.

How can i set that on amidiauto.conf?

Let me know.
Thank you.

Try to put this in /etc/amidiauto.conf (customize as necessary according to your case):

[allow]
MPKmini2 <-> pisound
MPKmini2 <-> Elektron Model:Samples
MPKmini2 <-> Deluge

The names are taken from Client nn: ‘…’ parts, they are case sensitive.

After editing the file, restart amidiauto, so changes take effect: sudo systemctl restart amidiauto.

Thank you so much.
It works properly.
Before I was wrong in the setting because I did not enter MPKmini2 <-> pisound.

Now it works really good.
Thank you.

1 Like