Easiest way to make envelope files in audio format?

oivindi's icon

I thought this would be easy, but apparently not.

I want to make my own envelope files - one cycle waveforms ala the hanning.wav and hamming.wav that is included with the grainlabs max package.

Is there a way to do this? Easy-ish?

Roman Thilenius's icon
oivindi's icon

Do you mean jit.peek~?

Not sure how I would go about using that particular object to make envelope files?

Roman Thilenius's icon

no just peek~.

uzi -> formula -> peek -> buffer.

then you can either loadbang this and leave it in the patch, or write the buffer content do disk.

jonah's icon

do examples -> gen~.buffir example and msp synthesis tutorial on waveshaping help?

mizu's icon

in gen~, with floats, peek can interpolate between two integer indexes of a buffer

Mark Durham's icon

function is useful too....:

Max Patch
Copy patch and select New From Clipboard in Max.

oivindi's icon

Excellent suggestions, the easiest one being the simple function patch. THANKS!

Holland Hopson's icon

I've used buffer~ generators and functions for this task. Check out the relevant tabs in the buffer~ help file.

mizu's icon

Aaah ! Ramps... my sweet nightmare. How to find the good value for sweet transition between 2 unlinear envelopps before the end of the firstone ? Nice question !