public long getMicrosecondLength()
  {
    long tickLength = getTickLength();
    if (divisionType == PPQ)
    {
      // FIXME
      // How can this possible be computed?  PPQ is pulses per quarter-note,
      // which is dependent on the tempo of the Sequencer.
      throw new 
	  UnsupportedOperationException("Can't compute PPQ based lengths yet");
    }
    else
    {
      // This is a fixed tick per frame computation
      return (long) ((tickLength * 1000000) / (divisionType * resolution));
    }
  }
public long getMicrosecondLength()
  {
    long tickLength = getTickLength();
    if (divisionType == PPQ)
    {
     
     
     
      throw new 
	  UnsupportedOperationException("Can't compute PPQ based lengths yet");
    }
    else
    {
     
      return (long) ((tickLength * 1000000) / (divisionType * resolution));
    }
  }
public long getmicrosecondlength() { long ticklength = getticklength(); if (divisiontype == ppq) { throw new unsupportedoperationexception("can't compute ppq based lengths yet"); } else { return (long) ((ticklength * 1000000) / (divisiontype * resolution)); } }