This DSP example uses the « foreign function » mechanism : additional C/C++ code (like this getValueEQBandWidthFactor) that has to be compiled externally and linked in the resulting binary. This does not work in the Web platform. The piano.dsp example is a bit old and would need some recoding, like using the « waveform » primitive to recode this C table (defined in piano.h) in the Faust DSP itself.
Stéphane > Le 29 mai 2019 à 20:56, Scott R. Looney <scottrloo...@gmail.com> a écrit : > > hi Romain and everyone, thanks again for the piano example, but i'm having > trouble getting it to build, at least using the Web Editor. it also won't > export as a Pure Data object. > > the error i'm getting when trying to run is:ERROR : calling foreign function > 'getValueEQBandWidthFactor' is not allowed in this compilation mode! > > can't seem to download it as a Pure Data object either. i think it is likely > failing compilation there as well. > > any assistance appreciated! > > best, > scott > > On Mon, May 27, 2019 at 5:39 PM Julius Smith <j...@ccrma.stanford.edu> wrote: > Thanks Romain for jogging my memory about the faust-stk piano! > As I recall, that was a port of Scott Van Duyne's SynthBuilder piano to Faust. > I think I found it at > <faust>/examples/physicalModeling/faust-stk/piano.dsp > In there, search for "allPass" or "stiffnessCoefficient", etc. > > Cheers, > - Julius > > On Mon, May 27, 2019 at 11:56 AM Scott R. Looney <scottrloo...@gmail.com> > wrote: > > > > oops - looks like it fails compilation on the Web Editor at least: > > > > ERROR : calling foreign function 'getValueEQBandWidthFactor' is not allowed > > in this compilation mode! > > > > can't seem to download it as a Pure Data object either. i think it is > > likely failing compilation there as well. > > > > best, > > scott > > > > On Mon, May 27, 2019 at 11:48 AM Scott R. Looney <scottrloo...@gmail.com> > > wrote: > >> > >> excellent! this looks very much like something i can work with. thanks > >> very much Romain! just to make certain though - this does look like it's > >> missing the dispersion filter - is that correct? > >> > >> best, > >> scott > >> > >> On Mon, May 27, 2019 at 6:01 AM Stephen Sinclair <radars...@gmail.com> > >> wrote: > >>> > >>> On Mon, May 27, 2019 at 10:07 AM Romain Michon <rmnmic...@gmail.com> > >>> wrote: > >>> >> > >>> >> It's a bit old so ymmv. It would be cool to port it to Faust ;) > >>> > > >>> > > >>> > I did a quick port of it a loong time ago: > >>> > https://github.com/grame-cncm/faust/blob/master-dev/examples/physicalModeling/faust-stk/piano.dsp > >>> > >>> Oh wow very nice! :) > >>> > >>> Steve > > > > _______________________________________________ > > Faudiostream-users mailing list > > Faudiostream-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/faudiostream-users > > > > -- > > Julius O. Smith III <j...@ccrma.stanford.edu> > Professor of Music and, by courtesy, Electrical Engineering > CCRMA, Stanford University > http://ccrma.stanford.edu/~jos/ > _______________________________________________ > Faudiostream-users mailing list > Faudiostream-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/faudiostream-users _______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users