Hi Liam,
Check the return value of fluid_synth_tuning_dump. If it failed (i.e it did
not return 0), then the tuning you were requesting isn't found. In which
case FS would use equal temperament tuning on that bank and program.
Cheers,
Marcus
Am 22.09.2017 08:31 schrieb "Liam McGillivray" :
> I
double tuningcents[128];
::fluid_synth_tuning_dump(m_pSynth, tuningBank, tuningProg, NULL, 0,
tuningcents);
Will work, because every c-array can decay to a pointer. You dont need
double* pTuningcents.
Basically you're missing one important thing: checking the return values!
And I bet it returns F
I have a fork of QSynth on GitHub, in which I'm trying to add a menu for
retuning notes.
https://github.com/LiamM32/qsynth
I am not experienced in programming or good at C/C++, so bear with me.
First I'm trying to make it display the current values of each note, but
I can't get the function "