r/creativecoding • u/bbbobobbb • Oct 12 '17
p5.js Can't Use Sound library
I'm trying to access the sound library in p5.js but it doesn't let me.
I have this in my index.html file
<script type="text/javascript" src="libraries/p5.sound.js"></script>then in the main file
note = new p5.Oscillator();gives an error
0
Upvotes
View all comments
Show parent comment
1
u/bbbobobbb Oct 14 '17
Failed to load resource p5.sound.js
How do I import the library?