Пример #1
0
 public void setup() {
   size(200, 200);
   // Initialise the library, passing our PApplet as 'this'
   mymod = new PortaMod(this);
   // Use the filepath (with the module in the sketch's 'data'
   // directory), 'true' to autostart playback and 6.020f as
   // the initial volume (maximum)
   mymod.doModLoad("syphus-oldendays.mod", true, 64);
 }
Пример #2
0
 public void stop() {
   mymod.stop();
   super.stop();
 }