com.jamesbryangraves.bob.music
Class DiatonicMusicEventGenerator

java.lang.Object
  extended by com.jamesbryangraves.bob.music.MusicEventGenerator
      extended by com.jamesbryangraves.bob.music.DiatonicMusicEventGenerator
Direct Known Subclasses:
ChordProgression, Melody

public abstract class DiatonicMusicEventGenerator
extends MusicEventGenerator


Constructor Summary
DiatonicMusicEventGenerator()
           
 
Method Summary
protected  int getNextPitch(int pitch, int key, Scale scale)
           
protected  int getScalePitch(int key, Scale scale)
           
 
Methods inherited from class com.jamesbryangraves.bob.music.MusicEventGenerator
generateEvents, getNoteValue, upOrDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiatonicMusicEventGenerator

public DiatonicMusicEventGenerator()
Method Detail

getNextPitch

protected int getNextPitch(int pitch,
                           int key,
                           Scale scale)

getScalePitch

protected int getScalePitch(int key,
                            Scale scale)


Copyright © 2007. All Rights Reserved.