Greetings, I've just got version 1.0 of a fluidsynth.lua module up on https://rocks.moonscript.org/ https://rocks.moonscript.org/modules/peterbillam What there is (more or less) works (it was a wrestling match) but it's basically a place-holder (e.g. no Sequencer, yet; no test script; bad doc). 1.1 will be more serious...
So, I've got some Fluidsynth API questions... After new_fluid_synth(settings) has been called, the doc says: "The settings parameter is used directly, and should not be modified or freed independently." but is it still permissible to change those parameters not related to creating the synth, such as audio.file.name ? When new_fluid_audio_driver(settings, synth) is called, does the settings have to be the same settings that was used to create the synth ? or can it be a new settings created in order to configure the audio_driver ? If I want to output to the soundcard, and output to a wav file at the same time, do I just create two simultaneous audio_drivers connected to the same synth ? Or would I have to roll my own, using fluid_synth_write_s16(), (and then convert raw->wav) ? When I'm using it to convert from .mid to .wav it runs in real time (which I can understand if the "just create two simultaneous audio_drivers" trick might get used). But timidity, for example, if converting .mid to .wav runs the CPU flat out and doesn't bother to wait for anything, and finishes a lot faster. Is there a way of asking fluidsynth to do the same ? Regards, Peter Billam http://www.pjb.com.au p...@pjb.com.au (03) 6278 9410 "Follow the charge, not the particle." -- Richard Feynman from The Theory of Positrons, Physical Review, 1949 _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev