Warning: session_start(): open(/var/lib/php/sessions/sess_sjusaub0cugsi2631c4udj15k0, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static float showFrequencyImage2_maxValue = 0.3f;
static ImageSurface showFrequencyImage2(File audioFile) {
if (audioFile == null) null;
ret showFrequencyImage2(audioFile.getName(), audioFileToFrequencyImage(audioFile));
}
static ImageSurface showFrequencyImage2(S name, BWImage img) {
ImageSurface is = showZoomedBWImage(name, img);
final ImageSurface is2 = jImageSurface();
is2.setZoom(2);
final SimpleLiveValue lvThreshold = floatLiveValue(0.1f);
Runnable update = runAndReturn(r {
is2.setImage(bwImage_markColumnsWhite(img.getWidth(), 10, printStruct("change points: ", audio_changePoints1(img, lvThreshold!))));
});
lvThreshold.onChange(update);
addToWindowAndPack(is, vstack(is2, jLiveValueSliderZeroToX(showFrequencyImage2_maxValue, lvThreshold)));
ret is;
}