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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux