Wrote /root/JavaX-Caches/tmp_1737248956/main.java - 291989 bytes (written=291989, should be 291989)
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_919635287 /root/JavaX-Caches/tmp_1737248956/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1737248956/main.java:65: error: incompatible types: int cannot be converted to boolean
if (phaseShifts = 0) return;
^
/root/JavaX-Caches/tmp_1737248956/main.java:66: error: cannot find symbol
setStart(currentPeriodStart + phaseShifts*interval);
^
symbol: method setStart(double)
location: class PianoSampler.Oscillator
/root/JavaX-Caches/tmp_1737248956/main.java:76: error: incompatible types: Channels cannot be converted to double
re = haar.get();
^
/root/JavaX-Caches/tmp_1737248956/main.java:84: error: incompatible types: Channels cannot be converted to double
im = haar.get();
^
/root/JavaX-Caches/tmp_1737248956/main.java:87: error: method complexChannels in class main cannot be applied to given types;
record(this, p1 /*TODO*/, complexChannels(re, im));
^
required: Channels,Channels
found: double,double
reason: argument mismatch; double cannot be converted to Channels
/root/JavaX-Caches/tmp_1737248956/main.java:102: error: cannot find symbol
setStart(currentSample + startPhase());
^
symbol: method setStart(double)
location: class PianoSampler.Oscillator
/root/JavaX-Caches/tmp_1737248956/main.java:159: error: cannot find symbol
o.relocate(t);
^
symbol: method relocate(Double)
location: variable o of type PianoSampler.Oscillator
/root/JavaX-Caches/tmp_1737248956/main.java:261: error: method stepTo in class PianoSampler cannot be applied to given types;
stepTo(window.end());
^
required: DoubleRange
found: double
reason: argument mismatch; double cannot be converted to DoubleRange
8 errors