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:
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! ;-)
____________
System Info:
System:
Host: toxonic-studio Kernel: 4.15.0-72-generic x86_64 bits: 64
Desktop: Cinnamon 4.2.4 Distro: Linux Mint 19.2 Tina
Machine:
Type: Desktop Mobo: ASUSTeK model: F1A55-M LK R2.0 v: Rev X.0x
serial: <root required> BIOS: American Megatrends v: 0501 date:
05/31/2012
CPU:
Quad Core: AMD A8-3870 APU with Radeon HD Graphics type: MCP
speed: 1158 MHz min/max: 800/3000 MHz
Graphics:
Device-1: AMD BeaverCreek [Radeon HD 6550D] driver: radeon v: kernel
Display: x11 server: X.Org 1.19.6 driver: ati,radeon
unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: AMD SUMO (DRM 2.50.0 / 4.15.0-72-generic LLVM 8.0.0)
v: 3.3 Mesa 19.0.8
Network:
Device-1: Qualcomm Atheros AR9287 Wireless Network Adapter driver: ath9k
Device-2: Qualcomm Atheros AR8161 Gigabit Ethernet driver: alx
Drives:
Local Storage: total: 931.51 GiB used: 88.48 GiB (9.5%)
Info:
Processes: 229 Uptime: 2h 37m Memory: 7.26 GiB used: 2.05 GiB (28.2%)
Shell: bash inxi: 3.0.32
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users