/* SARAH MERCHANT 2008 RIT Student TYPOGRAPHIC VISUALIZATION Using Audio Levels to create typographic digital art -------------------------------------------------- Be sure to download the Minim Library, and to save an audio file into your data directory. http://code.compartmental.net/tools/minim/ If you have any questions feel free to leave a comment on my Blog. */ import processing.video.*; import processing.opengl.*; import ddf.minim.*; import ddf.minim.signals.*; AudioPlayer groove; // font stuff String word = "Put Your Lyrics here with no hard returns"; PFont f; char[] letters; String num = str(hour())+"_"+str(minute())+"_"+str(second()); //audio vars int rightAudio; int leftAudio; // positioning vars int xpos = 5; float a = 0.0; float inc = PI/0.3; String id = str(hour())+"_"+str(minute())+"_"+str(second()); void setup() { size(3200, 1100, P3D); Minim.start(this); // import audio file groove = Minim.loadFile("Path to your .aif or .mp3 file here", 512); groove.loop(); background(0); // font stuff // be sure to enter the exact name of your font as it is reffered to by //Processing, you can have Processing print out your font library f = createFont("Your font that is on your computer", 250); textFont(f);Ê // define letters array letters = word.toCharArray(); } void draw() { pushMatrix(); // for loop for(int i=0; i