From c9a93f83de23c657e40b5f689c9faaa3b3c8828d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 5 Sep 2016 02:23:25 -0400 Subject: 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. --- bindings/test/bindings_test_plugin.ttl.in | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'bindings/test/bindings_test_plugin.ttl.in') 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: . @prefix foaf: . @prefix lv2: . +@prefix rdf: . +@prefix rdfs: . @prefix ui: . a lv2:Plugin ; doap:name "Lilv Bindings Test" ; doap:license ; + lv2:optionalFeature lv2:hardRTCapable ; + ui: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" ; ] . + + + a ui:GtkUI ; + ui:binary . -- cgit v1.2.1