Sample Header Ad - 728x90

How to write raw MIDI bytes to Linux Midi Through client?

1 vote
2 answers
505 views
The command line utility amidi may be used to send MIDI hexadecimal bytes to any alsa rawmidi port identified in amidi -l. I have a piece of music software (Organteq) which monitors Midi Through for any messages. I would like to write to this software by writing to Midi Through. Unfortunately, the port does not show up on amidi and thus I cannot write to it. The port does show up on aplaymidi and pmidi, both of which do not support raw bytes, only sending midi files: aplaymidi -l Port Client name Port name 14:0 Midi Through Midi Through Port-0 20:0 CLASSIC ORGAN CMK3 CLASSIC ORGAN CMK3 CLASSIC ORGA. It is also visible on aconnect: aconnect -l client 0: 'System' [type=kernel] 0 'Timer ' Connecting To: 144:0 1 'Announce ' Connecting To: 144:0, 128:0 client 14: 'Midi Through' [type=kernel] 0 'Midi Through Port-0' Connecting To: 128:1 client 20: 'CLASSIC ORGAN CMK3' [type=kernel,card=1] 0 'CLASSIC ORGAN CMK3 CLASSIC ORGA' Connecting To: 128:2 client 128: 'Organteq' [type=user,pid=2372] 0 'announcements ' Connected From: 0:1 1 'Midi Through Port-0' Connected From: 14:0 2 'CLASSIC ORGAN CMK3 CLASSIC ORGA' Connected From: 20:0 client 144: 'PipeWire-System' [type=user,pid=1100] 0 'input ' Connected From: 0:1, 0:0 client 145: 'PipeWire-RT-Event' [type=user,pid=1100] 0 'input ' So, how may I write 1) to client 14, or perhaps even better, 2) write directly to client 128?
Asked by Cheetaiean (372 rep)
Oct 23, 2023, 06:28 PM
Last activity: Oct 24, 2023, 05:43 PM