Reference duration()

duration()

Returns the duration of a sound file in seconds.

Returns

Number: The duration of the soundFile in seconds.
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