Wrote /root/JavaX-Caches/tmp_1898096817/main.java - 938 bytes (written=938, should be 938) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 1.8 -target 1.8 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_700155526 /root/JavaX-Caches/tmp_1898096817/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1898096817/main.java:1: error: class, interface, or enum expected File m4a = assertFileExistsVerbose(fileContainingIC(m4aFiles(musicDir()), "jazz funk")); ^ /root/JavaX-Caches/tmp_1898096817/main.java:2: error: class, interface, or enum expected File wav = replaceFileExtension(m4a, ".wav"); ^ /root/JavaX-Caches/tmp_1898096817/main.java:4: error: class, interface, or enum expected var samples = extractMonoSamplesFromWAV(wav, 0.0, 1.0); ^ /root/JavaX-Caches/tmp_1898096817/main.java:5: error: class, interface, or enum expected printVars(n := n2(l(samples)), min := shortMin(samples), max := shortMax(samples)); ^ /root/JavaX-Caches/tmp_1898096817/main.java:6: error: class, interface, or enum expected AudioRecognizer recognizer = new(samples, 1); ^ /root/JavaX-Caches/tmp_1898096817/main.java:7: error: class, interface, or enum expected print(amplitude := recognizer.mainSample.maxAmplitude()); ^ /root/JavaX-Caches/tmp_1898096817/main.java:8: error: class, interface, or enum expected recognizer.normalize(); ^ /root/JavaX-Caches/tmp_1898096817/main.java:9: error: class, interface, or enum expected printVars(len := recognizer.mainSample.length(), amplitude := recognizer.mainSample.maxAmplitude()); ^ /root/JavaX-Caches/tmp_1898096817/main.java:10: error: class, interface, or enum expected recognizer.speedUp(10); ^ /root/JavaX-Caches/tmp_1898096817/main.java:11: error: class, interface, or enum expected recognizer.normalize(); ^ /root/JavaX-Caches/tmp_1898096817/main.java:12: error: class, interface, or enum expected printVars(len := recognizer.mainSample.length(), amplitude := recognizer.mainSample.maxAmplitude(), sampleRate := recognizer.mainSample.sampleRate()); ^ /root/JavaX-Caches/tmp_1898096817/main.java:14: error: class, interface, or enum expected ret recognizer.mainSample.render(); ^ 12 errors