[Csnd] faust opcodes?
Date | 2017-10-13 21:58 |
From | Albert Graef |
Subject | [Csnd] faust opcodes? |
Hi Victor, I'd really appreciate your advice on this. Where do I find your Faust opcodes, is that supposed to be on https://github.com/csound somewhere? I couldn't find them, and my csound installation doesn't seem to have them preinstalled, so I guess that they're provided as plug-ins?Also, is there any documentation about how to get these up and running somewhere? Many thanks in advance, Albert -- Dr. Albert Gr"af Computer Music Research Group, JGU Mainz, Germany Email: aggraef@gmail.com WWW: https://plus.google.com/+AlbertGraef |
Date | 2017-10-13 22:11 |
From | Steven Yi |
Subject | Re: [Csnd] faust opcodes? |
Faust opcodes are plugins for Csound. The code is here: https://github.com/csound/csound/blob/develop/Opcodes/faustgen.cpp and relevant build file stuff is here: https://github.com/csound/csound/blob/develop/Opcodes/CMakeLists.txt#L47-L51 https://github.com/csound/csound/blob/develop/Opcodes/CMakeLists.txt#L286-L307 On Fri, Oct 13, 2017 at 4:58 PM, Albert Graef |
Date | 2017-10-13 22:11 |
From | Victor Lazzarini |
Subject | Re: [Csnd] faust opcodes? |
If you are building from sources, then you can add the option in CMake. If libfaust is installed, then it should build.
If you run cmake-gui you will find the option
to turn on. I can't recall exactly the name.
The sources are in ./Opcodes/faustopcodes.cpp
(the only thing is that hopefully the faust
API has not changed since I last updated
this code. I have not been updating my
libfaust build very regularly).
Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2017-10-13 22:12 |
From | Steven Yi |
Subject | Re: [Csnd] faust opcodes? |
Also the relevant documentation: http://csound.github.io/docs/manual/faustgen.html http://csound.github.io/docs/manual/faustctl.html http://csound.github.io/docs/manual/faustcompile.html http://csound.github.io/docs/manual/faustaudio.html On Fri, Oct 13, 2017 at 5:11 PM, Victor Lazzarini |
Date | 2017-10-14 07:17 |
From | Albert Graef |
Subject | Re: [Csnd] faust opcodes? |
Attachments | Opcodes-CMakeLists.diff faust-minimal.csd |
Thanks guys, that did the trick! :) I had to fiddle a little with the cmake options (faust.a is now libfaust.a, and the '-Wl,-no-as-needed' linker option is now needed on Linux to force linkage with auxiliary shared libraries), but other than that it appears to work fine. I've attached the needed changes and also a minimal csd in case anyone else wants to give it a whirl. Cheers,On Fri, Oct 13, 2017 at 11:11 PM, Steven Yi <stevenyi@gmail.com> wrote: Faust opcodes are plugins for Csound. The code is here: -- Dr. Albert Gr"af Computer Music Research Group, JGU Mainz, Germany Email: aggraef@gmail.com WWW: https://plus.google.com/+AlbertGraef |
Date | 2017-10-14 07:22 |
From | Victor Lazzarini |
Subject | Re: [Csnd] faust opcodes? |
Thank you. We can add these to the Linux bits of CMakeLists.txt. The OSX settings do not need to change as I build the opcodes regularly here.
Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|