newAudio
audio.newAudio()
Creates and returns a new sound object from a file.
Use it inside load
to prepare an audio file (like .mp3, .ogg, or .wav) for later playback.
audio.newAudio(path)
path
String
Path to the audio file. Can be a URL (on nekoplay.niupleis.com) or a relative path in your project (on localhost).