sound.musica
Class Scales2

java.lang.Object
  extended by sound.musica.Scales2

public class Scales2
extends java.lang.Object


Field Summary
static int[] CHROMATIC
           
static int[] HARMONIC_MINOR
           
static int[] occidentals
           
static int[] SILLY_SCALE
           
static int[] WHOLE_NOTES
           
 
Constructor Summary
Scales2()
           
 
Method Summary
static int[] getScale(int[] progression, int startNote)
          get a scale starting affineTransform any note, in a given progression.
static int[] getScale(int[] progression, int startNote, int endNote)
          start a prgression affineTransform any note and end and any note
static void main(java.lang.String[] args)
           
static void testPlayScale()
           
static void testWholeNotes()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHROMATIC

public static int[] CHROMATIC

WHOLE_NOTES

public static int[] WHOLE_NOTES

occidentals

public static int[] occidentals

SILLY_SCALE

public static int[] SILLY_SCALE

HARMONIC_MINOR

public static int[] HARMONIC_MINOR
Constructor Detail

Scales2

public Scales2()
Method Detail

testWholeNotes

public static void testWholeNotes()

testPlayScale

public static void testPlayScale()

main

public static void main(java.lang.String[] args)

getScale

public static int[] getScale(int[] progression,
                             int startNote)
get a scale starting affineTransform any note, in a given progression. The scale is as long as the progression. for example: 0,2,2,1,2,2,1, starting affineTransform 10 gives 10,12,14,15,17,19,20


getScale

public static int[] getScale(int[] progression,
                             int startNote,
                             int endNote)
start a prgression affineTransform any note and end and any note