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
int scene = 0; | |
void setup () { | |
//size (1280, 720); | |
size (displayWidth, displayHeight); | |
smooth(); | |
noCursor(); | |
} |
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
/// press y,p, or r to send test midi for that controller# | |
/// 1 turns sendMidi off, 2 sends it on | |
import processing.serial.*; | |
import themidibus.*; | |
Serial port; | |
MidiBus myBus; // The MidiBus |
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
import processing.serial.*; | |
import ddf.minim.analysis.*; | |
import ddf.minim.*; | |
Minim minim; | |
AudioInput in; | |
FFT fft; | |
Serial myPort; // Create object from Serial class | |
int val; // Data received from the serial port |
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
/// press wasd to assign midi controller# --- note: not linked to the appropriate direction yet. | |
/// 1 turns sendMidi off, 2 sends it on | |
// may need to tweak midi so that you can still get to 127 in both axis' when you tilt in two directions at once. | |
import processing.serial.*; | |
import themidibus.*; | |
Serial port; |
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
/// the only thing I changed was the formating for the serial output. instead of tab separated, the vals are | |
/// separated by preceeding each value with the letter for what it is y for yaw, etc. | |
/// other than that, this is the exact example from the mpu6050 lib | |
// the more important file is below | |
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
#N canvas 320 145 457 391 10; | |
#X declare -lib sfruit; | |
#X obj 39 81 multitouch; | |
#X obj 39 41 tgl 15 0 empty empty empty 0 -6 0 10 -204786 -1 -1 0 1 | |
; | |
#X obj 39 60 metro 20; | |
#X obj 39 295 print; | |
#X obj 39 103 unpack 0 0 0 0 0 0 0; | |
#X obj 39 129 + 120; | |
#X obj 84 128 * 127; |
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
// Stereo Spectrogram // | |
// - gregtemp - // | |
import ddf.minim.analysis.*; | |
import ddf.minim.*; | |
Minim minim; | |
AudioPlayer player; | |
FFT fftL; |
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
http://omino.com/ | |
python in after effects |
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
# | |
# Organizes your files into folders named after file types | |
# "Why?" you ask? Hard to say. | |
# | |
# Please note that all changes are permanent, and duplicates will be overwritten. | |
# All in all, not a super useful tool. I actually don't recommend using it. | |
# Also, I am not liable if you screw all your folders/files up with this. | |
import os | |
import errno |
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
import maya.cmds as cmds | |
#cube = cmds.polyCube(h=5, w=5, d=5) | |
#cubeName = cube[0] | |
#cmds.setAttr(cubeName + '.translateX', 5) | |
#cmds.setAttr(cubeName + '.translateY', 5) | |
#cmds.setAttr(cubeName + '.translateZ', 5) | |
NewerOlder