Re: [LAU] how can I send a midi command from bash through jack to my HW controller?

From: Len Ovens <len@email-addr-hidden>
Date: Sun Oct 08 2017 - 02:48:12 EEST

On Sun, 8 Oct 2017, Athanasios Silis wrote:

> Hi all,
> I have a BCR2000 and would like to use a script to set some values on these knobs
> and buttons.
>
> amidi should be able to help me do that but I somehow cannot properly set the
> name of the port in order to use it. Note, jackd server is up and running and
> then I also use the "aj2midid" midi bridge to populate hw and software midi ports
> in jack,

I think in this case a2jmidid would have to be off. amidi uses alsa midi,
not jack midi so far as I know. (I could be wrong, try using the alsa
ports first)

> The command I am trying to use is
> amidi -p"14:0" -S <3x bytes depicting the midi CC command>
>
> now port "14" SHOULD be the "Midi Through port as it appears in qjackctl's "midi"
> tab. I got it from

qjackctl's midi tab is jack midi ports. To see alsa midi ports look at the
alsa tab.

> client 32: 'BCR2000' [type=kernel]
>     0 'BCR2000 MIDI 1  '
>     1 'BCR2000 MIDI 2  '
>     2 'BCR2000 MIDI 3  '
>
> but running "amidi -p14:0 -S <hexbytes>" returns
> cannot open port "14:0": No such file or directory

maybe try 32:0?

--
Len Ovens
www.ovenwerks.net

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sun Oct 8 04:15:01 2017

This archive was generated by hypermail 2.1.8 : Sun Oct 08 2017 - 04:15:01 EEST