varmono8.dsp

Rate-variable 8-bit sample player.

Function

This instrument is a rate-variable 8-bit sample player.

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 = 38

N memory = 50 words