load
Used to load an Audio file into memory.
Parameters
context
provide the Platform Context (this is mostly to accommodate Android)
local Path
provide the path and filename for the audio file as a String
Example:
val audioByte: AudioByte = AudioByte() // Create an AudioByte instance
val clickSound: Any = audioByte.load(Res.getUri("files/click.mp3")) // Load the audio file into memoryContent copied to clipboard