dcsqxdvarmono.dsp

Play a variable-rate square/xact/delta/mono compressed sample.

Function

This instrument plays a square/xact/delta/mono compressed sample at a variable rate. This is a 2:1 compression. The compression is done by SquashSnd or SoundHack.

Knobs

Frequency
Frequency in fixed point phase increment in the range of 0..$8000. $8000 equals the normal sample rate, with 1 sample per frame. Defaults to $2000 which is 1/4 normal rate.
Amplitude
0..$7FFF. Defaults to $7FFF.

Outputs

Output

Input FIFOs

InFIFO

Resources

Ticks: 59

Code: 56 words

Implementation

V24

Notes

Unlike other variable rate sample player instruments this one doesn't support playing the sample above the system sample rate.

See Also

dcsqxdmono.dsp, adpcmvarmono.dsp, sampler.dsp