Hi
Â
I'd forgotten all about the setbreathmode. I might try that with the original un-CC2'd soundfont.
To get a quick try it is probably the easiest way instead of edit soundfont. Then adding CC breath modulator in sounfont can be done later.
As explained in FluidPolyMono-0004.pdf section 3.4.5, setbreathmode command allows to set a cc Breath modulator to REPLACE the default "velocity to initial Attenuation" modulator for a channel.
It is useful when there is no CC breath to initial Attenuation in the SoundFont and the musician don't want to edit the Soundfont. Note that if a CC breath to initial Attenuation exits in the soundfont it supersedes the default modulator added by setbreathmode.
setbreathmode 2Â 0Â 1Â 0 #cc Breath modulator to REPLACE the default "velocity to initial Attenuation" modulator for channel 2 (assumed played in monophonic mode)
breathmode 2 # to verify your setting.
Â
Important: when setbreathmode is not used and the musician want to add solely a "CC breath to initial Attenuation" modulator in soundfont, without cancelling the default "velocity to initial Attenuation" modulator. In this case, "velocity to initial Attenuation" modulator is still in effect and if the velocity of the received note is too low then the sound will be alway quiet even if the received CC breath value is high.
1) Normally, if the ewi controller puts the breath value in the velocity field before sending noteon messages this problem is fixed.
2) Also, the ewi controller could send a constant velocity value (above 0 , of course) to fix this problem.
Case (1) should be the typical default behaviour for any ewi. Also, case (1) and/or (2) can be often configured in most ewi setup.
jjc
Â
Message du 08/10/18 12:40
De : "Ben Gonzales"
Objet : Re: [fluid-dev] My latest project - with FS2.0.0 !
Thanks Tom.
The soundfont I used was set up for keyboard and I added the CC2
modulators. What the effect felt like (with the filter cutoff modulator
note 1 starts with low velocity, and gives low volume and little or no
increase in volume with increased breath pressure. Note 2 comes in
(legato mode) with CC2 already high and therefore velocity is high, so
the volume of note 2 is much higher than note 1. What I don't understand
is why that cutoff modulator was holding back note 1's volume. As soon
as I removed it all was fixed.
I read the spec 8.4.2, but I don't understand what the purpose of the
modulator as specified is.
I'd forgotten all about the setbreathmode. I might try that with the
original un-CC2'd soundfont.
Ben
Post by Tom M.One of the default modulators required by the SF2 spec is the "MIDI
Note-On Velocity to Filter Cutoff", cf. section 8.4.2. Implementation
details of this particular modulator are not quite consistent in the
specs. That's why fluidsynth does not implement this modulator. If
however fluidsynth had implemented this modulator (according to 2.01
spec), the modulator listed by your instrument would cancel this
modulator entirely. But as it's not implemented, it's safe to remove
it.
However I cant explain the volume spikes. Perhaps jjc can help out.
Also I just noticed we already have a CC2 modulator implemented in
fluidsynth. You simply need to 'setbreathmode' via the shell to
https://github.com/FluidSynth/fluidsynth/raw/master/doc/polymono/FluidPolyMono-0004.pdf
Tom
_______________________________________________
fluid-dev mailing list
https://lists.nongnu.org/mailman/listinfo/fluid-dev
_______________________________________________
fluid-dev mailing list
https://lists.nongnu.org/mailman/listinfo/fluid-dev