Re: [fluid-dev] File output with FluidSynth API

2010-03-11 Thread Felix Krause
On 11.03.2010, at 21:05, David Henningsson wrote: > > If the clock_time never advances beyond zero, it definitely looks like > some problem with fluid_curtime (or g_get_current_time in glib). > > Could it be a rounding problem? Please try this change to fluid_curtime(): > > unsigned int fluid_c

Re: [fluid-dev] File output with FluidSynth API

2010-03-11 Thread David Henningsson
Felix Krause wrote: > On 06.03.2010, at 19:09, David Henningsson wrote: >> A debug print of the delay variable in fluid_timer_run might also be >> helpful (just before the call to g_usleep). > > Here's what I got as debug output when rendering to a wave file with > libsndfile: > > Sample_time =

Re: [fluid-dev] File output with FluidSynth API

2010-03-11 Thread Felix Krause
On 06.03.2010, at 19:09, David Henningsson wrote: > Felix Krause wrote: >> On 04.03.2010, at 09:21, David Henningsson wrote: >>> So the FS command (fluidsynth -a file -i -n -T wav -o >>> audio.file.name=output.wav soundfont.sf2 midifile.mid) still just >>> produces a 4 KB file? It works here. >>