Releasing Data at Sample Rate

    Feb 28 2014 | 12:45 pm
    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.

    • Feb 28 2014 | 2:26 pm
      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...
    • Feb 28 2014 | 3:02 pm
      I suggest slide~ or rampsmooth~.
    • Feb 28 2014 | 4:33 pm
      you probably want to use nothing more than [play~] to replay your stored envelope from the buffer.