Parsed: 112594

  public static function ETCOEventLookup($index) {
    if (($index >= 0x17) && ($index <= 0xDF)) {
      return 'reserved for future use';
    }
    if (($index >= 0xE0) && ($index <= 0xEF)) {
      return 'not predefined synch 0-F';
    }
    if (($index >= 0xF0) && ($index <= 0xFC)) {
      return 'reserved for future use';
    }

    static $EventLookup = array(
      0x00 => 'padding (has no meaning)',
      0x01 => 'end of initial silence',
      0x02 => 'intro start',
      0x03 => 'main part start',
      0x04 => 'outro start',
      0x05 => 'outro end',
      0x06 => 'verse start',
      0x07 => 'refrain start',
      0x08 => 'interlude start',
      0x09 => 'theme start',
      0x0A => 'variation start',
      0x0B => 'key change',
      0x0C => 'time change',
      0x0D => 'momentary unwanted noise (Snap, Crackle & Pop)',
      0x0E => 'sustained noise',
      0x0F => 'sustained noise end',
      0x10 => 'intro end',
      0x11 => 'main part end',
      0x12 => 'verse end',
      0x13 => 'refrain end',
      0x14 => 'theme end',
      0x15 => 'profanity',
      0x16 => 'profanity end',
      0xFD => 'audio end (start of silence)',
      0xFE => 'audio file ends',
      0xFF => 'one more byte of events follows'
    );

    return (isset($EventLookup[$index]) ? $EventLookup[$index] : '');
  }