inconsistent audio with an LFO bandpass

Joseph Nagy's icon

When listening to a bandpass with a phasor LFO on it, the audio is different on almost every cycle. The audio levels will randomly be lower or higher and clip. How can I make it so each cycle of the LFO is exactly the same?

Max Patch
Copy patch and select New From Clipboard in Max.

Joseph Nagy's icon
Christopher Dobrian's icon

The phasor~ signal leaps instantaneously from (about) 1 to (about) 0, so that means the center frequency of your filter leaps instantaneously from, say 15,000 Hz to 25 Hz. I'm pretty sure that's the cause of the anomalies you're describing. Try putting a rampsmooth~ 512 512 object after your clip~ object so that that sudden change will be smoothed out a bit over, say 12 ms or so.

Roman Thilenius's icon

the LFO driven frequency drop and the processed material (sawtooth) are not in sync, that is why the result is different every LFO cycle.

Joseph Nagy's icon

Ah, I hadn't thought of that. If I understand you right then it would be impossible to sync the LFO with a random processed material. So my question now is how I could mitigate these audio pops as much as possible.