RESOLVED:math CHOP causing audio dropouts

It seems using the math CHOP to control the gain of an audio signal is causing sample drops (audio crackling). Using the volume parameter on either the audiofilein or audioDeviceout does not cause the crackling. So far just the math CHOP either using the gain parameter or using an input CHOP set to multiply.

cheers
Keith

Just confirmed it another machine and with just an audio Oscillator CHOP as well. I also tried using a second CHOP connected to the math CHOP with it’s sample rate set to 48000 as the multiplier but still got crackles.

Also tried the audio dynamics CHOP and used it’s input gain parameter. It crackled as well. It seems adjusting audio sample rate gain in any OPs other than the audio in/out OPs are causing the crackling when changing parameters.

It’s hard to hear on a full music track. Best to test on either an Oscillator or some sort of sample with not lot going on.

Seems to be happening in more than just the math chops. Turn the frequency down low on audiooscillator chop, and play with its params. Or plug into audioband1. Or plug a slider directly into your audio outs input.

These aren’t dropouts, but the result of multiplying a frame’s worth of audio samples (a thousand or so) by the exact same value over that entire range.
(Basically multiplying a hi-res audio signal with a high-res, but low-frequency staircase shaped ramp).

We’ve tackled this in a couple audio-related spots, but the solution is multiplying the audio signal, with the output of a high-sample rate Lag CHOP for example. (Where the volume level is set to a high sample rate and fed into the Lag CHOP).

Make sure to set the Lag parameters to a small value before upping the sample rate.

I’ve attached an example.
Cheers
sound_scale.tox (6.84 KB)

Great! Thanks for the solution Rob. Just saw this now seems my notification settings for forum replies has been disabled somehow…

thanks
Keith