varmono16.dsp

Rate-variable sample player.

Function

This instrument is a rate-variable 16-bit mono sample player. This instrument is identical to sampler.dsp, except that you should use varmono16.dsp if you are short on ticks.

This instrument is limited to a pitch one octave above base pitch, if recorded at 44.1 kHz. If it is recorded at 22 kHz, the pitch can go two octaves up. A rate of 0x8000 corresponds to one data sample per DAC sample frame. 0xFFFF is the highest possible rate.

Knobs

Frequency - units are fixed point phase increment. $8000 equals the normal sample rate, with 1 sample per frame. Thus, you can go from zero to one octave above the original.

Amplitude - 0 => $7FFF

Inputs

None

Outputs

Output

Input FIFOs

InFIFO

Output FIFOs

None

Resources

Ticks = 25

N memory = 26 words