jp.crestmuse.cmx.gui.deveditor.view
クラス DeviatedPerformancePlayer

java.lang.Object
  上位を拡張 jp.crestmuse.cmx.gui.deveditor.view.DeviatedPerformancePlayer
すべての実装されたインタフェース:
java.lang.Runnable, MusicPlayer, TickTimer

public class DeviatedPerformancePlayer
extends java.lang.Object
implements MusicPlayer

このクラスは一つのSequencerと複数のCompiledDeviationを所持し、指定された曲を演奏するクラスです.

作成者:
ntotani

入れ子のクラスの概要
 class DeviatedPerformancePlayer.LabeledMidiDevice
           
 
コンストラクタの概要
DeviatedPerformancePlayer()
           
 
メソッドの概要
 void changeDeviation(DeviatedPerformance newPerformance)
           
protected  void finalize()
           
 int getCurrentReceiverIndex()
           
 javax.sound.midi.Sequence getCurrentSequence()
           
 long getMicrosecondPosition()
           
 DeviatedPerformancePlayer.LabeledMidiDevice[] getReceivers()
           
 long getTickPosition()
           
 int getTicksPerBeat()
           
 boolean isNowPlaying()
           
 void play()
           
 void reset()
           
 void run()
           
 void setMicrosecondPosition(long microseconds)
           
 void setReciever(int index)
           
 void setTickPosition(long tick)
           
 void stop()
           
 void writeFile(java.io.OutputStream out)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DeviatedPerformancePlayer

public DeviatedPerformancePlayer()
                          throws javax.sound.midi.MidiUnavailableException
例外:
javax.sound.midi.MidiUnavailableException
メソッドの詳細

setReciever

public void setReciever(int index)
                 throws javax.sound.midi.MidiUnavailableException
例外:
javax.sound.midi.MidiUnavailableException

finalize

protected void finalize()
                 throws java.lang.Throwable
オーバーライド:
クラス java.lang.Object 内の finalize
例外:
java.lang.Throwable

getMicrosecondPosition

public long getMicrosecondPosition()
定義:
インタフェース MusicPlayer 内の getMicrosecondPosition

getTicksPerBeat

public int getTicksPerBeat()
定義:
インタフェース TickTimer 内の getTicksPerBeat

getTickPosition

public long getTickPosition()
定義:
インタフェース TickTimer 内の getTickPosition

isNowPlaying

public boolean isNowPlaying()
定義:
インタフェース MusicPlayer 内の isNowPlaying

play

public void play()
定義:
インタフェース MusicPlayer 内の play

stop

public void stop()
定義:
インタフェース MusicPlayer 内の stop

run

public void run()
定義:
インタフェース java.lang.Runnable 内の run

reset

public void reset()

setTickPosition

public void setTickPosition(long tick)

setMicrosecondPosition

public void setMicrosecondPosition(long microseconds)

changeDeviation

public void changeDeviation(DeviatedPerformance newPerformance)
                     throws javax.sound.midi.InvalidMidiDataException
例外:
javax.sound.midi.InvalidMidiDataException

getCurrentSequence

public javax.sound.midi.Sequence getCurrentSequence()

getReceivers

public DeviatedPerformancePlayer.LabeledMidiDevice[] getReceivers()

getCurrentReceiverIndex

public int getCurrentReceiverIndex()

writeFile

public void writeFile(java.io.OutputStream out)
               throws java.io.IOException,
                      org.xml.sax.SAXException
例外:
java.io.IOException
org.xml.sax.SAXException