Re: [LAU] send a midi CC signal to my midi controller from bash

From: Ralf Mardorf <ralf.mardorf@email-addr-hidden-dsl.net>
Date: Tue Oct 13 2015 - 02:05:04 EEST

Begin forwarded message:

Date: Tue, 13 Oct 2015 00:57:15 +0200
From: Ralf Mardorf <ralf.mardorf@email-addr-hidden-dsl.net>
To: Athanasios Silis <athanasios.silis@email-addr-hidden>
Subject: Re: [LAU] send a midi CC signal to my midi controller from bash

Control Change bits of the three bytes are

Byte 1, nnnn is for channel 0 to 15

1011 nnnn

Byte 2, ccc cccc number of controller

0ccc cccc

Byte 3, vvv vvvv value

0vvv vvvv

It's not too hard to write a function using amidi that allows you to use
it like that

my_function interface channel controller value

my_function 0 10 7 127

It's comfortable to have a function that alows
values from -63 to 0 to 64 and
values from 0 to 127.

Unfortunately I don't have time to search my scripts for such a
function, but IIRC it wasn't hard to write it.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Oct 13 04:15:02 2015

This archive was generated by hypermail 2.1.8 : Tue Oct 13 2015 - 04:15:02 EEST