Forums > MaxMSP

Click at the beginning of a exponential swept sinusoid

February 11, 2014 | 2:32 pm

Hi, I’m working on making an exponential sine sweep (like the patch below) to measure impulse responses. However, when I start it I have an audible ‘click’ or discontinuity at the beginning of every sweep. I’d rather not introduce any enveloping if possible. My thought was that since cycle~ uses a cosine function, if I pre-set the phase to 0.75 it should make it into a sine and start at 0. But it’s still clicking when I start a new sweep. Any thoughts?

<code>

– Pasted Max Patch, click to expand. –

</code>


February 12, 2014 | 3:07 pm

This previous post of mine regarding the phase inlet of cycle~ might be useful to you.

In your case, you could drive a 0 Hz cycle~ with a phasor~ connected to cycle~’s phase inlet, or you could restart MSP before each sweep.


February 14, 2014 | 10:19 am

Thanks, that’s very helpful! Restarting MSP seems overly-arduous, so I’ll probably go with the phasor implementation.


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