mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 21:59:21 +00:00
The spec isn't _super_ clear on how this is meant to be done, but the way I understand this is that we should simply clamp the returned 'current value' between 'min' and 'max'. Firefox does not appear to do this clamping, but Chrome does.
15 lines
725 B
Plaintext
15 lines
725 B
Plaintext
OscillatorNode
|
|
AudioScheduledSourceNode
|
|
AudioNode
|
|
EventTarget
|
|
Object
|
|
context: '[object OfflineAudioContext], is same as original: true
|
|
Error creating node: 'InvalidStateError: Oscillator node type cannot be set to 'custom''
|
|
oscillator node type: 'sine'
|
|
Error: 'InvalidStateError: Oscillator node type cannot be set to 'custom'', type is: sine
|
|
oscillator node type: 'triangle'
|
|
[object AudioParam] current: 440, default: 440, min: -22050, max: 22050, rate: a-rate
|
|
[object AudioParam] current: -52, default: 440, min: -22050, max: 22050, rate: a-rate
|
|
[object AudioParam] current: 22050, default: 440, min: -22050, max: 22050, rate: a-rate
|
|
[object AudioParam] current: -22050, default: 440, min: -22050, max: 22050, rate: a-rate
|