clicks occur when changing phase of rate

Jan 7, 2012 at 4:01pm

clicks occur when changing phase of rate

hello,

I’m looking for a way to avoid click when changing phase of rate.
what I want to achieve is to play a sample at the same time with many index (or play) in a [poly~] and changing phase in real time between them.
maybe there is another way to do it.
any help ?
thx.

– Pasted Max Patch, click to expand. –
#61079
Jan 7, 2012 at 4:20pm

Hi
I can’t look at your patch just at the moment, but is there any use for [sah~] here?

Maybe I’ll look at your patch later and discover this is a silly suggestion :(

Brendan

#220120
Jan 7, 2012 at 4:32pm

Yes
silly suggestion; i’ll keep looking at this……….

sorry, I’m stumped.

Are you simply looking to dynamically shift the phase of the playback signal? This patch is from an old granulator of mine, and shifts playback startpoint linearly (unlike your phase-shift requirement), without clicks:

– Pasted Max Patch, click to expand. –

Sorry not to be more help
Brendan

#220121
Jan 7, 2012 at 4:33pm

yes I tried already the sah solution without success :

– Pasted Max Patch, click to expand. –
#220122
Jan 7, 2012 at 4:59pm

previous post edited

#220123
Jan 7, 2012 at 5:27pm

thx Brendan. it could be a good starting point except the enveloppe window is linked to the original phasor so cut the offseted sample before the end.

adapting your patch to my goal the problem appears to be the same…

– Pasted Max Patch, click to expand. –
#220124
Jan 7, 2012 at 7:17pm

would [trapezoid~ 0.05 0.95] work in place of the ‘bell’ window?

#220125
Jan 7, 2012 at 7:42pm

This isn’t much better, but the clicks are only present when the phase changes, which is synchronized with the output. The problem is that when the phase actually changes you are going to get a click. Whether that’s audible or not depends upon the size of the discontinuity.

– Pasted Max Patch, click to expand. –
#220126
Jan 7, 2012 at 8:18pm

ok, thx.
is there another method to change phase by a phasor~ (or something else moving) between 2 players without click ?

#220127
Jan 7, 2012 at 9:27pm

so I’ll use the tapin vdb trick by emmanuel jourdan to achieve this for now.

– Pasted Max Patch, click to expand. –

if somebody have a better solution, please post it.

#220128
Jan 8, 2012 at 3:00am

If you are going for a sort of granular thing, you can use many voices in poly~ set to a different phase.

#220129
Jan 8, 2012 at 10:01am

yes, it’s not exactly a granular thing but a poly-player with variable phase between layers.
but I think I will manage it just with a simple delay to play the beginning of loop. and maybe finally with groove delaying each startloop message.

#220130
Jan 8, 2012 at 11:17am

I guess that what I was getting at is that if the phase is only going to change on a per-voice instance when a voice is started in poly~, there won’t really be clicks. The clicks happen when changing the phase on a sounding “note.”

#220131
Jan 8, 2012 at 1:42pm

yes you’re absolutely right, it’s what I’ll do finally but I was testing the possibility to change offset during playing. I have to think again from scratch… if you have a good starting point, you’re welcome. :-)

#220132
Jan 8, 2012 at 2:25pm

Hi fp
in a recent test-build for a sophisticated granulator, I tried to implement (purely for testing purposes) dynamic phase-shifting of an overlapping window – just to see if i could add more windows. Due perhaps in part to my meagre Max chops I encountered the issue Chris describes: changing phase in a ‘busy’ voice generated clicks; so I ‘fixed’ the phase offset at 0.5 and left it at that. While you aren’t building a granulator, you might look here:

http://www.youtube.com/watch?v=vbbhGV1PkY8

Brendan

#220133
Jan 8, 2012 at 5:49pm

Can’t you simply add to the rate~ output with like a line~ and then %~ afterwards? That will let you slide around without clicks, I think.

#220134
Jan 10, 2012 at 9:57am

héhé, thx, I tried already the line trick but in that case I have a pitch slide too. If i have to choose I prefer the click…

#220135
Jan 10, 2012 at 4:12pm

@brendan yep thx I’ll try it asap in a poly~.

#220136

You must be logged in to reply to this topic.