Re: [fluid-dev] Help with tuning dump function

2017-09-22 Thread Marcus Weseloh
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

Re: [fluid-dev] Help with tuning dump function

2017-09-22 Thread Tom M.
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

[fluid-dev] Help with tuning dump function

2017-09-21 Thread Liam McGillivray
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 "