fluid-dev
[Top][All Lists]
Advanced

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

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


From: Felix Krause
Subject: Re: [fluid-dev] File output with FluidSynth API
Date: Tue, 2 Mar 2010 11:38:14 +0100

On 28.02.2010, at 11:13, David Henningsson wrote:

Felix Krause wrote:
On 11.02.2010, at 18:56, David Henningsson wrote:
I tested using FluidSynth 1.0.9 with raw output and that works with my code - however, 1.1.1 does not. I also tested the FS command line utility:

fluidsynth -F output.wav -i -n -T wav soundfont.sf2 midifile.mid

This works as it should and renders the midi file to output.wav.

fluidsynth -a file -i -n -T wav -o audio.file.name=output.wav soundfont.sf2 midifile.mid

This just creates a 4KB file. Is it possible that this is a FS bug?

I finally got some time to look at this issue. When I tried to run your command I got a crash/backtrace. I committed a fix (to trunk) that fixes
the crash I found, and I think that it will fix your issue as well.

The fix is here:

http://fluidsynth.resonance.org/trac/changeset/284/trunk/fluidsynth/src/fluid_midi.c

// David



Thanks for your effort. I checked out revision 284 and compiled it,
but the problem is still the same. As I didn't have any crashes with 1.1.1,
I don't notice any change of behaviour with the new code.

I should mention that I usually don't load midi files, but work with
noteon / noteoff from the API, and tried playing midi files just for
debugging. So it's unlikely that my problem lies in fluid_midi.

Felix




reply via email to

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