pub type t_libpd_pitchbendhook = Option<unsafe extern "C" fn(channel: c_int, value: c_int)>;
Expand description

MIDI pitch bend receive hook signature channel is 0-indexed and value is -8192-8192 channels encode MIDI ports via: libpd_channel = pd_channel + 16 * pd_port note: [bendin] outputs 0-16383 while [bendout] accepts -8192-8192 note: out of range values from pd are clamped