javax.sound.midi
Class Sequence

java.lang.Object
  extended by javax.sound.midi.Sequence

public class Sequence
extends java.lang.Object


Field Summary
static float PPQ
           
static float SMPTE_24
           
static float SMPTE_25
           
static float SMPTE_30
           
static float SMPTE_30DROP
           
 
Constructor Summary
Sequence(float fDivisionType, int nResolution)
           
Sequence(float fDivisionType, int nResolution, int nNumTracks)
           
 
Method Summary
 Track createTrack()
           
 boolean deleteTrack(Track track)
           
 float getDivisionType()
           
 long getMicrosecondLength()
           
 Patch[] getPatchList()
           
 int getResolution()
           
 long getTickLength()
           
 Track[] getTracks()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PPQ

public static final float PPQ
See Also:
Constant Field Values

SMPTE_24

public static final float SMPTE_24
See Also:
Constant Field Values

SMPTE_25

public static final float SMPTE_25
See Also:
Constant Field Values

SMPTE_30DROP

public static final float SMPTE_30DROP
See Also:
Constant Field Values

SMPTE_30

public static final float SMPTE_30
See Also:
Constant Field Values
Constructor Detail

Sequence

public Sequence(float fDivisionType,
                int nResolution)
         throws InvalidMidiDataException
Throws:
InvalidMidiDataException

Sequence

public Sequence(float fDivisionType,
                int nResolution,
                int nNumTracks)
         throws InvalidMidiDataException
Throws:
InvalidMidiDataException
Method Detail

getDivisionType

public float getDivisionType()

getResolution

public int getResolution()

createTrack

public Track createTrack()

deleteTrack

public boolean deleteTrack(Track track)

getTracks

public Track[] getTracks()

getMicrosecondLength

public long getMicrosecondLength()

getTickLength

public long getTickLength()

getPatchList

public Patch[] getPatchList()