SC-HOA
SC-HOA copied to clipboard
Errors in HOAAmbiDecoderHelper.sc
String concatenation causes problems on Linux. Changing it to the following fixes it: file.write("\t unix(["faust2supercollider -sn -ks ",out_path,num2str(order,0),".dsp"]);\n");
Hi @anwaldt
Thanks for reporting this.
The solution you provide does not compile for me tho,
As you can see with the js highlighting below,
the faust2supercollider -sn -ks ",out_path,num2str(order,0),
line
isn't between quotes
file.write("\t unix(["faust2supercollider -sn -ks ",out_path,num2str(order,0),".dsp"]);\n");
did you mean
file.write("\t unix([\"faust2supercollider -sn -ks \",out_path,num2str(order,0),\".dsp\"]);\n");
with the quotes escaped ?