Protected optionsPrivate pointsPrivate polylineProtected subscriptionsPrivate throttlePrivate volumeProtected Optional wavesurferDo not call directly, only called by WavesSurfer internally
Add an envelope point with a given time and volume.
Private addProtected emitEmit an event
Rest ...args: EnvelopePluginEvents[EventName]Private emitGet all envelope points. Should not be modified directly.
Private initSubscribe to an event. Returns an unsubscribe function.
Optional options: { Optional once?: booleanSubscribe to an event. Returns an unsubscribe function.
Private onSubscribe to an event only once
Subscribe to an event only once
Remove an envelope point.
Set new envelope points.
Unsubscribe from an event
Static createGenerated using TypeDoc
Create a new Envelope plugin.