sound
Class StochasticControl
java.lang.Object
sound.StochasticControl
public class StochasticControl
- extends java.lang.Object
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 |
StochasticControl
public StochasticControl()
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)