Waveform from clip?? Needin help. (^_^)
A possible solution would be recording the clip into a buffer like this.
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!
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.
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.
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!
Regarding Max search paths;
Note that you can define additional paths with Options > File Preferences..
I didnt know about it. Thanxxx one more time Broc.
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