public final class com.sun.media.sound.SoftMidiAudioFileReader extends com.sun.media.sound.SunFileReader
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.sun.media.sound.SoftMidiAudioFileReader
  super_class: com.sun.media.sound.SunFileReader
{
  private static final javax.sound.sampled.AudioFileFormat$Type MIDI;
    descriptor: Ljavax/sound/sampled/AudioFileFormat$Type;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final javax.sound.sampled.AudioFormat format;
    descriptor: Ljavax/sound/sampled/AudioFormat;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=7, locals=0, args_size=0
         0: .line 53
            new javax.sound.sampled.AudioFileFormat$Type
            dup
            ldc "MIDI"
            ldc "mid"
            invokespecial javax.sound.sampled.AudioFileFormat$Type.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            putstatic com.sun.media.sound.SoftMidiAudioFileReader.MIDI:Ljavax/sound/sampled/AudioFileFormat$Type;
         1: .line 55
            new javax.sound.sampled.AudioFormat
            dup
            ldc 44100.0
            bipush 16
            iconst_2
         2: .line 56
            iconst_1
            iconst_0
         3: .line 55
            invokespecial javax.sound.sampled.AudioFormat.<init>:(FIIZZ)V
            putstatic com.sun.media.sound.SoftMidiAudioFileReader.format:Ljavax/sound/sampled/AudioFormat;
         4: .line 56
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.media.sound.SoftMidiAudioFileReader this
         0: .line 51
            aload 0 /* this */
            invokespecial com.sun.media.sound.SunFileReader.<init>:()V
            return
        end local 0 // com.sun.media.sound.SoftMidiAudioFileReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/media/sound/SoftMidiAudioFileReader;

  private static com.sun.media.sound.StandardFileFormat getAudioFileFormat(javax.sound.midi.Sequence);
    descriptor: (Ljavax/sound/midi/Sequence;)Lcom/sun/media/sound/StandardFileFormat;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=6, locals=5, args_size=1
        start local 0 // javax.sound.midi.Sequence seq
         0: .line 59
            aload 0 /* seq */
            invokevirtual javax.sound.midi.Sequence.getMicrosecondLength:()J
            ldc 1000000
            ldiv
            lstore 1 /* totallen */
        start local 1 // long totallen
         1: .line 60
            getstatic com.sun.media.sound.SoftMidiAudioFileReader.format:Ljavax/sound/sampled/AudioFormat;
            invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
            lload 1 /* totallen */
            ldc 4
            ladd
            l2f
            fmul
            f2l
            lstore 3 /* len */
        start local 3 // long len
         2: .line 61
            new com.sun.media.sound.StandardFileFormat
            dup
            getstatic com.sun.media.sound.SoftMidiAudioFileReader.MIDI:Ljavax/sound/sampled/AudioFileFormat$Type;
            getstatic com.sun.media.sound.SoftMidiAudioFileReader.format:Ljavax/sound/sampled/AudioFormat;
            lload 3 /* len */
            invokespecial com.sun.media.sound.StandardFileFormat.<init>:(Ljavax/sound/sampled/AudioFileFormat$Type;Ljavax/sound/sampled/AudioFormat;J)V
            areturn
        end local 3 // long len
        end local 1 // long totallen
        end local 0 // javax.sound.midi.Sequence seq
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0       seq  Ljavax/sound/midi/Sequence;
            1    3     1  totallen  J
            2    3     3       len  J
    MethodParameters:
      Name  Flags
      seq   final

  private javax.sound.sampled.AudioInputStream getAudioInputStream(javax.sound.midi.Sequence);
    descriptor: (Ljavax/sound/midi/Sequence;)Ljavax/sound/sampled/AudioInputStream;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=20, args_size=2
        start local 0 // com.sun.media.sound.SoftMidiAudioFileReader this
        start local 1 // javax.sound.midi.Sequence seq
         0: .line 66
            new com.sun.media.sound.SoftSynthesizer
            dup
            invokespecial com.sun.media.sound.SoftSynthesizer.<init>:()V
            astore 2 /* synth */
        start local 2 // com.sun.media.sound.AudioSynthesizer synth
         1: .line 70
            aload 2 /* synth */
            getstatic com.sun.media.sound.SoftMidiAudioFileReader.format:Ljavax/sound/sampled/AudioFormat;
            aconst_null
            invokeinterface com.sun.media.sound.AudioSynthesizer.openStream:(Ljavax/sound/sampled/AudioFormat;Ljava/util/Map;)Ljavax/sound/sampled/AudioInputStream;
            astore 3 /* stream */
        start local 3 // javax.sound.sampled.AudioInputStream stream
         2: .line 71
            aload 2 /* synth */
            invokeinterface com.sun.media.sound.AudioSynthesizer.getReceiver:()Ljavax/sound/midi/Receiver;
            astore 4 /* recv */
        start local 4 // javax.sound.midi.Receiver recv
         3: .line 72
            goto 6
        end local 4 // javax.sound.midi.Receiver recv
        end local 3 // javax.sound.sampled.AudioInputStream stream
      StackMap locals: com.sun.media.sound.SoftMidiAudioFileReader javax.sound.midi.Sequence com.sun.media.sound.AudioSynthesizer
      StackMap stack: javax.sound.midi.MidiUnavailableException
         4: astore 5 /* e */
        start local 5 // javax.sound.midi.MidiUnavailableException e
         5: .line 73
            new javax.sound.midi.InvalidMidiDataException
            dup
            aload 5 /* e */
            invokevirtual javax.sound.midi.MidiUnavailableException.toString:()Ljava/lang/String;
            invokespecial javax.sound.midi.InvalidMidiDataException.<init>:(Ljava/lang/String;)V
            athrow
        end local 5 // javax.sound.midi.MidiUnavailableException e
        start local 3 // javax.sound.sampled.AudioInputStream stream
        start local 4 // javax.sound.midi.Receiver recv
         6: .line 75
      StackMap locals: javax.sound.sampled.AudioInputStream javax.sound.midi.Receiver
      StackMap stack:
            aload 1 /* seq */
            invokevirtual javax.sound.midi.Sequence.getDivisionType:()F
            fstore 5 /* divtype */
        start local 5 // float divtype
         7: .line 76
            aload 1 /* seq */
            invokevirtual javax.sound.midi.Sequence.getTracks:()[Ljavax/sound/midi/Track;
            astore 6 /* tracks */
        start local 6 // javax.sound.midi.Track[] tracks
         8: .line 77
            aload 6 /* tracks */
            arraylength
            newarray 10
            astore 7 /* trackspos */
        start local 7 // int[] trackspos
         9: .line 78
            ldc 500000
            istore 8 /* mpq */
        start local 8 // int mpq
        10: .line 79
            aload 1 /* seq */
            invokevirtual javax.sound.midi.Sequence.getResolution:()I
            istore 9 /* seqres */
        start local 9 // int seqres
        11: .line 80
            lconst_0
            lstore 10 /* lasttick */
        start local 10 // long lasttick
        12: .line 81
            lconst_0
            lstore 12 /* curtime */
        start local 12 // long curtime
        13: .line 83
      StackMap locals: com.sun.media.sound.SoftMidiAudioFileReader javax.sound.midi.Sequence com.sun.media.sound.AudioSynthesizer javax.sound.sampled.AudioInputStream javax.sound.midi.Receiver float javax.sound.midi.Track[] int[] int int long long
      StackMap stack:
            aconst_null
            astore 14 /* selevent */
        start local 14 // javax.sound.midi.MidiEvent selevent
        14: .line 84
            iconst_m1
            istore 15 /* seltrack */
        start local 15 // int seltrack
        15: .line 85
            iconst_0
            istore 16 /* i */
        start local 16 // int i
        16: goto 25
        17: .line 86
      StackMap locals: javax.sound.midi.MidiEvent int int
      StackMap stack:
            aload 7 /* trackspos */
            iload 16 /* i */
            iaload
            istore 17 /* trackpos */
        start local 17 // int trackpos
        18: .line 87
            aload 6 /* tracks */
            iload 16 /* i */
            aaload
            astore 18 /* track */
        start local 18 // javax.sound.midi.Track track
        19: .line 88
            iload 17 /* trackpos */
            aload 18 /* track */
            invokevirtual javax.sound.midi.Track.size:()I
            if_icmpge 24
        20: .line 89
            aload 18 /* track */
            iload 17 /* trackpos */
            invokevirtual javax.sound.midi.Track.get:(I)Ljavax/sound/midi/MidiEvent;
            astore 19 /* event */
        start local 19 // javax.sound.midi.MidiEvent event
        21: .line 90
            aload 14 /* selevent */
            ifnull 22
            aload 19 /* event */
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            aload 14 /* selevent */
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            lcmp
            ifge 24
        22: .line 91
      StackMap locals: int javax.sound.midi.Track javax.sound.midi.MidiEvent
      StackMap stack:
            aload 19 /* event */
            astore 14 /* selevent */
        23: .line 92
            iload 16 /* i */
            istore 15 /* seltrack */
        end local 19 // javax.sound.midi.MidiEvent event
        end local 18 // javax.sound.midi.Track track
        end local 17 // int trackpos
        24: .line 85
      StackMap locals:
      StackMap stack:
            iinc 16 /* i */ 1
      StackMap locals:
      StackMap stack:
        25: iload 16 /* i */
            aload 6 /* tracks */
            arraylength
            if_icmplt 17
        end local 16 // int i
        26: .line 96
            iload 15 /* seltrack */
            iconst_m1
            if_icmpne 28
        27: .line 97
            goto 49
        28: .line 98
      StackMap locals:
      StackMap stack:
            aload 7 /* trackspos */
            iload 15 /* seltrack */
            dup2
            iaload
            iconst_1
            iadd
            iastore
        29: .line 99
            aload 14 /* selevent */
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            lstore 16 /* tick */
        start local 16 // long tick
        30: .line 100
            fload 5 /* divtype */
            fconst_0
            fcmpl
            ifne 32
        31: .line 101
            lload 12 /* curtime */
            lload 16 /* tick */
            lload 10 /* lasttick */
            lsub
            iload 8 /* mpq */
            i2l
            lmul
            iload 9 /* seqres */
            i2l
            ldiv
            ladd
            lstore 12 /* curtime */
            goto 33
        32: .line 103
      StackMap locals: long
      StackMap stack:
            lload 16 /* tick */
            l2d
            ldc 1000000.0
            dmul
            fload 5 /* divtype */
            f2d
            dmul
            iload 9 /* seqres */
            i2d
            ddiv
            d2l
            lstore 12 /* curtime */
        33: .line 104
      StackMap locals:
      StackMap stack:
            lload 16 /* tick */
            lstore 10 /* lasttick */
        34: .line 105
            aload 14 /* selevent */
            invokevirtual javax.sound.midi.MidiEvent.getMessage:()Ljavax/sound/midi/MidiMessage;
            astore 18 /* msg */
        start local 18 // javax.sound.midi.MidiMessage msg
        35: .line 106
            aload 18 /* msg */
            instanceof javax.sound.midi.MetaMessage
            ifeq 47
        36: .line 107
            fload 5 /* divtype */
            fconst_0
            fcmpl
            ifne 13
        37: .line 108
            aload 18 /* msg */
            checkcast javax.sound.midi.MetaMessage
            invokevirtual javax.sound.midi.MetaMessage.getType:()I
            bipush 81
            if_icmpne 13
        38: .line 109
            aload 18 /* msg */
            checkcast javax.sound.midi.MetaMessage
            invokevirtual javax.sound.midi.MetaMessage.getData:()[B
            astore 19 /* data */
        start local 19 // byte[] data
        39: .line 110
            aload 19 /* data */
            arraylength
            iconst_3
            if_icmpge 41
        40: .line 111
            new javax.sound.midi.InvalidMidiDataException
            dup
            invokespecial javax.sound.midi.InvalidMidiDataException.<init>:()V
            athrow
        41: .line 113
      StackMap locals: javax.sound.midi.MidiMessage byte[]
      StackMap stack:
            aload 19 /* data */
            iconst_0
            baload
            sipush 255
            iand
            bipush 16
            ishl
        42: .line 114
            aload 19 /* data */
            iconst_1
            baload
            sipush 255
            iand
            bipush 8
            ishl
        43: .line 113
            ior
        44: .line 114
            aload 19 /* data */
            iconst_2
            baload
            sipush 255
            iand
        45: .line 113
            ior
            istore 8 /* mpq */
        end local 19 // byte[] data
        46: .line 117
            goto 13
        47: .line 118
      StackMap locals:
      StackMap stack:
            aload 4 /* recv */
            aload 18 /* msg */
            lload 12 /* curtime */
            invokeinterface javax.sound.midi.Receiver.send:(Ljavax/sound/midi/MidiMessage;J)V
        end local 18 // javax.sound.midi.MidiMessage msg
        end local 16 // long tick
        end local 15 // int seltrack
        end local 14 // javax.sound.midi.MidiEvent selevent
        48: .line 82
            goto 13
        49: .line 122
      StackMap locals: com.sun.media.sound.SoftMidiAudioFileReader javax.sound.midi.Sequence com.sun.media.sound.AudioSynthesizer javax.sound.sampled.AudioInputStream javax.sound.midi.Receiver float javax.sound.midi.Track[] int[] int int long long
      StackMap stack:
            lload 12 /* curtime */
            ldc 1000000
            ldiv
            lstore 14 /* totallen */
        start local 14 // long totallen
        50: .line 123
            aload 3 /* stream */
            invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
            invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
            lload 14 /* totallen */
            ldc 4
            ladd
            l2f
            fmul
            f2l
            lstore 16 /* len */
        start local 16 // long len
        51: .line 124
            new javax.sound.sampled.AudioInputStream
            dup
            aload 3 /* stream */
            aload 3 /* stream */
            invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
            lload 16 /* len */
            invokespecial javax.sound.sampled.AudioInputStream.<init>:(Ljava/io/InputStream;Ljavax/sound/sampled/AudioFormat;J)V
            astore 3 /* stream */
        52: .line 125
            aload 3 /* stream */
            areturn
        end local 16 // long len
        end local 14 // long totallen
        end local 12 // long curtime
        end local 10 // long lasttick
        end local 9 // int seqres
        end local 8 // int mpq
        end local 7 // int[] trackspos
        end local 6 // javax.sound.midi.Track[] tracks
        end local 5 // float divtype
        end local 4 // javax.sound.midi.Receiver recv
        end local 3 // javax.sound.sampled.AudioInputStream stream
        end local 2 // com.sun.media.sound.AudioSynthesizer synth
        end local 1 // javax.sound.midi.Sequence seq
        end local 0 // com.sun.media.sound.SoftMidiAudioFileReader this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   53     0       this  Lcom/sun/media/sound/SoftMidiAudioFileReader;
            0   53     1        seq  Ljavax/sound/midi/Sequence;
            1   53     2      synth  Lcom/sun/media/sound/AudioSynthesizer;
            2    4     3     stream  Ljavax/sound/sampled/AudioInputStream;
            6   53     3     stream  Ljavax/sound/sampled/AudioInputStream;
            3    4     4       recv  Ljavax/sound/midi/Receiver;
            6   53     4       recv  Ljavax/sound/midi/Receiver;
            5    6     5          e  Ljavax/sound/midi/MidiUnavailableException;
            7   53     5    divtype  F
            8   53     6     tracks  [Ljavax/sound/midi/Track;
            9   53     7  trackspos  [I
           10   53     8        mpq  I
           11   53     9     seqres  I
           12   53    10   lasttick  J
           13   53    12    curtime  J
           14   48    14   selevent  Ljavax/sound/midi/MidiEvent;
           15   48    15   seltrack  I
           16   26    16          i  I
           18   24    17   trackpos  I
           19   24    18      track  Ljavax/sound/midi/Track;
           21   24    19      event  Ljavax/sound/midi/MidiEvent;
           30   48    16       tick  J
           35   48    18        msg  Ljavax/sound/midi/MidiMessage;
           39   46    19       data  [B
           50   53    14   totallen  J
           51   53    16        len  J
      Exception table:
        from    to  target  type
           1     3       4  Class javax.sound.midi.MidiUnavailableException
    Exceptions:
      throws javax.sound.midi.InvalidMidiDataException
    MethodParameters:
      Name  Flags
      seq   final

  public javax.sound.sampled.AudioInputStream getAudioInputStream(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)Ljavax/sound/sampled/AudioInputStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.media.sound.SoftMidiAudioFileReader this
        start local 1 // java.io.InputStream stream
         0: .line 131
            aload 1 /* stream */
            sipush 200
            invokevirtual java.io.InputStream.mark:(I)V
         1: .line 133
            aload 0 /* this */
            aload 1 /* stream */
            invokestatic javax.sound.midi.MidiSystem.getSequence:(Ljava/io/InputStream;)Ljavax/sound/midi/Sequence;
            invokevirtual com.sun.media.sound.SoftMidiAudioFileReader.getAudioInputStream:(Ljavax/sound/midi/Sequence;)Ljavax/sound/sampled/AudioInputStream;
         2: areturn
         3: .line 134
      StackMap locals:
      StackMap stack: java.lang.Exception
            pop
         4: .line 136
            aload 1 /* stream */
            invokevirtual java.io.InputStream.reset:()V
         5: .line 137
            new javax.sound.sampled.UnsupportedAudioFileException
            dup
            invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:()V
            athrow
        end local 1 // java.io.InputStream stream
        end local 0 // com.sun.media.sound.SoftMidiAudioFileReader this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Lcom/sun/media/sound/SoftMidiAudioFileReader;
            0    6     1  stream  Ljava/io/InputStream;
      Exception table:
        from    to  target  type
           1     2       3  Class javax.sound.midi.InvalidMidiDataException
           1     2       3  Class java.io.EOFException
    Exceptions:
      throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
    MethodParameters:
        Name  Flags
      stream  final

  com.sun.media.sound.StandardFileFormat getAudioFileFormatImpl(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)Lcom/sun/media/sound/StandardFileFormat;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.media.sound.SoftMidiAudioFileReader this
        start local 1 // java.io.InputStream stream
         0: .line 145
            aload 1 /* stream */
            invokestatic javax.sound.midi.MidiSystem.getSequence:(Ljava/io/InputStream;)Ljavax/sound/midi/Sequence;
            invokestatic com.sun.media.sound.SoftMidiAudioFileReader.getAudioFileFormat:(Ljavax/sound/midi/Sequence;)Lcom/sun/media/sound/StandardFileFormat;
         1: areturn
         2: .line 146
      StackMap locals:
      StackMap stack: javax.sound.midi.InvalidMidiDataException
            pop
         3: .line 147
            new javax.sound.sampled.UnsupportedAudioFileException
            dup
            invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:()V
            athrow
        end local 1 // java.io.InputStream stream
        end local 0 // com.sun.media.sound.SoftMidiAudioFileReader this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lcom/sun/media/sound/SoftMidiAudioFileReader;
            0    4     1  stream  Ljava/io/InputStream;
      Exception table:
        from    to  target  type
           0     1       2  Class javax.sound.midi.InvalidMidiDataException
    Exceptions:
      throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
    MethodParameters:
        Name  Flags
      stream  final
}
SourceFile: "SoftMidiAudioFileReader.java"
InnerClasses:
  public Type = javax.sound.sampled.AudioFileFormat$Type of javax.sound.sampled.AudioFileFormat