updated minim binaries and examples for Minim release 2.2.0

This commit is contained in:
Damien Di Fede
2013-11-30 20:29:07 -06:00
parent bef4f1c0aa
commit bdee21eca6
18 changed files with 304 additions and 94 deletions
@@ -1,6 +1,9 @@
/**
* This sketch demonstrates how to play a file with Minim using an AudioPlayer. <br />
* It's also a good example of how to draw the waveform of the audio.
* <p>
* For more information about Minim and additional features,
* visit http://code.compartmental.net/minim/
*/
import ddf.minim.*;
@@ -20,7 +23,9 @@ void setup()
// sketch folder. you can also pass an absolute path, or a URL.
player = minim.loadFile("marcus_kellis_theme.mp3");
// play the file
// play the file from start to finish.
// if you want to play the file again,
// you need to call rewind() first.
player.play();
}