[][src]Function fluidlite_sys::fluid_synth_create_octave_tuning

pub unsafe extern "C" fn fluid_synth_create_octave_tuning(
    synth: *mut fluid_synth_t,
    tuning_bank: c_int,
    tuning_prog: c_int,
    name: *const c_char,
    pitch: *const f64
) -> c_int

Create a new octave-based tuning with given name, number, and pitches. The array 'pitches' should have length 12 and contains derivation in cents from the well-tempered scale. For example, if pitches[0] equals -33, then the C-keys will be tuned 33 cents below the well-tempered C.

\param synth The synthesizer object \param tuning_bank The tuning bank number [0-127] \param tuning_prog The tuning program number [0-127] \param name The name of the tuning \param pitch The array of pitch derivations. The array length has to be 12.