stop clicks

Dec 6, 2011 at 8:05pm

stop clicks

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

Christopher

#60512
Dec 6, 2011 at 8:48pm

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.

#217803
Dec 7, 2011 at 1:41am

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.

#217804
Dec 7, 2011 at 3:16am

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.

#217805
Dec 7, 2011 at 8:55am

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. –
#217806
Dec 12, 2011 at 8:53pm

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. –
#217807
Dec 12, 2011 at 9:12pm

Your patch just had the presentation layer stuff.

#217808
Dec 13, 2011 at 2:04am

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~

#217809
Dec 13, 2011 at 3:55pm

whoops, try this one

– Pasted Max Patch, click to expand. –
#217810

You must be logged in to reply to this topic.