Constructor
new Sound(src, name, artist, isReady, duration, loaded)
Parameters:
| Name | Type | Description |
|---|---|---|
src |
string | path to the sound file |
name |
string | name of the sound |
artist |
string | artist of the sound |
isReady |
boolean | flag to determine if the sound is ready to play |
duration |
number | duration of the sound |
loaded |
p5.SoundFile | the loaded sound |
- Source: