com.jamesbryangraves.bob.midi
Class BobMidiSequencer

java.lang.Object
  extended by com.jamesbryangraves.bob.midi.BobMidiSequencer
All Implemented Interfaces:
MusicEventListener

public class BobMidiSequencer
extends java.lang.Object
implements MusicEventListener


Constructor Summary
BobMidiSequencer()
           
 
Method Summary
 BobMidiSequence getSequence()
           
 long getTickPosition()
           
 void handleMusicEvent(int index, MusicEvent event)
           
 boolean isOpen()
           
 void open()
           
 void setOpen(boolean open)
           
 void setSequence(BobMidiSequence sequence)
           
 void setTickPosition(long tickPosition)
           
 void start()
           
 void startRecording()
           
 void stop()
           
 void stopRecording()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BobMidiSequencer

public BobMidiSequencer()
Method Detail

open

public void open()
          throws javax.sound.midi.MidiUnavailableException
Throws:
javax.sound.midi.MidiUnavailableException

start

public void start()

stop

public void stop()

startRecording

public void startRecording()

stopRecording

public void stopRecording()

handleMusicEvent

public void handleMusicEvent(int index,
                             MusicEvent event)
Specified by:
handleMusicEvent in interface MusicEventListener

getSequence

public BobMidiSequence getSequence()

setSequence

public void setSequence(BobMidiSequence sequence)

getTickPosition

public long getTickPosition()

setTickPosition

public void setTickPosition(long tickPosition)

isOpen

public boolean isOpen()

setOpen

public void setOpen(boolean open)


Copyright © 2007. All Rights Reserved.