samplermod.dsp
Variable-rate sample player with pitch modulation.
Function
This is a composite instrument consisting of sampler.dsp with built-in pitch modulation. samplermod.dsp uses unsigned addition and clipping to generate a frequency range of 0 to $FFFF.
The sampler frequency is computed as follows:
SamplerFrequency = Frequency + ModInput * ModDepth
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. Defaults to $8000. Range is 0..$FFFF.
- Amplitude
- 0..$7FFF. Defaults to $7FFF.
- ModInput
- Pitch modulation signal (e.g. output of triangle_lfo.dsp) in the range of -$8000..$7fff. Defaults to 0.
- ModDepth
- Gain of pitch modulation in the range of -$8000..$7fff. Defaults to 0.
Outputs
Output
Input FIFOs
InFIFO
Resources
Ticks: 43
Code: 18
Implementation
V20