Oscillators module has waveshapes for producing values with a specified frequency.
Overview
// Saw wave with frequency of 0.10hZconst osc = Oscillators.saw(0.1);// Whever we need to sample from the oscillator...const v = osc.next().value; Copy
// Saw wave with frequency of 0.10hZconst osc = Oscillators.saw(0.1);// Whever we need to sample from the oscillator...const v = osc.next().value;
import { Oscillators } from 'ixfx/modulation.js';Oscillators.saw(...);// Import from webimport { Oscillators } from 'https://unpkg.com/ixfx/dist/modulation.js'Oscillators.saw(...); Copy
import { Oscillators } from 'ixfx/modulation.js';Oscillators.saw(...);// Import from webimport { Oscillators } from 'https://unpkg.com/ixfx/dist/modulation.js'Oscillators.saw(...);
Oscillators module has waveshapes for producing values with a specified frequency.
Overview
Example: On-demand sampling
Example: Importing