Forums > MaxMSP

Smoothing sample re-triggering clicks

December 24, 2010 | 8:05 pm

Is there a good way to prevent [groove~] or [sfplay~] from clicking each time a sample is retriggered? or force it to end on the next zero crossing? Any thoughts?


December 24, 2010 | 9:27 pm

Hi
you can have varying degrees of success with the [loopinterp 1] message to [groove~]. The right outlet of [groove~] offers a signal which ramps from 0. to 1. over the duration of the loop – drive a [trapezoid~] object with this ramp and multiply the amplitude of [groove~] out left by this new envelope. Look at the helpfiles for [sfplay~], I think there’s some advice in there too.
Slightly more convoluted is to drive [groove~] with the [waveform~] object, which I believe has a ‘snap to zero’ function.
Hope this isn’t too obvious
Brendan


December 25, 2010 | 1:25 am

Instantiate a [grooveduck] abstraction and take a peek inside.


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