[Csnd] Why faust opcodes are not present in the official build?
Date | 2018-08-17 11:00 |
From | Mauro Giubileo |
Subject | [Csnd] Why faust opcodes are not present in the official build? |
Hi, I learned from Michael Gogins that in Csound there are some opcodes to compile just-in-time and to run an instance of a compiled Faust program... I was so excited about the possibilities: you could write in a few minutes fast new opcodes without having to write and compile true Csound plugins (think about all those UDO that require to set ksmps=1 inside them, because they have to do sample-by-sample computations, how much they could benefit from this)! So, for testing, I wanted to compare the execution time of the "biquad" native Csound opcode with a Faust equivalent implementation JIT-compiled at run-time. I wrote my Faust version of 'biquad' (I know that Faust standard library already has a biquad implementation, but I took the opportunity to learn the Faust language) and then I wrote a Csound program to test it but... I discovered that, at least on Windows, the last official Csound binary (v6.11) doesn't support the Faust opcodes at all! If I do a 'csound -z' to list all the supported opcodes, there is no trace of faustaudio, faustgen, faustcompile, etc. ... But in the Csound reference docs there is nothing that suggests that Faust opcodes are not builded in the official release... Is this a bug? Best Regards, |