Waveform from clip?? Needin help. (^_^)

Jan 21, 2011 at 9:22pm

Waveform from clip?? Needin help. (^_^)

Hi everybody. I know how to fire a clip. But i would like to know if its possible to see the waveform of this clip in the waveform object.



  1. Fireaclip.jpg
Jan 22, 2011 at 12:24pm

A possible solution would be recording the clip into a buffer like this.

– Pasted Max Patch, click to expand. –
Jan 22, 2011 at 1:31pm

But with this way you need play the clip before. i would like fire the clip and in this moment have a preview of all the waveform.

This is like when you use traktor or virtual dj. You put the song on the deck A or B and you have the all waveform of the song.

thankss broc!

Jan 22, 2011 at 2:36pm

You can load the clip audio file into buffer with a read file message. Make sure that the clip name is the same as the file name and the file is stored somewhere in Max’s search path. Then you can send ‘get name’ to the clip object and use this name for the read file message.

Jan 22, 2011 at 3:08pm

thankss broc more or less was the idea that i had. Would be fantastic that max know where is the file without put the file into the max carpet. i have done this.


  1. buffer.jpg
Jan 22, 2011 at 3:52pm

I’d recommend using the “replace”-message otherwise (like in the buffer.jpg) the buffer doesn’t adjust it’s size to the loaded file.

Jan 22, 2011 at 4:16pm

thankss frid for the replace- message. the buffer i know that doesnt adjust it was only a proof.

I think that the best way to resize de buffer is getting the size of loop.

thanxxx frid!

Jan 22, 2011 at 7:06pm

Regarding Max search paths;
Note that you can define additional paths with Options > File Preferences..

Jan 22, 2011 at 10:50pm

I didnt know about it. Thanxxx one more time Broc.

Jan 27, 2011 at 8:08am

no need to go the preferences for adding directories, this can be done dynamically with this object: [filepath search]

not being able to retreive the actual filename used in an audioclip is a big hiatus in the m4l api


You must be logged in to reply to this topic.