fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] fluid_sequencer_send_at ignoring time when not using an


From: Raja Mukherji
Subject: Re: [fluid-dev] fluid_sequencer_send_at ignoring time when not using an audio driver
Date: Tue, 19 Jun 2012 22:43:56 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]