samplerenv.dsp
Variable-rate sample player with amplitude envelope.
Function
This is a composite instrument consisting of sampler.dsp with a built-in amplitude envelope generator.
Knobs
- Frequency
- Units are fixed point phase increment. $800 0 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.
- Amplitude
- 0..$7FFF. Defaults to $7FFF.
Outputs
Output
Input FIFOs
InFIFO
Envelopes
- AMPEnv
- Amplitude envelope hook.
Resources
Ticks: 56
Code: 36 words
Implementation
V20
Notes
This instrument has some obvious limitations. Consider using the discrete instruments sampler.dsp and envelope.dsp or designing a custom instrument with ARIA instead of using this instrument.