adding a few goodies

This commit is contained in:
2024-06-06 11:59:42 +02:00
parent 7f071e11d3
commit c6c5c95685
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,19 @@
Segment {
*ar {
arg start = 0, end = 1, time = 1, curve = \lin, trig = 1, doneAction = 0;
^EnvGen.ar(
Env([start, start, end], [0, time], curve),
trig,
doneAction: doneAction
)
}
*kr {
arg start = 0, end = 1, time = 1, curve = \lin, trig = 1, doneAction = 0;
^EnvGen.kr(
Env([start, start, end], [0, time], curve),
trig,
doneAction: doneAction
)
}
}