sound
Class StochasticControl

java.lang.Object
  extended by sound.StochasticControl

public class StochasticControl
extends java.lang.Object


Constructor Summary
StochasticControl()
           
 
Method Summary
static int getRandom(int min, int max)
           
static void randomNotes(int[] scale, int numberOfNotes)
          play randomNotes from a scale
static void randomNotes(int noteMin, int noteMax, int numberOfNotes, int duration)
           
static void testRandomNotes()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StochasticControl

public StochasticControl()
Method Detail

testRandomNotes

public static void testRandomNotes()

randomNotes

public static void randomNotes(int[] scale,
                               int numberOfNotes)
play randomNotes from a scale


randomNotes

public static void randomNotes(int noteMin,
                               int noteMax,
                               int numberOfNotes,
                               int duration)

getRandom

public static int getRandom(int min,
                            int max)