Thursday, June 27, 2013

Audio Concepts

Audio Concepts

Sample Rate - precision in time, horizontal
Bit Depth - precision in amplitude, vertical dimension

player.speed(1) // 1: normal speed, 2: double the speed
speed = map(mouseX, 0, width, 0, 2)

Audio Control

  • speed
  • stop/start
boolean buttonOn;
if (buttonOn) { fill(255,0,0) }
if (!buttonOn) { fill(,255,0) }


No comments:

Post a Comment