com.jamesbryangraves.bob.music
Class Scale

java.lang.Object
  extended by com.jamesbryangraves.bob.music.Scale

public class Scale
extends java.lang.Object


Constructor Summary
Scale()
           
 
Method Summary
 boolean contains(int note, int root)
           
 int getNextNote(int note, int root)
           
 int getPreviousNote(int note, int root)
           
 int getScaleSize()
           
 java.util.List<ScaleState> getScaleStates()
           
 java.util.List<java.lang.Integer> getScaleSteps()
           
 void setScaleSize(int scaleSize)
           
 void setScaleStates(java.util.List<ScaleState> scaleStates)
           
 void setScaleSteps(java.util.List<java.lang.Integer> scaleSteps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scale

public Scale()
Method Detail

getNextNote

public int getNextNote(int note,
                       int root)

getScaleSize

public int getScaleSize()

setScaleSize

public void setScaleSize(int scaleSize)

getPreviousNote

public int getPreviousNote(int note,
                           int root)

contains

public boolean contains(int note,
                        int root)

getScaleStates

public java.util.List<ScaleState> getScaleStates()

setScaleStates

public void setScaleStates(java.util.List<ScaleState> scaleStates)

getScaleSteps

public java.util.List<java.lang.Integer> getScaleSteps()

setScaleSteps

public void setScaleSteps(java.util.List<java.lang.Integer> scaleSteps)


Copyright © 2007. All Rights Reserved.