loadSound() | This function is used to load the sound. |
isLoaded() | This function is used to check the sound is loaded or not. |
play() | This function is use to play the loaded sound. |
playMode() | This function is used to play the sound in two playing mode restart and sustain. |
pause() | This function is used to pause the played sound. |
loop() | This function is used to create the loop of that sound. |
islooping() | This function is used to check the loop function called or not. |
setLoop() | This function is used to create loop define number of times. |
isPlaying() | This function is used to check audio is playing or not. |
isPaused() | This function is used to check audio is paused or not. |
stop() | This function is used to stop the played audio. |
setVolume() | This function is used to set the volume of the audio range is 0 to 1. |
pan() | This function is used to set the left right pan of the audio range is -1(left) to 1(right). |
getPan() | This function is used to check the pan side. |
rate() | This function is used to set the playing speed of the audio. |
duration() | This function is used to get the duration of the audio. |
currentTime() | This function is used to get the current time of the playing audio. |
jump() | This function is used to jump at some specific point of the audio. |
channels() | This function is used to get the channels Mono means 1 Stereo means 2. |
sampleRate() | This function is used to get the samplerate per second of the audio. |
frames() | This function is used to get the frames of the audio, where frames= samplesrate * duration. |
getPeaks() | This function is used to get the array of amplitude peaksof the audio. |
reverseBuffer() | This function is used to play the audio in reverse way. |
onended() | This function is used to call event after ending the audio. |
connect() | This function is used to connects the output of a p5sound object to input of another p5.sound object. |
disconnect() | This function is used to disconnects the output of this p5sound object. |
setPath() | This function is used to set the path for the audio. |
setBuffer() | This function is used to set the buffer for the audio. |
processPeaks() | This function is used to get the beats of the audio. |
addCue() | This function is used to add events after specified time. |
removeCue() | This function is used to remove specific event that was schedule by the addCue function. |
clearCues() | This function is to clear all the event that was scheduled by the addCue function. |
save() | This function is used to save the audio in locally. |
getBlob() | This function is used to upload the audio in the server. |