[Top][All Lists]

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

Re: [fluid-dev] Tremolo, fluidsynth and CC 1

From: David Back
Subject: Re: [fluid-dev] Tremolo, fluidsynth and CC 1
Date: Sat, 4 Jul 2020 17:36:12 +0000 (UTC)

It seems it is so difficult to disable the modulators that I am pretty confident they are not disabled on any of my sound fonts. These modulators appear to me to be available AND turned on by default in all normal sf2 fonts.

I am even more confused now - I have just tried a different sound font with eplayOrgan - one which works with jOrgan and does produce (very weak but clear) tremolo when used with jOrgan.

This soundfont shows no sign of any tremolo when used in eplayOrgan so I am even more convinced now that there is something wrong with my code in eplayOrgan. I suspect I need to enable or initialise something which I have not enabled or initialised such as the midi input (eplayOrgan sends all its midi direct to the synth and never uses any FS midi inputs).

Is there any example of working c or c++ code for using CC1 ? I have not been able to find any myself.

Thank you


On Saturday, 4 July 2020, 17:49:17 BST, Ceresa Jean-Jacques <jean-jacques.ceresa@orange.fr> wrote:

Hello David,

>It is particularly useful to know that I can change what FS does by changing parameters in the sound fonts.

Yes fluidsynth and any SF2 compliant synthesizers sould always instructed by soundfonts articulations parameters. They are

only reproducer sound engine. In other words the synthesizer should never take any decision.


>Any advice on enabling/disabling modulators will be gratefully received.
modulators effects are always "additive". That means that if we have CC1-to-xxx-volume, and CC1-to-xxx-frequency-oscillator modulators. Both modulators will be played.
In this case the same CC1 will modulate the oscillator frequency and the volume (through the respective lfo).
Assuming you want to disable the default CC1-to-xxx-frequency modulator. The only way to do that is to add a new CC1-to-xxx-frequency-oscillator:
In order to be able to override this default modulator, 3 conditions must be observed with attention:
(1)this second modulator MUST be added at INSTRUMENT level (i.e in instrument zone) (please do not be confused with preset level).
(2)this new modulator must be IDENTICAL to the one intended to be disabled.
In SF terminologie two modulators (m1,m2) are considered identical when that have 'same sources(src,src amount)' and 'same destination' (regardless of amount value).
(3)new modulator's amount value MUST be 0.
If one of the above condition is not true, this new modulator will never override (i.e disable) the default CC1 modulator.
Wecome to the world of SF2.
> Message du 04/07/20 16:34
> De : "David Back via fluid-dev" <fluid-dev@nongnu.org>
> A : "fluid-dev@nongnu.org" <fluid-dev@nongnu.org>
> Copie à : "David Back" <csw900@yahoo.co.uk>, "Tom M." <tom.mbrt@googlemail.com>
> Objet : [fluid-dev] Tremolo, fluidsynth and CC 1

Thanks for the update and corrections to my thoughts and ideas. It is particularly useful to know that I can change what FS does by changing parameters in the sound fonts.

At the moment I just want something that works so that I can experiment with it. My code does not produce ANY modulation at present and you say the modulator may be disabled in the sound font. I have examined several of my sound fonts using viena and cannot see any way to positively DISABLE any modulators. (I am not a sound font expert, normally just a sound font user - but ready to learn).

However the modulators can be altered and in some cases the default frequency has been altered for particular instruments.

I am attaching one of the sound fonts in which fluidsynth and my code fails to activate any modulation or vibrato. All of the sound fonts I regularly use accompany eplayOrgan when it is downloaded and installed.

Any advice on enabling/disabling modulators will be gratefully received.

I have googled "fliudsynth christian" and surprisingly there were some results connecting the two but nothing obviously of any value to my problem/s. So - how do I get Christians advice on tremolo?

David (csw900)

fluid-dev mailing list

> [ 201606esteyDB-0.sf2 (3987.9 Ko) ]

reply via email to

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