fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] syncing fluidsynth with sampled audio


From: David Henningsson
Subject: Re: [fluid-dev] syncing fluidsynth with sampled audio
Date: Wed, 24 Nov 2010 13:20:29 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

On 2010-11-24 12:10, eli konky wrote:
Hi,

I would like to find a way to sync midi playback with some recorded
audio I have. I'm not planning on using any audio driver. I want to pull
the audio data using fluid_synth_write_s16().

Plus I need to be able to seek along the midi file - e.g. start playback
at a certain time offset and stopping it at user request.

I hope I explain myself well.

Is this possible? Any suggestions?

FluidSynth's internal MIDI file engine cannot handle seeks, but if all you need is to take a part of the MIDI file for rendering, then you could call fluid_synth_write_s16() and throw away everything up to the starting point.

As for syncing to recorded audio, I'm not sure what you mean, are you trying to change the tempo of the MIDI file manually?

// David




reply via email to

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