90 likes | 342 Views
Java Sound and DSP. Instructor Rob Nash Readings: Cat Chapter 3 on loops http://java.sun.com/products/java-media/sound/ What is DSP? What does sound have to do with loops?. Audio and DSP in Java. The Java framework has libraries to support multi-channel realtime audio processing
E N D
Java Sound and DSP • Instructor Rob Nash • Readings: Cat Chapter 3 on loops • http://java.sun.com/products/java-media/sound/ • What is DSP? • What does sound have to do with loops?
Audio and DSP in Java • The Java framework has libraries to support multi-channel realtime audio processing • See the Java Sound API at: • http://java.sun.com/products/java-media/sound/
Loops and Samples • All loops contain the following details… • A Start point • An End Point • Some progression/work • Some specified # of repetitions
Components of Modern Rhythm (4/4) Snare Drum (on the 3) Kick Drum (on the 1)
Components of Modern Rhythm (4/4) End Start (downbeat) Length/Duration/Progression
In Java Code End • For(int m=0; m < 10; m++) { • //processing or work goes here • } Speed/Increment Start