A Score consists of a series of Parts. The parts will be played back in order. For example, you could have an A part, a B part, and a C part, and play them back in this order new p5.Score(a, a, b, a, c)
Syntax
p5.Score([parts])
Parameters
parts
p5.Part:
One or multiple parts, to be played in sequence.
Methods
start
Start playback of the score.
stop
Stop playback of the score.
pause
Pause playback of the score.
loop
Loop playback of the score.
noLoop
Stop looping playback of the score. If it is currently playing, this will go into effect after the current round of playback completes.
setBPM
Set the tempo for all parts in the score
Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!