load file problem
in
Core Library Questions
•
2 years ago
hiya guys!
trying to load up this sound and getting no joy. the files defo on my computer! Any ideas why i aint getting no sound?!?
thanks a million

- import ddf.minim.*;
- AudioPlayer player;
- Minim minim;
- void setup()
- {
- size(512, 200, P2D);
- minim = new Minim(this);
- player = minim.loadFile("C:\Users\Public\Documents\black.wav");
- player.play();
- }
1