[][src]Function fluidlite_sys::fluid_synth_tune_notes

pub unsafe extern "C" fn fluid_synth_tune_notes(
    synth: *mut fluid_synth_t,
    tuning_bank: c_int,
    tuning_prog: c_int,
    len: c_int,
    keys: *mut c_int,
    pitch: *mut f64,
    apply: c_int
) -> c_int

Request a note tuning changes. Both they 'keys' and 'pitches' arrays should be of length 'num_pitches'. If 'apply' is non-zero, the changes should be applied in real-time, i.e. sounding notes will have their pitch updated. 'APPLY' IS CURRENTLY IGNORED. The changes will be available for newly triggered notes only.

\param synth The synthesizer object \param tuning_bank The tuning bank number [0-127] \param tuning_prog The tuning program number [0-127] \param len The length of the keys and pitch arrays \param keys The array of keys values. \param pitch The array of pitch values. \param apply Flag to indicate whether to changes should be applied in real-time.