jAudioFeatureExtractor.jMIDITools
クラス MIDIMethodsPlayback

java.lang.Object
  上位を拡張 jAudioFeatureExtractor.jMIDITools.MIDIMethodsPlayback

public class MIDIMethodsPlayback
extends java.lang.Object

A holder class for static methods and internal classes relating to playing MIDIrecordings.

作成者:
Cory McKay

コンストラクタの概要
MIDIMethodsPlayback()
           
 
メソッドの概要
static javax.sound.midi.Sequencer playMIDISequence(javax.sound.midi.Sequence midi_sequence)
          Plays the given MIDI Sequence and returns the Sequencer that is playing it.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MIDIMethodsPlayback

public MIDIMethodsPlayback()
メソッドの詳細

playMIDISequence

public static javax.sound.midi.Sequencer playMIDISequence(javax.sound.midi.Sequence midi_sequence)
                                                   throws java.lang.Exception
Plays the given MIDI Sequence and returns the Sequencer that is playing it. The default system Sequencer and Synthesizer are used.

パラメータ:
midi_sequence - The MIDI sequence to play
戻り値:
A sequencer that is playing the midi_sequence
例外:
java.lang.Exception - Throws an exception if an empty MIDI sequence is passed as an argument or if cannoth play.