Re: [Csnd] Why faust opcodes are not present in the official build?
Date | 2018-08-18 03:25 |
From | Partev Barr Sarkissian |
Subject | Re: [Csnd] Why faust opcodes are not present in the official build? |
I got the impression that Faust (and PD) tends to go together with STK (used at CCRMA). Not certain how well these would play nice or not with one another. -PBS ===================================== --- mgiubileo@COMPUTERALTAFED.IT wrote: From: Mauro Giubileo <mgiubileo@COMPUTERALTAFED.IT> To: CSOUND@LISTSERV.HEANET.IE Subject: [Csnd] Why faust opcodes are not present in the official build? Date: Fri, 17 Aug 2018 12:00:20 +0200 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, Netscape. Just the Net You Need. |
Date | 2018-08-18 09:17 |
From | Mauro Giubileo |
Subject | Re: [Csnd] Why faust opcodes are not present in the official build? |
Do you mean there could be licensing problems with Csound? Faust uses LGPL and STK licenses. The STK license is one of the least restrictive licenses I have ever seen, so I don't think there could be a problem. I think that the unavailability of Faust opcodes inside the current Windows build of Csound could be just a bug... Mauro Il 2018-08-18 04:25 Partev Barr Sarkissian ha scritto:
|
Date | 2018-08-18 09:27 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Why faust opcodes are not present in the official build? |
What 'official build'? They are distributed on MacOS. On Linux, they can be built from sources. On Windows, they are not in the
package, as no one has looked into how
to build them. The dependencies are libfaust and LLVM.
Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2018-08-18 10:33 |
From | Mauro Giubileo |
Subject | Re: [Csnd] Why faust opcodes are not present in the official build? |
For "official build" I meant the Csound package already compiled in binary form and ready to use for a certain platform (Windows in my case). I download them from here: https://csound.com/download.html So, from your answer I understand that Faust opcodes are not builded inside the actual Windows compiled package but only in the MacOS one. Are there instructions on how to build a Windows version with them included? Regards, Il 2018-08-18 10:27 Victor Lazzarini ha scritto: What 'official build'? They are distributed on MacOS. On Linux, they can be built from sources. On Windows, they are not in the |
Date | 2018-08-18 13:33 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Why faust opcodes are not present in the official build? |
There are no instructions for Windows, but they depend on the Csound headers and faustlib being present. Faustlib itself depends on LLVM. I am not sure how these things are built on Windows, but on Unix-like systems 1) Download, build and install LLVM 2) Download, build and install faustlib 3) Download and build Csound. The CMake script should find faustlib, if not you will need to adjust the faust header and/or lib paths before running it again. best ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 18 Aug 2018, at 10:33, Mauro Giubileo |
Date | 2018-08-18 14:07 |
From | luis jure |
Subject | Re: [Csnd] Why faust opcodes are not present in the official build? |
el 2018-08-18 a las 12:33 Victor Lazzarini escribió: > 2) Download, build and install faustlib do you mean this?: https://github.com/grame-cncm/faust -- Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2018-08-18 14:28 |
From | Mauro Giubileo |
Subject | Re: [Csnd] Why faust opcodes are not present in the official build? |
Thanks, I will try... Regards, Il 2018-08-18 14:33 Victor Lazzarini ha scritto:
|
Date | 2018-08-18 14:54 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Why faust opcodes are not present in the official build? |
yes, that one. There may be some binary packages for some linux distros. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 18 Aug 2018, at 14:07, luis jure |