be.tarsos.dsp.granulator.Granulator.class Maven / Gradle / Ivy
???? 3 ?
: v / w x
v / y / z / {D4 / | / } / ~B / B? / ?=??? / ? ?
v
? / ? / ?Dz / ? / ? / ? ?
v / ? ?@? ? ?
?
? ?
? ?
? ?
? ?
/ ?
?
?
? / ?
?
/ ?
/ ? ?@
/ ??
/ ?
/ ?
?
?
? ?
/ ?
? ? ? ? ADAPTIVE_INTERP_LOW_THRESH F
ConstantValue ADAPTIVE_INTERP_HIGH_THRESH position D positionIncrement
grainInterval grainSize grainRandomness timeSinceLastGrain msPerSample pitchFactor timeStretchFactor grains Ljava/util/ArrayList; Signature 7Ljava/util/ArrayList;
freeGrains
deadGrains window [F audioBuffer audioBufferWatermark I outputBuffer
firstGrain Z (FI)V Code start ()V
StackMapTable process (Lbe/tarsos/dsp/AudioEvent;)Z ? ? ? getFrameLinear (D)D getFrameNoInterp (D)F
getFrameCubic msToSamples processingFinished getValueFraction (F)F calculateNextGrainPosition #(Lbe/tarsos/dsp/granulator/Grain;)V setTimestretchFactor (F)V setPitchShiftFactor setGrainInterval (I)V setGrainSize setGrainRandomness setPosition X \ V W java/util/ArrayList J K N K O K R Q S T H = C = D = E = #be/tarsos/dsp/util/fft/CosineWindow ? ? P Q U Q G A B A F = be/tarsos/dsp/granulator/Grain @ A ? A D A ? ? ? ? ? ? ? ? ? ? ? ? ? V \ ? ? ? ? ? ? I = ? ? j k c d #be/tarsos/dsp/granulator/Granulator e f g f l m ? ? ? \ ? ? h d ? ? d java/lang/Object be/tarsos/dsp/AudioProcessor be/tarsos/dsp/AudioEvent
generateCurve (I)[F age add (Ljava/lang/Object;)Z getFloatBuffer ()[F
getBufferSize ()I java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V java/util/Arrays fill ([FF)V size get (I)Ljava/lang/Object; remove reset (DDDDD)V clear setFloatBuffer ([F)V java/lang/Math floor ! / : ; <