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]

 



Athanasios Silis
<athanasios.silis-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> writes:

> Hi all and thank you for your immediate responses.
> In the end what I was looking for was not the "midi through port" but a
> virtual midi port.
> To do that I had to add in /etc/modules-load.d/audio.conf
> snd-virmidi midi_devs=1 index=5
>
> then I could see
> $ amidi -l
> Dir Device    Name
> ..... (other devices) .....
> IO  hw:5,0    Virtual Raw MIDI (16 subdevices)
>
> and at the same time it would show up in jack's "midi" tab
> then I could simply use it as
>
> amidi -phw:5,0 -S <hexbytes>
>
> and the midi msg was surely enough sent correctly to the HW controller.

You need virtual devices in order to emulate a _raw_ device for a device
only existing as an ALSA _sequencer_ port (like some virtual keyboard or
ALSA's Midi through).

But you already _have_ a raw device.  This makes no sense.  Why don't
you use the raw device for the BCR2000 rather than (presumably)
connecting its sequencer device to the Midi Through sequencer port of
ALSA and then needing a virtual raw device in order to access the Midi
Through sequencer port?

-- 
David Kastrup
_______________________________________________
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