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.
A possible solution would be recording the clip into a buffer like this.
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 755.3ocyXtsaaBCF.95jmBDZWrIwpvFafr61dMpllHfSpm.6Hfr1tplm84Cg THDCtsAVuI9H7+6u+Sl7zxEtq4OPpbc9lysNKV7zxEKTSImXwwwKbKRdHMOo RsMWF4d95e65oWpl7PsZ5bdR15D11lE1kTmdGks8WkjzZ86OHH7FeOG..Jav X0f3a7c94wmYCmUWQ+KQtcfuXY8zr8ETVNoVIevKSx2We9rzLkxHTvuF1nI5 sU+3NhVMbUpYGgxRJTK598RZRtyO34YtxUed4R4OdVhl6S9CYCur3fEPHVAA HVMJD0hB6JIUDVcRMkyZe1jnNkmyK0unS6e89MaHkmNBo4zcMxuhjKDr38z5 47uINNDFg8j8DcPpd9qP.PrrG9zKtC2wWP6Zcr.pyAJ1zgpq4Jru4BYzbsQ3 ZU65MXmbZkpUXVeC1sAboKHUUNHee+ALo.7QSZfrQaXmN+ZfYG6IwoNkWTHL 38ni7.474hpuL.Yf5Pcn16.GziLl70eMDyjGIT9bNpevndRtKm8u.mCbu9vT H00jxw8kZHl++AhYTzcQFrOxhL5YRYpvyIKyqLLMYK4xNoeBXAvQQpDXAMD3 UE7BsM3EOuwtFRrkdmvNPF.JZXDopPiBuh4yBtPbFvLS7N44HalQBsKe+1pG YoGFERHc5dXzUjRq5SoUiEZ0soWgw9kLmXvZJhLMmjLTBPLPm+Swy.Tuvw2S 9O3X4+h01xXCxd7Zyn4M91XZORsS66ANv8PO5Eim17d.3GhDe5qJeXL1zTSH Rwlvq4GpbgplAiey2IqtoANIPAuLyBNgaEvD91RAFXqOjYWnJ5VVR9bWefxN LNahheG0Pg15BAFCMduIHo1qnDB67+g.04UNeWxUw2Wl1H4luUw4kybFoplx Nk591S2Zr0dtilkQXsuSdAMaGWTlpp46dunYzZUBYgJELqpD9CmFEYgFgmWy FvBUBNqpzJKznyT6ImRe3fD.ZgJglUUxlbRf2CkDCdd4+7h7.fI -----------end_max5_patcher-----------
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.
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.
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.
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.
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
Forums > Max For Live