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
_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fluid-dev