fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] How can I start fluidsynth playback with certain cc comm


From: David Henningsson
Subject: Re: [fluid-dev] How can I start fluidsynth playback with certain cc commands specified from the very start?
Date: Sat, 18 Jan 2014 22:38:54 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

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




reply via email to

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