Reference setPath()

setPath()

Change the path for the soundfile.

Examples

Syntax

setPath(path, [successCallback])

Parameters

path
String: Path to the sound file.
successCallback
Function: Function to call when the sound file is loaded.
Notice any errors or typos? Please let us know. Please feel free to edit src/SoundFile.js and open a pull request!

Related References