Constructor
new Preset(name, envelope, oscillators, type)
Parameters:
| Name | Type | Default | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
name |
string | ||||||||||||||||||||||||||||||||||||||||||
envelope |
object |
Properties
|
|||||||||||||||||||||||||||||||||||||||||
oscillators |
Array.<object> |
Properties
|
|||||||||||||||||||||||||||||||||||||||||
type |
string | 'additive-oscillators' | Options are 'additive-oscillators', 'bytebeat', 'harmonic-series' |