be.tarsos.dsp.beatroot.Agent.class Maven / Gradle / Ivy
???? 31
$ ?
? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ???z?G?{ ?@I ?@$ ? ? ? ???
?
? ? ? ? ?
? ?
? ?
? ? ?
? ?
? @ ?
?
? ? ? ?
? @ ? ? ?
3 ? ?
3 ? ? ? ?
3 ? ?
3 ?
? ?
? ? ?
? ?
?
? ?
?
? ? ? ? ? ? ???z?G?{?? ?
? ? ?
@ ?
? ? ? ?
? ?
? ? ?
? ? ? ? ? ? ? ? @ ??PbM???
? ???333333??333333?ə??????? debug Z POST_MARGIN_FACTOR D PRE_MARGIN_FACTOR INNER_MARGIN
ConstantValue
MAX_CHANGE CONF_FACTOR DEFAULT_CORRECTION_FACTOR DEFAULT_EXPIRY_TIME idCounter I innerMargin correctionFactor
expiryTime decayFactor preMargin
postMargin idNumber
tempoScore
phaseScore topScoreTime beatCount beatInterval initialBeatInterval beatTime events "Lbe/tarsos/dsp/beatroot/EventList; (D)V Code !(Lbe/tarsos/dsp/beatroot/Agent;)V init print ()V (I)V
StackMapTable accept #(Lbe/tarsos/dsp/beatroot/Event;DI)V ? ? ? ? ? threshold (DDD)D considerAsBeat C(Lbe/tarsos/dsp/beatroot/Event;Lbe/tarsos/dsp/beatroot/AgentList;)Z fillBeats newBeat "(DI)Lbe/tarsos/dsp/beatroot/Event; showTracking %(Lbe/tarsos/dsp/beatroot/EventList;)V &(Lbe/tarsos/dsp/beatroot/EventList;D)V ? ? ? ? ? t u | u ~ l } l l ? u ? l ? l ? l be/tarsos/dsp/beatroot/EventList ? ? ? ? { l z l be/tarsos/dsp/beatroot/Agent v l w l x l y l k l m l ? ? Ag#%4d: %5.3f java/lang/Object ?
0 Beat#%3d Time=%7.3f Score=%4.2f:P%4.2f:%3.1f ? ? ?
l p l q l ? ? l i j java/lang/StringBuilder Err= + %5.3f %5.3f
? ? be/tarsos/dsp/beatroot/Event ? ? ? ? ?!" #$%& Insert beat at: %8.3f (n=%1.0f)
? ?' ?( ? ?) No beats found*+ %Beat (IBI) BeatTime Other Events ?*,- l
%4d (%5.3f) [%7.3f ]
%4d (%5.3f)
%8.3f%c . l/0 java/io/PrintStream java/lang/String java/util/ListIterator [Ljava/lang/Object; java/lang/System out Ljava/io/PrintStream; java/lang/Integer valueOf (I)Ljava/lang/Integer; java/lang/Double (D)Ljava/lang/Double; printf <(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream; println keyDown add !(Lbe/tarsos/dsp/beatroot/Event;)V java/lang/Math abs (D)D salience append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; l Ljava/util/LinkedList; java/util/LinkedList getLast ()Ljava/lang/Object; round (D)J be/tarsos/dsp/beatroot/AgentList listIterator ()Ljava/util/ListIterator; hasNext ()Z next previous (Ljava/lang/Object;)V (DDDIIDDI)V err (Ljava/lang/String;)V getFirst be/tarsos/dsp/beatroot/Induction clusterWidth scoreBeat java/lang/Character (C)Ljava/lang/Character; ! $ i j k l m l n l o p l q l r l o s l o t u v l w l x l y l z l { l | u } l ~ l l ? u ? l ? l ? l ? ? ? ? ?
*? *'? ? ? ? ? u i*? *? Y`? ? *+? ? *+? ? *+? ? *+? ? *+? ? *+?
?
*+? ? *? Y+?
? ?
*+? ? *+? ? ? ? ? ? r f ? ? ? ? *'? *'?
*'? k? *'? k? *? Y`? ? *? *? *? *? * ? *? Y? ?
? ? ? ? *d? !? ? ? ? ? }? "#? $Y*? ? %SY*? ? &S? 'W? B? "(? $Y*? ? %SY*? ? &SY*? ? &SY*? ? &SY*? ? &S? 'W? ? "? )?
*?
? *? ? ? e
? ? ? ?
*+? +? *?
+? ,*?
*? g(? og? -? .*?
k?? *Y? (? oc? *Y? `? ? /(k(??
*? ? *? wog9? ?? 1**? ?? ? 0og9**? kgk+? 1kc? ? *Y? +? 1kc? ? 2? `*? !? "? 3Y? 45? 6(?? 7? 8? 69? 6(? -? ?? *? ? :;? 6? <? $Y(? &SY? &S? 'W? ? ?