This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//DMX communication protocol for Processing ---> Arduino | |
//Made by Roope Salmi | |
void setup() { | |
Serial.begin(115200); | |
} | |
byte message[3]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scheduler sched = new scheduler("drawSomething"); | |
void setup() { | |
size(500, 500); | |
sched.scheduleLoopingTask(1000); | |
frameRate(2); | |
} | |
void draw() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This sketch demonstrates how to create synthesized sound with Minim | |
* using an AudioOutput and an Oscil. An Oscil is a UGen object, | |
* one of many different types included with Minim. By using | |
* the numbers 1 thru 5, you can change the waveform being used | |
* by the Oscil to make sound. These basic waveforms are the | |
* basis of much audio synthesis. | |
* | |
* For many more examples of UGens included with Minim, | |
* have a look in the Synthesis folder of the Minim examples. |
NewerOlder