greaterthan~ distorting

May 10, 2011 at 4:38pm

greaterthan~ distorting

im trying to create a on/off switch which is based on the level of audio, from a line input. im using the greaterthan~ object, it works fine but it is causing my audio to distort. ive tried reducing the level of audio into the object but no matter what i do it keeps distorting the output.
any way around this?

#57042
May 14, 2011 at 8:02am

The output of [>~] is only ever 1 or 0 – despite being a signal output, there is no resolution beyond that. To get around this, rather than using [>~] inserted into the audio path, use it in a sidechain fashion and use its output to switch on/off a [*~] in the wanted audio path. Better yet, rather than simply switching between 0-1 you could use [line] with an adjustable ramp time to get some soft switching and reduce non-zero clipping. This should leave the raw audio untouched other than by the multiplier and the sidechain path will be infinitely flexible in how you decide to control the switching.

#204422
May 14, 2011 at 8:32am

It is worth mentioning that [>~] will always distort when the threshold level is anything but -1. The negative half cycle will always be the first to go. Using [< ~] and the negative complement of the threshold level should cure it.

#204423

You must be logged in to reply to this topic.