On 01/18/2014 10:27 PM, Martin Larsson wrote: > Thanks for the answer! > > Unfortunately, the server mode doesn’t make much more sense to me since the > documentation on this is about as sparse as on the load configuration file. > (Is there a more extensive manual to download anywhere?) > > However, I did create a file named synth.init and ran > > fluidsynth -f synth.init soundfont.sf2 midifile.midi > > The strange thing here is that when I write non-valid commands in the init > file, such as > > poop 1 7 0 > > , fluitsynth throws an error (which mean that it obviously reads the file). > However, when I write valid commands, such as > > cc 1 7 0 > > fluidsynth doesn’t complain, but the command doesn’t take effect either. > > I don’t know what the problem is here, but I’m thinking that it’s one of the > following > > 1. fluidsynth doesn’t run my commands. > 2. fluidsynth runs my command, but they get overwritten by init > procedures in the midi file itself (I don’t know if CC#7 normally is called > by a midi file to set the initial levels of the channels).
Theory nr 2 is very easy to verify using the --verbose flag to FluidSynth, and yes, CC#7 is the standard way of setting the channel's level and is almost always used in your random downloaded-from-the-internet midi file. // David _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev