Namespace Oscillators

Oscillators module has waveshapes for producing values with a specified frequency.

Overview

// Saw wave with frequency of 0.10hZ
const 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 web
import { Oscillators } from 'https://unpkg.com/ixfx/dist/modulation.js'
Oscillators.saw(...);

Index

Functions