Class: Transport

Transport

Provides synchronized scheduling of Time Engine instances.

example

Constructor

new Transport()

Source:
Example
import * as audio from 'waves-audio';
const transport = new audio.Transport();
const playControl = new audio.PlayControl(transport);
const myEngine = new MyEngine();
const yourEngine = new yourEngine();

transport.add(myEngine);
transport.add(yourEngine);

playControl.start();