Squiz:
Filter:
Classes (extension) | UGens > Filters > Nonlinear

Squiz : UGen : AbstractFunction : Object
ExtensionExtension

Wave squeezer. Maybe a kind of pitch shifter.

Description

A simplistic pitch-raising algorithm. It's not meant to sound natural; its sound is reminiscent of some weird mixture of filter, ring-modulator and pitch-shifter, depending on the input. The algorithm works by cutting the signal into fragments (delimited by upwards-going zero-crossings) and squeezing those fragments in the time domain (i.e. simply playing them back faster than they came in), leaving silences imbetween. All the parameters apart from memlen can be modulated.

This UGen is dedicated to Suburban Base Records. (It doesn't sound like them, but was half-inspired by them.)

Class Methods

Squiz.ar(in, pitchratio: 2, zcperchunk: 1, memlen: 0.1, mul: 1, add: 0)

Arguments:

in
pitchratio

the ratio by which pitch will be raised (e.g. pitchratio of 2 will raise by one octave). Only upwards pitch-shifts are possible so a value below 1 will have no effect.

zcperchunk

indicates how many positive-going zero-crossings are used to delimit a chunk. (Only positive integer values make sense.)

memlen

the amount (in seconds) of memory the unit allocates internally to remember each fragment, i.e. the longest a given fragment can become. The default should be fine for most signals. Raising it higher will use more real-time memory and probably won't sound very different (especially if zcperchunk is low).

Squiz.kr(in, pitchratio: 2, zcperchunk: 1, memlen: 0.1, mul: 1, add: 0)

same as .ar

Arguments:

in
pitchratio
zcperchunk
memlen
mul
add

Inherited class methods

Instance Methods

Inherited instance methods

Examples

In both these examples, moving the mouse left/right varies pitchratio, while moving it up/down varies zcperchunk. If you watch the scope it illustrates fairly well what's happening.