On Tue 19 Jun 2012 22:26:07 IST, Pedro Lopez-Cabanillas wrote:
Hi,

I don't have
time to write another test program version. Anyway, I don't see why
fluid_synth_write_float() should impose any limit on the buffer size.

But I finally did, and attached is a third test. It uses libsndfile
directly, so you need to link against it in addition to fluidsynth.

Running the program with its default values produces wrong results.
Executing the program with tempo>= 330 the results are correct (buffer size
= 31928 frames) but with tempo<= 320 the output is wrong (buffer size =
32986 frames). Looks like a signed short int variable is used somewhere with
time calculations. By the way, there is also a constant SR = 44100 hanging
around.

Regards,
Pedro

Thanks for looking into this in so much detail. My simple sequencer suits me more at the moment, but I appreciate your time (which means I can leave you guys as you sort out the bug). At least now I know I was using it correctly!

Regards,
Raja

_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to