<div dir="ltr"><div><div><div>Hi all and thank you for your immediate responses.<br></div>In the end what I was looking for was not the "midi through port" but a virtual midi port.<br></div>To do that I had to add in /etc/modules-load.d/audio.conf<br><div style="margin-left:40px"><span style="font-family:monospace,monospace">snd-virmidi midi_devs=1 index=5</span><br></div><br></div>then I could see <br><div style="margin-left:40px"><span style="font-family:monospace,monospace">$ amidi -l<br>Dir Device    Name<br></span></div><div style="margin-left:40px"><span style="font-family:monospace,monospace">..... (other devices) .....<br></span></div><div><div style="margin-left:40px"><span style="font-family:monospace,monospace">IO  hw:5,0    Virtual Raw MIDI (16 subdevices)</span><br></div><br></div><div>and at the same time it would show up in jack's "midi" tab<br></div><div>then I could simply use it as <br><br></div><div><div style="margin-left:40px"><span style="font-family:monospace,monospace">amidi -phw:5,0 -S <hexbytes></span><br></div><br></div><div>and the midi msg was surely enough sent correctly to the HW controller.<br><br></div><div>Thank you for your help!<br></div><div>I hope this helps others as well<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 8, 2017 at 2:50 AM, Jeanette C. <span dir="ltr"><<a href="mailto:julien@mail.upb.de" target="_blank">julien@mail.upb.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oct 8 2017, Athanasios Silis has written:<br>
...<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
amidi -p"14:0" -S <3x bytes depicting the midi CC command><br>
</blockquote></span>
...<br>
Hi Athanasios,<br>
amidi uses ALSA hardware ports, not ALSA SEQuencer ports. On my system<br>
MIDI thru doesn't show up under those. You can list them with:<br>
amidi -l<br>
or look at:<br>
/proc/asound/cards<br>
<br>
Since you're sending MIDI CCs and no SysEx you can use a tool that<br>
supports ALSA SEQ ports.<br>
<br>
If your CCs and values are always the same - or just a few setups - you<br>
could put them inside a MIDI file and then use aplaymidi. Otherwise<br>
there is midish a commandline tool, that supports its own bash-like<br>
scripting. It wouldn't be too hard to set something like this up.<br>
<a href="http://www.midish.org" rel="noreferrer" target="_blank">http://www.midish.org</a><br>
<br>
If Python or other scripting languages are an option, there are some<br>
packages for these languages which support ALSASEQ I/O. If midish looks<br>
promising, but too much work for a start, I could help.<br>
<br>
HTH.<br>
<br>
Best wishes,<br>
<br>
Jeanette<br>
<br>
--------<br>
* website: <a href="http://juliencoder.de" rel="noreferrer" target="_blank">http://juliencoder.de</a> - for summer is a state of sound<br>
* SoundCloud: <a href="https://soundcloud.com/jeanette_c" rel="noreferrer" target="_blank">https://soundcloud.com/jeanett<wbr>e_c</a><br>
<br>
... About some useless information,<br>
Supposed to fire my imagination <3<br>
(Britney Spears)<br>
</blockquote></div><br></div></div>