ADSR possible?

H
herbert posted Jun 21 '15, 12:34:

Is ADSR envelope possible in the near future?

J
joseph posted Jun 21 '15, 22:37:

Could be possible...
In which situations would you need it ?

It's very important for analog/digital synthesizers, using oscillators, and for lots of other situations... But just being curious, for which use cases would you want it @herbert?

M
Marcus posted Jul 6 '15, 14:56:

Hi! Not the original poster here but I love the SamplerBox project and aim to build one very soon. :)

I, too, would love an ADSR control for the volume envelope, or at least a way to set the release time only. As for which use it would have; to make a convincing electric organ, we need a super quick release time (basically "on/off"), for a piano sample a smooth, short release time, for a vibraphone, glockenspiel, bells or cymbals a very long release time. Just some examples there.

best, Marcus

R
remi posted Jul 7 '15, 02:05:

You can tweak release time by modifying FADEOUTLENGTH variable but this will modify release time for all instruments.
https://github.com/josephernest/SamplerBox/issues/2

S
Son of 8-Bits posted Nov 20 '15, 19:06:

I'd love me some ADSR as well, but release time is my first priority. Would it be possible to change the FADEOUTLENGTH variable "real-time" with pots or buttons? Even if it only works once* would be great.

  • I mean, you set release time, load a sample-set, it loads the samples with that release time and doesn't change until you (re)load a sample-set.
S
Stan posted Dec 18 '15, 01:35:

Would it be possible for the modulation wheel to change the release time?
I've taken a look at the code but I haven't been yet able to wrap around my head how exactly to do it :)
I'll post something when I have something ready.

S
Stan posted Dec 18 '15, 02:16:

I suppose if you add :

#################################################################

elif (messagetype == 11) and (note == 1): # modulation wheel
FADEOUTLENGTH = (velocity * 1400)

#################################################################
in the MidiCallback definition, it should pick up the value of the
Mod Wheel and assign it to FADEOUTLENGTH
Since the value of the Mod Wheel is in the range between 0 and 127,
you could multiply it with 1400 to get a release time of about 4 seconds

I'll try it tomorrow and see if it works :)

...

  (not published)
  I want to post as guest
 

Post