com.jamesbryangraves.bob.music
Class Melody

java.lang.Object
  extended by com.jamesbryangraves.bob.music.MusicEventGenerator
      extended by com.jamesbryangraves.bob.music.DiatonicMusicEventGenerator
          extended by com.jamesbryangraves.bob.music.Melody

public class Melody
extends DiatonicMusicEventGenerator


Constructor Summary
Melody()
           
 
Method Summary
 java.util.Collection<MusicEvent> generateEvents(MusicContext musicContext, long tick)
           
 
Methods inherited from class com.jamesbryangraves.bob.music.DiatonicMusicEventGenerator
getNextPitch, getScalePitch
 
Methods inherited from class com.jamesbryangraves.bob.music.MusicEventGenerator
getNoteValue, upOrDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Melody

public Melody()
Method Detail

generateEvents

public java.util.Collection<MusicEvent> generateEvents(MusicContext musicContext,
                                                       long tick)
                                                throws java.lang.Exception
Specified by:
generateEvents in class MusicEventGenerator
Throws:
java.lang.Exception


Copyright © 2007. All Rights Reserved.