Begin forwarded message:
Date: Tue, 13 Oct 2015 00:57:15 +0200
From: Ralf Mardorf <ralf.mardorf(a)alice-dsl.net>
To: Athanasios Silis <athanasios.silis(a)gmail.com>
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.