Reference setPath()

setPath()

Reset the source for this SoundFile to a new path (URL).

Syntax

setPath(path, callback)

Parameters

path
String:

path to audio file

callback
Function:

Callback

This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!

Related References