I want to load the first ten ms of a 1000 ms audio file in a buffer. As far as i know there are three methods to do that:
1. The third argument of the buffer~ object
2. The second and third argument of the read message
3. The sizeinsamps message
Method one and two didnt work at all. The buffer still had the size of the audio file.
Method three changed the size of the buffer, but also erased the data from it. When i used the reload message to load the audio data back into the buffer, the size was again changed to 1000 ms.
Here is what i did:
— Pasted Max Patch, click to expand. —
Copy all of the following text. Then, in Max, select New From Clipboard.