Forums > MaxMSP

Releasing Data at Sample Rate

February 28, 2014 | 4:45 am

I am currently working on a final year degree project based on procedural audio and I’ve hit a big problem. I need to extract a envelope from a piece of audio (in this case a footstep which is inside a buffer) in order to multiply a [noise~] by that envelope. I have had no problem creating an envelope follower and extracting the data, but when it comes to releasing this data at the sample rate I can’t quite figure out how to do it. I’ve tried using message boxes, [poke~], [peek~] and a [coll].

If anyone has any ideas on this it would be greatly appreciated, even my tutors can’t help me so I really hope you can!

Many thanks.

 


February 28, 2014 | 6:26 am

I’m just learning MSP myself and I assume you will probably do best handling this inside of MSP… so this probably won’t be of much help… but the cpuclock object is the most accurate of the timing objects in Max… accurate to millionths of a second. And I know that coll is pretty darn fast… perhaps even 44,100 times per second fast…

– Pasted Max Patch, click to expand. –

February 28, 2014 | 7:02 am

I suggest slide~ or rampsmooth~.
<code>

– Pasted Max Patch, click to expand. –

</code>


February 28, 2014 | 8:33 am

you probably want to use nothing more than [play~] to replay your stored envelope from the buffer.


Viewing 4 posts - 1 through 4 (of 4 total)