public final class com.sun.media.sound.SoftLowFrequencyOscillator implements com.sun.media.sound.SoftProcess
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.SoftLowFrequencyOscillator
super_class: java.lang.Object
{
private final int max_count;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: 10
private int used_count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final double[][] out;
descriptor: [[D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double[][] delay;
descriptor: [[D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double[][] delay2;
descriptor: [[D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double[][] freq;
descriptor: [[D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int[] delay_counter;
descriptor: [I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double[] sin_phase;
descriptor: [D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double[] sin_stepfreq;
descriptor: [D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double[] sin_step;
descriptor: [D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private double control_time;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double sin_factor;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private static final double PI2;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6.283185307179586
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 10
putfield com.sun.media.sound.SoftLowFrequencyOscillator.max_count:I
2: aload 0
iconst_0
putfield com.sun.media.sound.SoftLowFrequencyOscillator.used_count:I
3: aload 0
bipush 10
iconst_1
multianewarray [[D 2
putfield com.sun.media.sound.SoftLowFrequencyOscillator.out:[[D
4: aload 0
bipush 10
iconst_1
multianewarray [[D 2
putfield com.sun.media.sound.SoftLowFrequencyOscillator.delay:[[D
5: aload 0
bipush 10
iconst_1
multianewarray [[D 2
putfield com.sun.media.sound.SoftLowFrequencyOscillator.delay2:[[D
6: aload 0
bipush 10
iconst_1
multianewarray [[D 2
putfield com.sun.media.sound.SoftLowFrequencyOscillator.freq:[[D
7: aload 0
bipush 10
newarray 10
putfield com.sun.media.sound.SoftLowFrequencyOscillator.delay_counter:[I
8: aload 0
bipush 10
newarray 7
putfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_phase:[D
9: aload 0
bipush 10
newarray 7
putfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_stepfreq:[D
10: aload 0
bipush 10
newarray 7
putfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_step:[D
11: aload 0
dconst_0
putfield com.sun.media.sound.SoftLowFrequencyOscillator.control_time:D
12: aload 0
dconst_0
putfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_factor:D
13: iconst_0
istore 1
start local 1 14: goto 17
15: StackMap locals: com.sun.media.sound.SoftLowFrequencyOscillator int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_stepfreq:[D
iload 1
ldc -Infinity
dastore
16: iinc 1 1
StackMap locals:
StackMap stack:
17: iload 1
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_stepfreq:[D
arraylength
if_icmplt 15
end local 1 18: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/media/sound/SoftLowFrequencyOscillator;
14 18 1 i I
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 11
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.out:[[D
iload 1
aaload
iconst_0
dconst_0
dastore
3: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.delay:[[D
iload 1
aaload
iconst_0
dconst_0
dastore
4: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.delay2:[[D
iload 1
aaload
iconst_0
dconst_0
dastore
5: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.freq:[[D
iload 1
aaload
iconst_0
dconst_0
dastore
6: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.delay_counter:[I
iload 1
iconst_0
iastore
7: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_phase:[D
iload 1
dconst_0
dastore
8: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_stepfreq:[D
iload 1
ldc -Infinity
dastore
9: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_step:[D
iload 1
dconst_0
dastore
10: iinc 1 1
StackMap locals:
StackMap stack:
11: iload 1
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.used_count:I
if_icmplt 2
end local 1 12: aload 0
iconst_0
putfield com.sun.media.sound.SoftLowFrequencyOscillator.used_count:I
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/media/sound/SoftLowFrequencyOscillator;
1 12 1 i I
public void init(com.sun.media.sound.SoftSynthesizer);
descriptor: (Lcom/sun/media/sound/SoftSynthesizer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dconst_1
aload 1
invokevirtual com.sun.media.sound.SoftSynthesizer.getControlRate:()F
f2d
ddiv
putfield com.sun.media.sound.SoftLowFrequencyOscillator.control_time:D
1: aload 0
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.control_time:D
ldc 2.0
dmul
ldc 3.141592653589793
dmul
putfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_factor:D
2: iconst_0
istore 2
start local 2 3: goto 11
4: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.delay_counter:[I
iload 2
ldc 2.0
5: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.delay:[[D
iload 2
aaload
iconst_0
daload
ldc 1200.0
ddiv
6: invokestatic java.lang.Math.pow:(DD)D
7: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.control_time:D
ddiv
d2i
8: iastore
9: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.delay_counter:[I
iload 2
dup2
iaload
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.delay2:[[D
iload 2
aaload
iconst_0
daload
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.control_time:D
ldc 1000.0
dmul
ddiv
d2i
iadd
iastore
10: iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.used_count:I
if_icmplt 4
end local 2 12: aload 0
invokevirtual com.sun.media.sound.SoftLowFrequencyOscillator.processControlLogic:()V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/media/sound/SoftLowFrequencyOscillator;
0 14 1 synth Lcom/sun/media/sound/SoftSynthesizer;
3 12 2 i I
MethodParameters:
Name Flags
synth
public void processControlLogic();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 21
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.delay_counter:[I
iload 1
iaload
ifle 6
3: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.delay_counter:[I
iload 1
dup2
iaload
iconst_1
isub
iastore
4: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.out:[[D
iload 1
aaload
iconst_0
ldc 0.5
dastore
5: goto 20
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.freq:[[D
iload 1
aaload
iconst_0
daload
dstore 2
start local 2 7: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_stepfreq:[D
iload 1
daload
dload 2
dcmpl
ifeq 13
8: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_stepfreq:[D
iload 1
dload 2
dastore
9: ldc 440.0
10: dload 2
ldc 6900.0
dsub
ldc 2.0
invokestatic java.lang.Math.log:(D)D
ldc 1200.0
ddiv
dmul
11: invokestatic java.lang.Math.exp:(D)D
dmul
dstore 4
start local 4 12: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_step:[D
iload 1
dload 4
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_factor:D
dmul
dastore
end local 4 13: StackMap locals: double
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_phase:[D
iload 1
daload
dstore 4
start local 4 14: dload 4
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_step:[D
iload 1
daload
dadd
dstore 4
15: goto 17
16: StackMap locals: double
StackMap stack:
dload 4
ldc 6.283185307179586
dsub
dstore 4
17: StackMap locals:
StackMap stack:
dload 4
ldc 6.283185307179586
dcmpl
ifgt 16
18: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.out:[[D
iload 1
aaload
iconst_0
ldc 0.5
dload 4
invokestatic java.lang.Math.sin:(D)D
ldc 0.5
dmul
dadd
dastore
19: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.sin_phase:[D
iload 1
dload 4
dastore
end local 4 end local 2 20: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
21: iload 1
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.used_count:I
if_icmplt 2
end local 1 22: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/media/sound/SoftLowFrequencyOscillator;
1 22 1 i I
7 20 2 f D
12 13 4 fr D
14 20 4 p D
public double[] get(int, java.lang.String);
descriptor: (ILjava/lang/String;)[D
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.used_count:I
if_icmplt 2
1: aload 0
iload 1
iconst_1
iadd
putfield com.sun.media.sound.SoftLowFrequencyOscillator.used_count:I
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.out:[[D
iload 1
aaload
areturn
4: StackMap locals:
StackMap stack:
aload 2
ldc "delay"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.delay:[[D
iload 1
aaload
areturn
6: StackMap locals:
StackMap stack:
aload 2
ldc "delay2"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.delay2:[[D
iload 1
aaload
areturn
8: StackMap locals:
StackMap stack:
aload 2
ldc "freq"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aload 0
getfield com.sun.media.sound.SoftLowFrequencyOscillator.freq:[[D
iload 1
aaload
areturn
10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/media/sound/SoftLowFrequencyOscillator;
0 11 1 instance I
0 11 2 name Ljava/lang/String;
MethodParameters:
Name Flags
instance
name
}
SourceFile: "SoftLowFrequencyOscillator.java"