Ease Quark: Concatenating UGens

Hi all

I have a question about the Ease Quark:

For example:
Is it possible to concatenate EaseOutCubic with its mirrored (edit: not negative) values so that the signal would raise up and down again?


Unless you’re incredibly specific about that shape, a reasonable equivalent can be obtained with standard envelopes.

Env([0, 1, 1, 0], [2, 1, 2], \sin).plot

The whole Ease package is done merely by UGen formulas, so a direct answer to your question is “no”. You can sample them though and mirror the array. This won’t give you a formula, but you could use the sampled points as an envelope.

I can’t test this right now but something like

a= (0..100)/100; a.collect{|t| EaseInAtan.(EaseInAtan.(t))}.mirror2.plot

should do the mirroring and concatenation.


Yes, this comes quite close.

a= (0..100)/100; a.collect{|t| EaseInAtan.(EaseInAtan.(t))}.mirror2.plot

Edit: Let’s leave it that way :wink:

Actually you can vary the input from 1 to 0 instead of 0…1 to get the fade-out version directly. Just use an envelope with linear segments and warp (or map if you prefer that more mathy terminology) its output value though these ease thingies.

{ EaseInOutQuad.ar(EnvGen.ar(Env.triangle(0.4))) }.plot(0.4)

Ah, that’s cool!