CDSkip:
Filter:
CDSkip/Classes (extension) | UGens > Delays

CDSkip
ExtensionExtension

Simulates CD skipping

Description

This UGen simulates a real-time variant of CD skipping. Rather than a simple discontinuity, it includes a ballpark-accurate simulation of the random glitchy waveforms that happen when a CD player skips.

TIP: If you want easy randomized skipping without fine-grained control, enable autoMode and play with autoSpeed . Otherwise, try using Dust or Impulse in skipTrigger while playing with pos .

Class Methods

.ar

Arguments:

in

Input signal. Must be stereo!

maxDelay

Length of the internal stereo buffer in seconds. Non-modulatable.

autoMode

If positive, enable "auto mode." This automatically generates random skips and dropouts for you. Control rate only.

autoSpeed

Speed of auto mode. At 1, the timing of glitches and dropouts is based on a real CD scratch experiment. Control rate only.

skipTrigger

If input signal crosses from non-positive to positive, a skip to pos happens, where pos ranges from 0 (beginning of buffer) to 1 (end of buffer).

Audio rate only. If this signal is not audio rate, it is converted to audio rate using a T2A.

resetTrigger

If input signal crosses from non-positive to positive, a skip happens such that the read head is pos seconds behind the write head.

Audio rate only. If this signal is not audio rate, it is converted to audio rate using a T2A.

If both triggers are activated at the same time, skipTrigger overrides resetTrigger.

pos

This argument has different meanings depending on whether skipTrigger or resetTrigger is used. For skipTrigger, this ranges from 0 (beginning of buffer) to 1 (end of buffer). The position is relatively arbitrary, but this has the advantage that skipping multiple times to the same position gives the classic CD repeat effect.

For resetTrigger, pos indicates the delay in seconds, and therefore ranges from 0 (inclusive) to maxDelay (exclusive). resetTrigger may be preferable if you want controls more like a delay unit.

freeze

If positive, prevent the write head from writing anything or from advancing. Control rate only.

clean

If positive, no glitch waveform is generated, and standard discontinuities are used instead. Control rate only.

Examples