Class MIDIFileTrack

java.lang.Object
com.softsynth.midifile.MIDIFileTrack

public class MIDIFileTrack
extends java.lang.Object
MIDI File Track It stores a tracks events as they are parsed.
Author:
Phil Burk (C) 1999 SoftSynth.com
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.util.Vector events  
  • Constructor Summary

    Constructors
    Constructor Description
    MIDIFileTrack()  
  • Method Summary

    Modifier and Type Method Description
    void addEvent​(MIDIFileEvent event)  
    void print()  
    void write​(MIDIFileOutput mfout)
    Write a MIDIFile track to a MIDIFile on disk.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • events

      public java.util.Vector events
  • Constructor Details

    • MIDIFileTrack

      public MIDIFileTrack()
  • Method Details

    • addEvent

      public void addEvent​(MIDIFileEvent event)
    • print

      public void print()
    • write

      public void write​(MIDIFileOutput mfout) throws java.io.IOException
      Write a MIDIFile track to a MIDIFile on disk.
      Throws:
      java.io.IOException