fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] FluidSynth sequencer test


From: Pedro Lopez-Cabanillas
Subject: Re: [fluid-dev] FluidSynth sequencer test
Date: Fri, 3 Apr 2009 23:24:56 +0200
User-agent: KMail/1.9.6 (enterprise 20070904.708012)

David Henningsson wrote:
> Hi and thanks for helping out. 

Thanks to you for looking at this!

> I was a bit puzzled before I figured out 
> what was wrong with your test though. Replace this row:
>
>     fluid_settings_setnum(settings, "audio.period-size", 4096);
>
> with:
>
>     fluid_settings_setint(settings, "audio.period-size", 4096);
>
> ...and you will start to notice the bad timing.

Exactly! You did it. 

Using a big period size (either 2048 or 4096 is enough) instead of the default 
size (64 in Linux) makes the test program to sound like a drunken drummer. Of 
course, using the right function: fluid_settings_setint(). I've attached the 
modified sources.

Now, the plan is to fix the problem. I guess you are going to apply a fix 
similar to your patch for the MIDI player. I also would like to test an 
additional approach, overhauling the current wall clock implementation.

Regards,
Pedro

Attachment: fluid_arp.c
Description: Text Data

Attachment: fluid_metro.c
Description: Text Data


reply via email to

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