spawnbox.ext.Audio

Parameters:

spawnbox.ext.Audio(filename: str, loops = 0)

QUICK NOTE: YOU CAN'T CHANGE THE FILE AFTER INITIALIZING AN AUDIO OBJECT!


Functions:

play() - Plays the audio file associated with the Audio object.


Properties:

loop - The amount of loops.

audio - the WAV file loaded from the file specified when the Audio object was initialized. THIS IS RAW DATA!

Last updated