First post here. I setup my pisound and it works great. Then I tried to send and receive some MIDI messages through the 5-DIN MIDI I/O. The device I connected was a Teensy 3.2 used as MIDI. I followed this guide, with a slightly altered circuit (because I had a different optocoupler), and used the code included in the guide.
Sending NoteOn and NoteOff messages from the Teensy to pisound works fine (receiving the messages in Pd), but when I send any MIDI message from Pd to pisound (and from there to the Teensy) the message is sent to the Teensy but it is also received back into Pd.
I launch Pd with the -alsamidi flag, then in a terminal I type:
The output I get is this:
client 0: 'System' [type=kernel] 0 'Timer ' 1 'Announce ' client 14: 'Midi Through' [type=kernel] 0 'Midi Through Port-0' client 20: 'pisound' [type=kernel,card=1] 0 'pisound MIDI PS-1GDG2WQ' client 128: 'pisound-ctl' [type=user,pid=654] 0 'pisound-ctl ' client 129: 'Pure Data' [type=user,pid=3241] 0 'Pure Data Midi-In 1' 1 'Pure Data Midi-Out 1'
So then I type the following two lines:
aconnect 'pisound':0 'Pure Data':0 aconnect 'Pure Data':1 'pisound':0
Am I doing something wrong with aconnect? Or can it be something else?