Class: PlayControl

PlayControl

Extends Time Engine to provide playback control of a Time Engine instance.

example

Constructor

new PlayControl(engine)

Parameters:
Name Type Description
engine TimeEngine

engine to control

Source:
Example
import * as audio from 'waves-audio';
const playerEngine = audio.PlayerEngine();
const playControl = new audio.PlayControl(playerEngine);

playControl.start();

Extends

  • TimeEngine