Wrote /root/JavaX-Caches/tmp_699706286/main.java - 7388 bytes (written=7388, should be 7388) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 11 -target 11 -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_1466098339 /root/JavaX-Caches/tmp_699706286/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_699706286/main.java:3: error: class, interface, or enum expected sclass ContinuousOscillators_v2 extends Meta { ^ /root/JavaX-Caches/tmp_699706286/main.java:6: error: class, interface, or enum expected settable bool bassFirst; ^ /root/JavaX-Caches/tmp_699706286/main.java:7: error: class, interface, or enum expected settable bool printSubtractions; ^ /root/JavaX-Caches/tmp_699706286/main.java:8: error: class, interface, or enum expected int channels = 1; ^ /root/JavaX-Caches/tmp_699706286/main.java:9: error: class, interface, or enum expected settable double sampleRate = 48000; ^ /root/JavaX-Caches/tmp_699706286/main.java:10: error: class, interface, or enum expected double currentSample; ^ /root/JavaX-Caches/tmp_699706286/main.java:11: error: class, interface, or enum expected IAudioSample audio; // integrated audio sample ^ /root/JavaX-Caches/tmp_699706286/main.java:12: error: class, interface, or enum expected SubtractedAudio subtractedAudio; // audio with deleted frequencies ^ /root/JavaX-Caches/tmp_699706286/main.java:13: error: class, interface, or enum expected settable bool keepRendered; ^ /root/JavaX-Caches/tmp_699706286/main.java:14: error: class, interface, or enum expected transient double[] rendered; ^ /root/JavaX-Caches/tmp_699706286/main.java:16: error: class, interface, or enum expected bool renderUsingSine; // or square wave ^ /root/JavaX-Caches/tmp_699706286/main.java:17: error: class, interface, or enum expected bool realOnly, imagOnly; // for testing ^ /root/JavaX-Caches/tmp_699706286/main.java:18: error: class, interface, or enum expected double maxRelFreq = 0.5; // maximum oscillator frequency relative to sample rate ^ /root/JavaX-Caches/tmp_699706286/main.java:20: error: class, interface, or enum expected event escalating(Oscillator o); ^ /root/JavaX-Caches/tmp_699706286/main.java:22: error: class, interface, or enum expected long haarFeaturesChecked; ^ /root/JavaX-Caches/tmp_699706286/main.java:24: error: class, interface, or enum expected persistable class Oscillator extends HasKey<Frequency> { ^ /root/JavaX-Caches/tmp_699706286/main.java:27: error: illegal start of type new TreeMap<DoubleRange, Channels<Complex>> intensities; ^ /root/JavaX-Caches/tmp_699706286/main.java:30: error: illegal start of type *(Frequency f) { ^ /root/JavaX-Caches/tmp_699706286/main.java:30: error: ';' expected *(Frequency f) { ^ /root/JavaX-Caches/tmp_699706286/main.java:35: error: ';' expected Frequency frequency() { ret key(); } ^ /root/JavaX-Caches/tmp_699706286/main.java:38: error: <identifier> expected scaffolded void record_impl(DoubleRange r, Channels<Complex> c) { ^ /root/JavaX-Caches/tmp_699706286/main.java:45: error: '(' expected void escalate { ^ /root/JavaX-Caches/tmp_699706286/main.java:47: error: illegal start of expression rcallF(oscillators.higher(this), o -> { o?.process(currentPeriodStart); }); ^ /root/JavaX-Caches/tmp_699706286/main.java:47: error: not a statement rcallF(oscillators.higher(this), o -> { o?.process(currentPeriodStart); }); ^ /root/JavaX-Caches/tmp_699706286/main.java:51: error: ';' expected renderer from method; ^ /root/JavaX-Caches/tmp_699706286/main.java:51: error: not a statement renderer from method; ^ /root/JavaX-Caches/tmp_699706286/main.java:60: error: <identifier> expected scaffolded void process(double upTo) { ^ /root/JavaX-Caches/tmp_699706286/main.java:68: error: <identifier> expected scaffolded void measure() { ^ /root/JavaX-Caches/tmp_699706286/main.java:70: error: <identifier> expected AudioHaarFeature haar = new(relevantAudio(), p1); ^ /root/JavaX-Caches/tmp_699706286/main.java:75: error: ';' expected double phase360() { ret currentPeriodStart + interval(); } ^ /root/JavaX-Caches/tmp_699706286/main.java:78: error: class, interface, or enum expected IAudioSample relevantAudio() { ret subtractedAudio; } ^ /root/JavaX-Caches/tmp_699706286/main.java:78: error: class, interface, or enum expected IAudioSample relevantAudio() { ret subtractedAudio; } ^ /root/JavaX-Caches/tmp_699706286/main.java:82: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_699706286/main.java:83: error: class, interface, or enum expected *(IAudioSample audio, double *currentSample) { setAudio(audio); } ^ /root/JavaX-Caches/tmp_699706286/main.java:84: error: class, interface, or enum expected *(IAudioSample audio) { setAudio(audio); } // start at time 0 ^ /root/JavaX-Caches/tmp_699706286/main.java:89: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:93: error: class, interface, or enum expected subtractedAudio = new SubtractedAudio(audio); ^ /root/JavaX-Caches/tmp_699706286/main.java:94: error: class, interface, or enum expected if (keepRendered) rendered = new double[iceil(audio.length())]; ^ /root/JavaX-Caches/tmp_699706286/main.java:95: error: class, interface, or enum expected assertEquals("bounds", audio.bounds(), subtractedAudio.bounds()); ^ /root/JavaX-Caches/tmp_699706286/main.java:96: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:98: error: class, interface, or enum expected int nFrequencies() { ret oscillators.size(); } ^ /root/JavaX-Caches/tmp_699706286/main.java:102: error: class, interface, or enum expected o?.process(timeRange.end); ^ /root/JavaX-Caches/tmp_699706286/main.java:103: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:107: error: class, interface, or enum expected o.record_impl(r, c); ^ /root/JavaX-Caches/tmp_699706286/main.java:108: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:110: error: class, interface, or enum expected Frequency lowestFrequency() { ret oscillators.firstKey(); } ^ /root/JavaX-Caches/tmp_699706286/main.java:111: error: class, interface, or enum expected Frequency highestFrequency() { ret oscillators.lastKey(); } ^ /root/JavaX-Caches/tmp_699706286/main.java:115: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:117: error: class, interface, or enum expected S stats() { ret renderVars(+audio, +haarFeaturesChecked); } ^ /root/JavaX-Caches/tmp_699706286/main.java:122: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:126: error: class, interface, or enum expected double[] col = rawImageColumn(timeRange); ^ /root/JavaX-Caches/tmp_699706286/main.java:127: error: class, interface, or enum expected double[] col2 = normalizeDoubles(col, 255); ^ /root/JavaX-Caches/tmp_699706286/main.java:128: error: class, interface, or enum expected ret bwIntegralImageFromFunction(1, n, (x, y) -> ifloor(col2[y])); ^ /root/JavaX-Caches/tmp_699706286/main.java:129: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:133: error: class, interface, or enum expected var l = reversedList(oscillators); ^ /root/JavaX-Caches/tmp_699706286/main.java:134: error: class, interface, or enum expected double[] col = new[n]; ^ /root/JavaX-Caches/tmp_699706286/main.java:135: error: class, interface, or enum expected for y to n: { ^ /root/JavaX-Caches/tmp_699706286/main.java:139: error: class, interface, or enum expected DoubleRange period = l2.floorKey(timeRange); ^ /root/JavaX-Caches/tmp_699706286/main.java:140: error: class, interface, or enum expected if (period == null) continue; ^ /root/JavaX-Caches/tmp_699706286/main.java:142: error: class, interface, or enum expected double amplitude = l2.get(period).first().abs(); ^ /root/JavaX-Caches/tmp_699706286/main.java:143: error: class, interface, or enum expected col[y] = amplitude; ^ /root/JavaX-Caches/tmp_699706286/main.java:144: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:147: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:151: error: class, interface, or enum expected double len = r.length()/sampleRate; ^ /root/JavaX-Caches/tmp_699706286/main.java:152: error: class, interface, or enum expected int pixels = iround(len*pixelsPerSecond); ^ /root/JavaX-Caches/tmp_699706286/main.java:153: error: class, interface, or enum expected for i to pixels: { ^ /root/JavaX-Caches/tmp_699706286/main.java:158: error: class, interface, or enum expected images.add(imageColumn(range)); ^ /root/JavaX-Caches/tmp_699706286/main.java:159: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:162: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:172: error: illegal start of type *(Oscillator *o) { ^ /root/JavaX-Caches/tmp_699706286/main.java:172: error: <identifier> expected *(Oscillator *o) { ^ /root/JavaX-Caches/tmp_699706286/main.java:172: error: <identifier> expected *(Oscillator *o) { ^ /root/JavaX-Caches/tmp_699706286/main.java:179: error: illegal start of expression intensity = period == null ?: o.intensities.get(period); ^ /root/JavaX-Caches/tmp_699706286/main.java:188: error: class, interface, or enum expected L<PerFreq> perFreqs = map(oscillatorsToRender, o -> new PerFreq(o)); ^ /root/JavaX-Caches/tmp_699706286/main.java:190: error: class, interface, or enum expected for i over samples: { ^ /root/JavaX-Caches/tmp_699706286/main.java:192: error: class, interface, or enum expected double sum = 0; ^ /root/JavaX-Caches/tmp_699706286/main.java:193: error: class, interface, or enum expected for (pf : perFreqs) { ^ /root/JavaX-Caches/tmp_699706286/main.java:195: error: class, interface, or enum expected bool shouldPrint = toAudio_shouldPrint(i, l(samples)); ^ /root/JavaX-Caches/tmp_699706286/main.java:197: error: class, interface, or enum expected if (pf.intensity != null) { ^ /root/JavaX-Caches/tmp_699706286/main.java:199: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_699706286/main.java:203: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:206: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:209: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:215: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_699706286/main.java:217: error: class, interface, or enum expected swappable bool toAudio_shouldPrint(int i, int n) { false; } ^ /root/JavaX-Caches/tmp_699706286/main.java:221: error: class, interface, or enum expected int n = l(rendered); ^ /root/JavaX-Caches/tmp_699706286/main.java:222: error: class, interface, or enum expected for i to n: { ^ /root/JavaX-Caches/tmp_699706286/main.java:224: error: class, interface, or enum expected assertDoublesVeryClose_warnOnly(-> "Sample " + i, ^ /root/JavaX-Caches/tmp_699706286/main.java:228: error: class, interface, or enum expected } ^ 89 errors