Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Adding sound to this counter

$
0
0
I have this counter, its pretty simple. But i'm wanting to add an mp3 I have playing over the top on repeat? 
Do I look at minim?




PFont myFont = createFont( "Helvetica-Light", 120);

void setup(){
  size(1500, 1500);
  textFont( myFont );
  
}

void draw(){
  background(0,0);
  
  text( ""+ (float)millis()/ 142800.0, 175, 750);
  text("gallons", 950, 750);
  
  
}



Viewing all articles
Browse latest Browse all 1768

Trending Articles