mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-13 05:05:41 +08:00
fix typescript errors and update dependencies
This commit is contained in:
@@ -403,7 +403,7 @@ class TremoloEffect implements EffectNode {
|
||||
const frequency = Math.max(0.0001, this.oscillator.frequency.value)
|
||||
offset = Math.random() * (1 / frequency)
|
||||
}
|
||||
this.oscillator.start(0, offset)
|
||||
this.oscillator.start(this.context.currentTime + offset)
|
||||
this.started = true
|
||||
} catch {
|
||||
// oscillator already started
|
||||
|
||||
Reference in New Issue
Block a user