2009-05-30 15:18:21 +00:00
|
|
|
Gst-LV2 Quickstart
|
|
|
|
|
|
|
|
Dependencies:
|
|
|
|
|
2016-04-01 19:24:34 +00:00
|
|
|
Lilv 0.6.6 <http://drobilla.net/software/lilv/>
|
2009-05-30 15:18:21 +00:00
|
|
|
|
|
|
|
|
2016-05-12 17:52:06 +00:00
|
|
|
Features:
|
|
|
|
|
|
|
|
The plugin wrapper support the following plugin features:
|
|
|
|
http://lv2plug.in/ns/lv2core
|
2016-05-16 05:05:43 +00:00
|
|
|
http://lv2plug.in/ns/ext/event
|
2016-05-12 17:52:06 +00:00
|
|
|
http://lv2plug.in/ns/ext/port-groups
|
|
|
|
|
|
|
|
and these host features:
|
2016-05-14 19:35:15 +00:00
|
|
|
http://lv2plug.in/ns/ext/log
|
|
|
|
http://lv2plug.in/ns/ext/urid
|
2016-05-12 17:52:06 +00:00
|
|
|
|
2009-05-30 15:18:21 +00:00
|
|
|
Example Pipeline:
|
|
|
|
|
|
|
|
Requires swh-lv2 <http://plugin.org.uk/releases/>
|
|
|
|
|
2016-04-01 19:24:34 +00:00
|
|
|
gst-launch-1.0 -v filesrc location=/usr/share/sounds/login.wav ! wavparse ! audioconvert ! plugin-org-uk-swh-plugins-djFlanger ! audioconvert ! autoaudiosink
|
2009-05-30 15:18:21 +00:00
|
|
|
(A longer wav will be a better example)
|
2010-02-01 20:24:52 +00:00
|
|
|
|
2016-05-12 17:52:06 +00:00
|
|
|
gst-launch-1.0 plugin-org-uk-swh-plugins-analogueOsc num-buffers=100 wave=1 ! wavenc ! filesink location="/tmp/lv2.wav"
|
2010-02-01 20:24:52 +00:00
|
|
|
|
|
|
|
Requires calf <http://calf.sourceforge.net/>
|
|
|
|
|
2016-04-01 19:24:34 +00:00
|
|
|
GST_DEBUG="*:2,lv2:5"
|
|
|
|
gst-launch-1.0 calf-sourceforge-net-plugins-Monosynth event-in="C-3" ! autoaudiosink
|
|
|
|
gst-launch-1.0 calf-sourceforge-net-plugins-Monosynth event-in="C-3" name=ms ! autoaudiosink ms. ! fakesink
|
|
|
|
gst-launch-1.0 calf-sourceforge-net-plugins-Organ event-in="C-3" name=s ! interleave name=i ! autoaudiosink s. ! i.
|
2010-02-01 20:24:52 +00:00
|
|
|
|
2016-05-12 17:52:06 +00:00
|
|
|
|
|
|
|
TODO
|
|
|
|
* support presets
|
2016-05-16 05:05:43 +00:00
|
|
|
for pl in $(lv2ls); do if test "$(lv2info "$pl" | grep -A1 "Presets:" | tail -n1)" != ""; then echo "$pl"; fi; done
|
2016-05-12 17:52:06 +00:00
|
|
|
* support more host features
|
2016-05-14 19:35:15 +00:00
|
|
|
GST_DEBUG="lv2:4" GST_DEBUG_FILE=/tmp/gst.log gst-inspect lv2
|
|
|
|
grep -o "needs host feature: .*$" /tmp/gst.log | sort | uniq -c | sort -n
|
2016-05-12 17:52:06 +00:00
|
|
|
|
2016-05-16 05:05:43 +00:00
|
|
|
* example sources:
|
2016-05-12 17:52:06 +00:00
|
|
|
http://svn.drobilla.net/lad/trunk/lilv/utils/lv2info.c
|
|
|
|
http://svn.drobilla.net/lad/trunk/jalv/src/jalv.c
|