ChrisJJ

Untitled

Oct 4th, 2016
90
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. import ddf.minim.*;
  3.  
  4. void setup()
  5. {
  6. }
  7.  
  8. boolean doit = true;
  9.  
  10. void draw()
  11. {
  12. if(doit)
  13. {
  14. Minim minim;
  15. AudioPlayer player;
  16.  
  17. minim = new Minim(this);
  18.  
  19. player = minim.loadFile("C:\\temp\\4.wav");
  20. player.play();
  21.  
  22. doit = false;
  23. }
  24. }
RAW Paste Data