Forums > MaxMSP

stop clicks

December 6, 2011 | 8:05 pm

I made this

– Pasted Max Patch, click to expand. –

I am trying to have the patch just jump to different parts of the audio file. I cannot manage to do this without it clicking everytime it starts. Any ideas are welcome. Thanks


December 6, 2011 | 8:48 pm

Keep in mind how data flows through max. I think The issue is after your metro object it goes through a few other objects and ends with a button object that splits to a random object then to a pack object.

Try out of the button object to add a [trigger b b] object. This way to can be sure that your *~ object is happening first.

December 7, 2011 | 1:41 am

Every new event forces the line~ envelope to start at 0. This will cause clicks. You might have to end up using poly~ or at least doubling up your patch so that every other click goes to one player stack.

December 7, 2011 | 3:16 am

havent even tried poly. have been trying to do this kind of thing for a while but never went too deep into it to figure it out. was using line and trying to make ramps but it always clicked, then tried curve and thought it would work better but know. still not fully understanding the problem and this makes it harder for me to fix because i dont know what i am fixing. Sorry about the messy patch by the way but i just took it from a bigger thing i was doing. not really bigger, just more of a mess. Thanks for your suggestions though. Tried doubling up my patch and just made a swither jumper thing that sounds funny and now clicks twice as much. haha.

December 7, 2011 | 8:55 am

This is your basic patch, pushed around quite a bit, with a player from an old granular thing of mine that used line instead of curve. At any rate, it illustrates the patch doubling thing I mentioned.

– Pasted Max Patch, click to expand. –

December 12, 2011 | 8:53 pm

Thanks. I took your genius little thing and added it to my thing and now it does exactly what I wanted. Thanks.

– Pasted Max Patch, click to expand. –

December 12, 2011 | 9:12 pm

Your patch just had the presentation layer stuff.

December 13, 2011 | 2:04 am

audio clicks are the consequence of instantaneous amplitude changes (= steps if looking at the waveform). so you have to (quickly, few ms) fade out to 0 and fade back in each time you trigger your new sample position.

if you want polyphony (more than one sfplay~, play~ or groove~ object), each sfplay~ object should not be re triggered until release stage of envelope is completed. thispoly~ inside the poly~ object takes care of that – see adsr~ help file, subpatcher poly~

December 13, 2011 | 3:55 pm

whoops, try this one

– Pasted Max Patch, click to expand. –

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