SC-HOA icon indicating copy to clipboard operation
SC-HOA copied to clipboard

Errors in HOAAmbiDecoderHelper.sc

Open anwaldt opened this issue 4 years ago • 1 comments

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");

anwaldt avatar Sep 29 '20 21:09 anwaldt

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 ?

thibaudk avatar Oct 01 '20 09:10 thibaudk