!7 // reacts to new recording or file path on clipboard cmodule AnalyzeLastRecording > DynSCP { start { set verboseTimers; dm_onNewRecordingOrWAVOnClipboard(voidfunc(File f) { print("Analyzing " + f.getName()); BWImage image = audioFileToFrequencyImage(f); set audio_defaultClip_useExitPoints; new Var processedImage; L entryPoints = audio_entryPoints_v1(image, +processedImage); L exitPoints = audio_exitPoints_v1(image); L images = ll(markIntRangesOnTopOfBWImage(squishBWImage(processedImage!, 20), intsToSize2Ranges(entryPoints), intsToSize2Ranges(exitPoints))); images.add(audio_autoClipAndVisualizeTwoWordAnalyzer1(f, audio_yesNoAnalyzer2())); setComponent(jscroll_center(jImageSurface( mergeBWImagesVertically(images)).setZoom(2))); setFileInfoFieldIfNotNull(f, 'Guess, print("Guess", audio_yesNoGuess2(f))); }); } }