oscParams |
Array.<Object>
|
<optional>
|
array of oscillator specific options
Properties
| Name |
Type |
Attributes |
Default |
Description |
detune |
number
|
<optional>
|
0
|
detune amount of the oscillator in cents |
frequency |
number
|
<optional>
|
440
|
frequency of the oscillator in Hertz |
gain |
number
|
<optional>
|
0.5
|
gain of the oscillator, 0 to 1 inclusive |
type |
string
|
<optional>
|
'sine'
|
waveform shape, options are "sine", "square", "sawtooth", "triangle", "custom" |
real |
Array.<number>
|
<optional>
|
|
the real part of the custom waveform |
imag |
Array.<number>
|
<optional>
|
|
the imaginary part of the custom waveform |
|