Hi there -
I’ve been working with some long envelopes. I’d like to be able to take a piece of a bigger envelope and use it to generate a new envelope.
For instance, with something like this
a = Env.new([0, 1, 0], [1, 2000]).plot;
Is there a simple way to pull out the first 300 ms and put it into a new envelope? I’m sure I could write a more complex bit of code where I do a set of mathematical operations on the specs - but I’m wondering if there are any methods built-in that I might be missing.
Thank you!