!7 // reacts to new recording or file path on clipboard sclass AnalyzeLastRecording > DynSCP { start { set verboseTimers; dm_onNewRecordingOrWAVOnClipboard(voidfunc(File f) { print("Analyzing " + f.getName()); BWImage image = audioFileToFrequencyImage(f); new Var processedImage; L entryPoints = audio_entryPointsUsingBand_v1(image, audio_bestBandForEntryPoints(), +processedImage); setComponent(jscroll_center(jImageSurface( markIntRangesOnTopOfBWImage(squishBWImage(processedImage!, 20), intsToSize2Ranges(entryPoints), 5)).setZoom(2))); setFileInfoFieldIfNotNull(f, 'Guess, audio_yesNoGuess1(f)); }); } }