/** * This is the quickest way to get a MOD/XM/S3M module playing in * your sketch. The tune is 'olden days', a 4-channel Amiga MOD by * Syphus. */ import crayolon.portamod.*; // Instantiate the library PortaMod mymod; 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, 6.020f); } void draw() { background(0); }