Msynth.MIDI
Interfacing with MIDI keyboards and controllers.
val create : ?print:bool -> unit -> t
val controller :
t ->
?channel:int ->
int ->
?mode:[< `Linear | `Logarithmic Linear ] ->
?min:float ->
?max:float ->
float ->
float Stream.t
The value of a specific controller.
val toggle : t -> ?channel:int -> ?init:bool -> int -> float -> bool
The value of a toggle controller.