applyLiveDoubleSpeed
applyLiveDoubleSpeed(
options?):Promise<{method:string;preservePitch:boolean;speed:any; } | {buffer:any;method:string;newLoopLength:number;preservePitch:any;speed:any; }>
Defined in: packages/pleco-xa/src/scripts/live-speed-control.js:245
Apply double-speed playback using the injected session dependencies.
Parameters
Section titled “Parameters”options?
Section titled “options?”audioContext
Section titled “audioContext”AudioContext
required (throws when missing)
audioProcessor?
Section titled “audioProcessor?”any = null
buffer
Section titled “buffer”AudioBuffer
required (throws when missing)
preservePitch?
Section titled “preservePitch?”boolean = false
Returns
Section titled “Returns”Promise<{ method: string; preservePitch: boolean; speed: any; } | { buffer: any; method: string; newLoopLength: number; preservePitch: any; speed: any; }>