pulse_lfo.dsp

Pulse waveform generator for Low Frequency Oscillator.

Function

This instrument is a pulse generator that uses extended precision arithmetic to give lower frequencies than pulse.dsp. It also has better resolution at the same frequency. The frequency of this instrument is 256 times lower than its corresponding high frequency version. It is useful as a modulation source for controlling other instruments, or for bass instruments.

Knobs

Frequency - 0 => $7FFF, default = $300 = raw frequency. If you call TweakRawKnob() the units are phase increments, If you call TweakKnob() the units are 16.16 fractional Hertz.

Amplitude - 0 => $7FFF

PulseWidth - $-8000 => $7FFF, default = 0 = level for comparator used to generate pulse wave. 0 gives a 50% duty cycle pulse wave. Values above or below 0 give narrower pulses.

Inputs

None

Outputs

Output

Input FIFOs

None

Output FIFOs

None

Resources

Ticks = 24

N memory = 23 words