textmode.synth.js / SynthSource / osc
Method: osc()
ts
osc(
frequency?,
sync?,
offset?): this;Generate oscillating patterns using sine waves.
Parameters
| Parameter | Type | Description |
|---|---|---|
frequency? | SynthParameterValue | Frequency of the oscillation (default: 60.0) |
sync? | SynthParameterValue | Synchronization offset (default: 0.1) |
offset? | SynthParameterValue | Phase offset (default: 0.0) |
Returns
this