Am 08.12.19 um 20:06 schrieb Stéphane Letz:
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


/After i recognized, that i only replied to Stéphane, here again for the mailing list... shame on me :-//


Thank you for your fast reply!

This would require require an adaptation the LV2 C++ architecture file AFAICS.

Does this mean, Midi in Faust is not supported for LV2 at the moment?

Could t be an issue with your ALSA setup?

Do you have any produced core dump file to send?

I had no problems with ALSA, but i'm afraid, i don't really know. where should i begin? Jack applications don't work as well. After a while of searching the internet for "core dump files", i finally managed it, to find the directory where they are stored... but how can i open them or extract any useful information out of these files? i attached a core dump file to this email, which was created after an unexpected termination of a jack-qt4-64bit app, which i created in faust.

thank you for your help!
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to