fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] FluidSynth backend for SDL_mixer


From: David Henningsson
Subject: Re: [fluid-dev] FluidSynth backend for SDL_mixer
Date: Mon, 18 Oct 2010 07:51:34 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4

On 2010-10-17 18:41, James Le Cuirot wrote:
Just want to give an update and new patch for this SDL_mixer backend.
The tempo issue has now been ironed out. Using the sample timer instead
of the system timer (which I should have done in the first place)
allows me to call fluid_sequencer_set_time_scale from within a callback.

Matt Giuca said he'd look into making FluidSynth read MIDI from a
buffer, rendering half my code redundant (yay!) but I haven't heard
back from him yet.

I now use SDL's own audio conversion functions, which should be fine,
but there's still something very wrong with the sample rate and it
looks like FluidSynth is at least part of the problem.

When I made the adjustment to 1.1.1 to allow sample rates as low as
11025Hz, Rise of the Triad sounded correct. However, I have since tried
making the same adjustment to 1.1.2 and also tried 1.1.3 where David
has committed the change upstream (to 8000Hz) and it's back to playing
at half speed/pitch again.

I noticed you found the bug, thanks! Fixed in current trunk.

I tested against the patch I originally sent
here in case one my own changes were to blame. I also went back to
1.1.1 just to double check.

If you try this latest patch against 1.1.1, you'll also notice that
everything is a piano! This is probably some other FluidSynth bug
that's already been fixed. I've seen this happen intermittently with
the command line player.

This was fixed/changed in 1.1.2, yes.

// David



reply via email to

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