com.jamesbryangraves.bob.music
Class MusicEventGenerator

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

public abstract class MusicEventGenerator
extends java.lang.Object


Constructor Summary
MusicEventGenerator()
           
 
Method Summary
abstract  java.util.Collection<MusicEvent> generateEvents(MusicContext musicContext, long tick)
           
protected  int getNoteValue(long resolution)
           
protected  int upOrDown(int pitch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MusicEventGenerator

public MusicEventGenerator()
Method Detail

getNoteValue

protected int getNoteValue(long resolution)

upOrDown

protected int upOrDown(int pitch)

generateEvents

public abstract java.util.Collection<MusicEvent> generateEvents(MusicContext musicContext,
                                                                long tick)
                                                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2007. All Rights Reserved.