How to find transient of audio in offline

Tugrul Akyuz's icon

Hi,
I want to know if there is a method to find out the transient point of an audio (audio in buffer~ : with offline operation)). Or for example, getting out the envelope follower data from audio (offline), or applying a hp filter to the audio in buffer~or jit.buffer~.
Thanks in advance.
Not : without using gen , I don't have "gen" feature in my max license.

Roman Thilenius's icon


if you only want the highest sample value there might be a solution i am overlooking.

but normally you want to watch for a certain amount of peak history, and in that case you will have to load the file, implement the analysis as realtime DSP, which you can then run offline using the NRT driver.

11OLSEN's icon

Here's a little learning example. only pure Max! This came from an external called slice~. I think I downloaded this once from the forums and did a little cleanup of the patcher.

slice_with_maxobjects2.maxpat
text/plain 191.57 KB
right-click and save file

Normally you want to look for externals to do this more efficient for you. I can suggest the Flucoma package which has good slicers.

Tugrul Akyuz's icon

Thank your very much for your help,
very clear patch.
I want to find audio transient points of an audio in a video(mov). But import message (buffer~) does not work. How I can load or extract audio channel(stream) from a video file to the buffer~ object?
About the "import" message , it is said that " it requires the QT backend, an operation which is not supported in the 64-bit version". is it true?

11OLSEN's icon

Please try 11ffload~ external. I tested and it seems to work with .mov files.

Tugrul Akyuz's icon

Hi 11OLSEN
you have the answer to every question, :-)
Have you done it before or did you do it right away when I asked? I just need only to assemble it very simply way like Lego.. I appreciate you very much. Thank you again 11OLSEN.
Tuğrul

11OLSEN's icon

I created 11ffload~ 2018. But your question was a reminder that it is waiting for an update and reupload.
I'm glad that it's working for you.