Forums > Max For Live

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

January 21, 2011 | 9:22 pm

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.

thanxxx!!

[attachment=151825,1704]

Attachments:
  1. Fireaclip.jpg

January 22, 2011 | 12:24 pm

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

– Pasted Max Patch, click to expand. –

January 22, 2011 | 1:31 pm

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!


January 22, 2011 | 2:36 pm

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.


January 22, 2011 | 3:08 pm

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.

[attachment=151873,1707]

Attachments:
  1. buffer.jpg

January 22, 2011 | 3:52 pm

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.


January 22, 2011 | 4:16 pm

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!


January 22, 2011 | 7:06 pm

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


January 22, 2011 | 10:50 pm

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


January 27, 2011 | 8:08 am

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


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