Function libpd_sys::libpd_controlchange
source · [−]pub unsafe extern "C" fn libpd_controlchange(
channel: c_int,
controller: c_int,
value: c_int
) -> c_intExpand description
send a MIDI control change message to [ctlin] objects channel is 0-indexed, controller is 0-127, and value is 0-127 channels encode MIDI ports via: libpd_channel = pd_channel + 16 * pd_port returns 0 on success or -1 if an argument is out of range