Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

sphaero/procmod

Repository files navigation

ProcMod Mod Player for Processing

An old school mod player for Processing based on JavaMod!

Installation

Just unzip in the libraries folder.

Example sketch

import procmod.*;
ModPlayer hello;
int bgcolor = 0;
void setup() {
 background(bgcolor);
 
 hello = new ModPlayer(this, "test.mod");
 hello.play();
}
void draw() {
 background(bgcolor);
 fill(255);
}
void modRowEvent( int channel, int instrument, int note )
{
 if (channel == 0)
 {
 println(channel +":"+ instrument +":"+ note);
 bgcolor = note;
 }
}

About

Mod Player for Processing

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /