API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.midi. Track View Source
Author(s)
Kara Kytle
Florian Bomers
Since
Version
1.24, 06/07/12
Serial
Hierarchy
 Object
      Track
Implements
Subclasses
Description
public class Track
  A MIDI track is an independent stream of MIDI events (time-stamped MIDI data) that can be stored along with other tracks in a standard MIDI file.
Constructors
pack-private Track ()
  Package-private constructor.
Methods
Hide/Show inherited methods
public boolean add (MidiEvent event)
  Adds a new event to the track.
public MidiEvent get (int index) throws ArrayIndexOutOfBoundsException
  Obtains the event at the specified index.
public boolean remove (MidiEvent event)
  Removes the specified event from the track.
public int size ()
  Obtains the number of events in this track.
public long ticks ()
  Obtains the length of the track, expressed in MIDI ticks.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar