diff options
author | David Robillard <d@drobilla.net> | 2016-09-05 02:23:25 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-09-05 02:23:25 -0400 |
commit | c9a93f83de23c657e40b5f689c9faaa3b3c8828d (patch) | |
tree | d82e18e54f04e94fc07f9bfdaf32b8fd71cd6c9d /bindings/test/bindings_test_plugin.ttl.in | |
parent | 5be277f5d9d2bbfa58028fb7522da4781450d6c4 (diff) | |
download | lilv-c9a93f83de23c657e40b5f689c9faaa3b3c8828d.tar.gz lilv-c9a93f83de23c657e40b5f689c9faaa3b3c8828d.tar.bz2 lilv-c9a93f83de23c657e40b5f689c9faaa3b3c8828d.zip |
Add new hand-crafted Python bindings
New bindings are Pythonic, supporting iteration, DWIM type conversion,
pretty printing, and so on, where possible. Updated test suite covers
100% of binding code. Which is to say: add real Python bindings.
As far as the Lilv API itself is concerned, you can do everything via
Python. However, more work is needed to make fancy wrappers for parts
of LV2 itself (MIDI, URI map, etc) to be able to run advanced plugins.
Diffstat (limited to 'bindings/test/bindings_test_plugin.ttl.in')
-rw-r--r-- | bindings/test/bindings_test_plugin.ttl.in | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/bindings/test/bindings_test_plugin.ttl.in b/bindings/test/bindings_test_plugin.ttl.in index a703432..e8323d5 100644 --- a/bindings/test/bindings_test_plugin.ttl.in +++ b/bindings/test/bindings_test_plugin.ttl.in @@ -16,18 +16,27 @@ @prefix doap: <http://usefulinc.com/ns/doap#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix lv2: <http://lv2plug.in/ns/lv2core#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix ui: <http://lv2plug.in/ns/extensions/ui#> . <http://example.org/lilv-bindings-test-plugin> a lv2:Plugin ; doap:name "Lilv Bindings Test" ; doap:license <http://opensource.org/licenses/isc> ; + lv2:optionalFeature lv2:hardRTCapable ; + ui:ui <http://example.org/lilv-bindings-test-plugin-ui> ; lv2:port [ a lv2:InputPort , lv2:ControlPort ; lv2:index 0 ; lv2:symbol "input" ; - lv2:name "Input" + lv2:name "Input" ; + lv2:default 0.5 ; + lv2:minimum 0.0 ; + lv2:maximum 1.0 ; + lv2:scalePoint [ rdfs:label "off" ; rdf:value 0.0 ] ; + lv2:scalePoint [ rdfs:label "on" ; rdf:value 1.0 ] ; ] , [ a lv2:OutputPort , lv2:ControlPort ; @@ -47,3 +56,7 @@ lv2:symbol "audio_output" ; lv2:name "Audio Output" ; ] . + +<http://example.org/lilv-bindings-test-plugin-ui> + a ui:GtkUI ; + ui:binary <TODO> . |