Re: [fluid-dev] FluidSynth and glib

2017-09-22 Thread Element Green
Hello Tom, Thought I'd chime in, since I was the one who pushed using glib to begin with. I got tired of all the architecture specific code which seemed to have issues in certain situations and saw glib as being a good option. It does complicate building on those platforms though and in embedded

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