Skip to content

Z.Audio(...)

Audio(src? : string) : Z.Audio;

Constructs a new Z.Audio object.

ParameterTypeDescription
srcoptional, stringThe filename or URL of the audio file to load.

A new Z.Audio object