> Le 8 déc. 2019 à 17:36, Joachim Schneider <toxo...@toxonic.net> a écrit : > > hi all, > > i'm quite new to faust, but i recently tinkered around with the online editor > and made a bunch of tiny .dsp files, which i compiled to lv2 plugins (for > some reason, a lot of other formats will not be recognized by ardour or carla > such as vst, ladspa, dssi...). > > however, some parameters would be better, when they were in sync with the > host tempo, so my question is, how can i get the host tempo within the > plugin? i tried to compile the following example (found in the manual > https://faust.grame.fr/doc/manual/index.html#configuring-midi-in-faust ) into > a qt4-lv2, but it didn't work in ardour (although i sent the midi clock to > the input of the corresponding midi track): > import("stdfaust.lib"); > > > declare options "[midi:on]"; > > > // square signal (1/0), changing state at each received clock > clocker = checkbox("MIDI clock[midi:clock]"); > > // ON/OFF button controlled with MIDI start/stop messages > play = checkbox("ON/OFF [midi:start] [midi:stop]"); > > // detect front > front(x) = (x-x') != 0.0; > > // count number of peaks during one second > freq(x) = ( > x...@ma.sr > ) : + ~ _; > > process = os.osc(8*freq(front(clocker))) * play > > can someone please help? > a second question by the way:
This would require require an adaptation the LV2 C++ architecture file AFAICS. > > when i compile a jack or alsa application (no matter, what kind of), none of > them work. the application terminates immediately after start with the > message: > Illegal > instruction (core dumped) > > any ideas? > > thanks in advance and sorry for my poor english! ;-) > Could t be an issue with your ALSA setup? Do you have any produced core dump file to send? Thanks. Stéphane _______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users