Forums > MaxMSP

Random Access to Signal-Gated Buffer

April 30, 2013 | 6:45 am

I’m trying to make a patch that takes an input file – plays it back into an envelope follower with a threshold gate, pokes the sample location (into the indextriggers buffer) when it is "gated" – and then is able to select from those points at signal-rate in another section of the patch, cueing an ADSR~.

I’m trying to do this by sending the index triggers to ping a sample-and-hold, while the durations are being scrolled through by a phasor~ or rand~ object into the sampling inlet of the object.

No surprise, this idea is a little bit too complex for my pea-sized brain. Can anyone help?

Attachments:
  1. seek.maxpat

May 1, 2013 | 4:29 am

I realized I didn’t post the problem, exactly..

It seems that if you’re using a signal-rate object to look for small ticks in a long, recorded buffer – it tends to miss things.
Is there a better way to do this?


May 4, 2013 | 10:54 pm

Alright, let me rephrase this in better terms:
Is there a way to do a total analysis of a buffer~ (in advance) and deduce timing points for all amplitude information within a certain threshold?


May 5, 2013 | 12:42 am

rm.slice~ ?


May 5, 2013 | 1:19 am

Ah, foiled again by a website under construction..


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