Trouble With Sound File

in your code possibly the last 2 } } are missing?

the last lines,
4 lines about sound,
you read ( load song from data/ ) and start a sound.
but that is inside DRAW and inside a FOR 13

so you actually try to read and start that song 780 times per second.
( what i think is that none of the 4 lines should be inside DRAW )

as this question is about play a sound only, pls
play first in a extra little “project” to get that running.

and for your sinus i hope what i answered
Need Help Animating This Drawing ,
can help.

2 Likes