Skip to content

Z.Audio(...)

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

Constructs a new Z.Audio object.

Parameter Type Description
src optional, string The filename or URL of the audio file to load.

A new Z.Audio object