line~ into *~ causes clicks
Hi,
I am using the line~ object to control amplitude but when activated it causes clicks in the audio. Is there anyway round this?
Thanks,Mike.
Try inserting a [pack 0 20] or "$1 20" before the [line~]. You need to specify a ramp time (in this case 20ms) or [line~] will have no effect.
lh
And the ramp can be smaller if necessary: the Max scheduler runs at 1ms intervals but MSP handles smaller intervals (it has to), so a $1 1 message box between your amplitude value and line~ can work too.
a little ramp up before the ramp down might not be
enough to get the click away totally. there will still
be a corner. try [slide~] or [onepole~] between [line~]
and [*~].
-110
Thanks for the replies. I am using the line~ object in conjunction with breakpoint function so I can draw in the panning I want. Excuse my ignorance but I cant figure out how to combine pack with the breakpoint function successfully. I have include the patch below. Hope someone can help.
Thanks,Mike.
is this what you need?
Thanks for that pgk but I seem to get a jump in the audio mid way through. The click is more obvious when using a cycle object than the train object. I'm trying to achieve a completely smooth pan transition. Any ideas how to fix this?
Thanks for your help, Mike