Meanwhile I have successfully used fluid_synth_tune_notes(..., pitches, ) Currently in https://github.com/yotam-medini/cmodimidi/blob/main/play.cpp in Player::Retune() By "reverse engineering" fluid_real_t fluid_voice_calculate_pitch(fluid_voice_t *voice, int key) in fluidsynth's src/synth/fluid_voice.c I realized that the pitches are not frequencies, but rather cents near to the standard 100*key.
-- yotam On Sat, Jan 25, 2025 at 11:17 PM Yotam Medini יותם מדיני < yotam.med...@gmail.com> wrote: > Is there a working example that uses the > int fluid_synth_tune_notes(fluid_synth_t *synth, int bank, int prog, > int len, const int *keys, const double *pitch, > int apply); > function ? >
_______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev