SamplerBox icon indicating copy to clipboard operation
SamplerBox copied to clipboard

Timed sustain

Open remisarrailh opened this issue 10 years ago • 2 comments

(This is mostly a reminder for me)

I needed some sustain for the piano but if I use sustain=True there was too much sustain. You can however have more or less sustain by tweaking FADEOUTLENGTH.

remisarrailh avatar Jun 17 '15 22:06 remisarrailh

In fact sustain = True is modified "live" when we use a Sustain Pedal. When a Midi Message CC #64 arrives (see here), sustain is modified to True or False : https://github.com/josephernest/SamplerBox/blob/master/samplerbox.py#L218 If we manually set sustain = True, all the notes will last forever, and this results in too much sustain.

The best way is probably, as you said to tweak FADEOUTLENGTH...

... or maybe later we should add more things in definition.txt, such as %fadeout or %release etc.

josephernest avatar Jun 18 '15 07:06 josephernest

A per-instrument fade out time in the definition file would be much appreciated. The current global setting means it'll always be wrong for some instruments. Organs and mellotron sounds need almost immediate fade out, but that obviously sounds weird for a natural sounding piano.

SirPrimalform avatar Apr 15 '17 14:04 SirPrimalform