Closed selimbousbih closed 5 years ago
1) you can't use run time compiling on iOS, 2) we never tried yet on Android.
Thank you for your response. Is there another way to change the process signal at run time ? At first I assumed that apps like moforte's PowerStomp or Geoshred use run time compiling because they let you change their effect chains by adding and deleting effects
PowerStomp or Geoshred applications have separated Faust compiled DSPs (as C++ classes) that are dynamically combined in a chain using C++.
Yes, GeoShred effects are separate .h files compiled from separate Faust .dsp files. We have not needed to use dynamic linking yet, because the memory footprints are so small (go models!). :-)
Each #included .h file defines a class that can be instanced any number of times in the usual way (new, buildUserInterface, init, etc.). Then the "effects chain" is simply an array of dsp* pointers.
On Sun, Nov 18, 2018 at 12:11 AM Stéphane Letz notifications@github.com wrote:
PowerStomp or Geoshred applications have separated compiled DSPs that are dynamically compiled in a chain using C++.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/faust/issues/239#issuecomment-439654444, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGVFf8rnRGP9hj3Bvx5u5NVCGxNnWMKks5uwJeGgaJpZM4YdfI3 .
--
Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/
Thank you, I will try that
I was able to make the effects chain using an array of dsp* and linking them with dsp_sequence. I'm trying to add amp feedback to a guitar model. For the feedback, the guitar and the amp should be on the same dsp, however, the effects should be placed in the middle right ? Is there a way to dynamically change the effects chain in between ? Thanks again.
If I had a guitar on one dsp and its effects on another, I would implement amp feedback using an audio path back to the first dsp. Fortunately in this case, propagation through air is slow, so buffer latency is not an issue. :-)
On Mon, Dec 31, 2018 at 3:10 AM Selim Bousbih notifications@github.com wrote:
I was able to make the effects chain using an array of dsp* and linking them with dsp_sequence. I'm trying to add amp feedback to a guitar model. For the feedback, the guitar and the amp should be on the same dsp, however, the effects should be placed in the middle right ? Is there a way to dynamically change the effects chain in between ? Thanks again.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/faust/issues/239#issuecomment-450633827, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGVFd0ZIE2phBNHHA3Q0Pk9QFmWAI7vks5u-fCsgaJpZM4YdfI3 .
--
Julius O. Smith III jos@ccrma.stanford.edu Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ http://ccrma.stanford.edu/
I understand that the solution should be done in the c++ level. Please let me know if there is a way to do it using faust.
Thank you for your help. May you have a healthy and prosperous new year!
How to enable run time compiling in a smart keyboard project ? I couldn't access the llvm_dsp_factory from the dspfaust c++ since it is inside a if bloc. I am not familiar with the c++ environment, I tried setting dynamicdsp to true in the cmake options but it didn't work.