com.jamesbryangraves.bob.midi
Class BobMidiSequencer
java.lang.Object
com.jamesbryangraves.bob.midi.BobMidiSequencer
- All Implemented Interfaces:
- MusicEventListener
public class BobMidiSequencer
- extends java.lang.Object
- implements MusicEventListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BobMidiSequencer
public BobMidiSequencer()
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.