Generates periodic waveforms as a primary synthesized tone source.
| Direction | Handle |
|---|
| Output | audio-out |
| Parameter | Label | Type | Default | Range |
|---|
| detune | Detune | slider (automatable) | 0 | -1200 - 1200 |
| frequency | Freq | slider (automatable) | 440 | 0 - 1000 |
| type | Wave | dropdown | sine | sine, square, sawtooth, triangle |
| Field | Value |
|---|
| Native type | Oscillator |
| Create args | none |
| Implementation status | implemented |
- Add custom waveform controls so users can shape oscillator tone beyond built-in wave types.
Based on OscillatorNode (MDN)
| Field | Value |
|---|
| API node | OscillatorNode |
| Factory | createOscillator |
| Factory args | none |
| Web Audio params | frequency, detune |
| Name | Type |
|---|
| frequency | AudioParam |
| detune | AudioParam |
| Name | Type |
|---|
| type | OscillatorType |
| Source | Identifier | Section |
|---|
| Primary | w3c-webaudio-1-1 | OscillatorNode |
| Secondary | mdn-webaudio | Web Audio API |