Ebrahim,
I have not been able to reproduce the release distortion on my end
(Electric Grand). I'm using Qsynth & Rosegarden for playing the
samples. What is your FluidSynth setup?
-~Chris
Ebrahim Mayat wrote:
> On Jan 20, 2008, at 2:03 PM, S. Christian Collins wrote:
>
> I have been able to circumvent the default velo->fc implementation in
> FluidSynth by modifying the fluid_mod.c file as follows (section:
> 'special treatment' for default controller):
>
> * replace this:
> if ((mod->src2 == FLUID_MOD_VELOCITY) &&
> (mod->src1 == FLUID_MOD_VELOCITY) &&
> (mod->flags1 == (FLUID_MOD_GC | FLUID_MOD_UNIPOLAR
> | FLUID_MOD_NEGATIVE | FLUID_MOD_LINEAR)) &&
> (mod->flags2 == (FLUID_MOD_GC | FLUID_MOD_UNIPOLAR
> | FLUID_MOD_POSITIVE | FLUID_MOD_SWITCH)) &&
> (mod->dest == GEN_FILTERFC)) {
> if (voice->vel < 64){
> return (fluid_real_t) mod->amount / 2.0;
> } else {
> return (fluid_real_t) mod->amount * (127 - voice->vel) / 127;
> }
> }
>
> * with this:
> if ((mod->src2 == FLUID_MOD_VELOCITY) &&
> (mod->src1 == FLUID_MOD_VELOCITY) &&
> (mod->flags1 == (FLUID_MOD_GC | FLUID_MOD_UNIPOLAR
> | FLUID_MOD_NEGATIVE | FLUID_MOD_LINEAR)) &&
> (mod->flags2 == (FLUID_MOD_GC | FLUID_MOD_UNIPOLAR
> | FLUID_MOD_POSITIVE | FLUID_MOD_SWITCH)) &&
> (mod->dest == GEN_FILTERFC)) {
> return 0;
> }
>
> This is obviously an inelegant hack. However, the vel-fc programming in
> my SoundFonts sounds as it should.
>
> Hello Chris
>
> For a soundfont of only ~ 30 MB, the sounds are simply amazing.
>
> A couple of observations:
>
> The Grand Piano, for instance, is harmonically-rich with crystal-clear upper
> registers, a well-defined mid-range and solid,crunchy lower registers. I do
> not own an 88-key MIDI controller yet and your soundfont requires one to
> render its full potential.
>
> The harpsichord sounds alive and intimate at the same time.
>
> With minor gain adjustments, the synth strings and synth brass do not
> distort.
>
> YES! inactivating the vel-->fc modulator definitely works wonders.
>
> No audio dropouts even when playing fast passages. Even using the sustain
> pedal sounds natural.
>
> About the only patch that I have an issue with (and a minor irritation at the
> most) is the Electric Grand patch which has some additional distortion during
> the release phase.
>
> WAY TO GO!!!
> E
>
>
>
>
>
>
>
>
>
_________________________________________________________________
Climb to the top of the charts! Play the word scramble challenge with star
power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan_______________________________________________
fluid-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fluid-dev