aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-27 15:42:46 +0000
committerDavid Robillard <d@drobilla.net>2011-10-27 15:42:46 +0000
commit50fc4c3dd2ac72311170436e455770f9c6814ffd (patch)
treee726df93aef0cfb6bd53e956a4ea1ecfa1d3b830 /ext
parent9adcb3b918e11838464e183c5b4dd2036dc67a03 (diff)
downloadlv2-50fc4c3dd2ac72311170436e455770f9c6814ffd.tar.xz
Port lv2specgen to rdflib.
Diffstat (limited to 'ext')
-rw-r--r--ext/cv-port.lv2/cv-port.ttl18
-rw-r--r--ext/event.lv2/event.ttl50
-rw-r--r--ext/host-info.lv2/host-info.ttl10
-rw-r--r--ext/pui-gtk.lv2/pui-gtk.ttl18
-rw-r--r--ext/time.lv2/time.ttl18
5 files changed, 57 insertions, 57 deletions
diff --git a/ext/cv-port.lv2/cv-port.ttl b/ext/cv-port.lv2/cv-port.ttl
index c9582df..c67b099 100644
--- a/ext/cv-port.lv2/cv-port.ttl
+++ b/ext/cv-port.lv2/cv-port.ttl
@@ -65,14 +65,14 @@ audio except in cases where this is known to be safe.
Example:
<pre>
&lt;http://example.org/some-plugin&gt;
- lv2:port [
- a cv:CVPort, lv2:InputPort ;
- lv2:index 0 ;
- lv2:minimum -1.0 ;
- lv2:maximum 1.0 ;
- lv2:default 0.0 ;
- lv2:symbol "modulation" ;
- lv2:name "Modulation" ;
- ] .
+ lv2:port [
+ a cv:CVPort, lv2:InputPort ;
+ lv2:index 0 ;
+ lv2:minimum -1.0 ;
+ lv2:maximum 1.0 ;
+ lv2:default 0.0 ;
+ lv2:symbol "modulation" ;
+ lv2:name "Modulation" ;
+ ] .
</pre>
""" .
diff --git a/ext/event.lv2/event.ttl b/ext/event.lv2/event.ttl
index 0cc5195..8691146 100644
--- a/ext/event.lv2/event.ttl
+++ b/ext/event.lv2/event.ttl
@@ -26,10 +26,10 @@
doap:license <http://opensource.org/licenses/isc-license> ;
doap:name "LV2 Event" ;
rdfs:seeAlso <event-helpers.h> ;
- doap:release [
- doap:revision "1.2" ;
- doap:created "2011-05-26"
- ] ;
+ doap:release [
+ doap:revision "1.2" ;
+ doap:created "2011-05-26"
+ ] ;
doap:maintainer [
a foaf:Person ;
foaf:name "David Robillard" ;
@@ -38,7 +38,7 @@
] , [
a foaf:Person ;
foaf:name "Lars Luthman" ;
- ] ;
+ ] ;
lv2:documentation """
This extension defines a generic time-stamped event port type, which can be
used to create plugins that read and write real-time events, such as MIDI,
@@ -46,20 +46,20 @@ OSC, or any other type of event payload. The type(s) of event supported by
a port is defined in the data file for a plugin, for example:
<pre>
&lt;http://example.org/some-plugin&gt;
- lv2:port [
- a ev:EventPort, lv2:InputPort ;
- lv2:index 0 ;
- ev:supportsEvent &lt;http://lv2plug.in/ns/ext/midi#MidiEvent&gt; ;
- lv2:symbol "midi_input" ;
- lv2:name "MIDI input" ;
- ] .
+ lv2:port [
+ a ev:EventPort, lv2:InputPort ;
+ lv2:index 0 ;
+ ev:supportsEvent &lt;http://lv2plug.in/ns/ext/midi#MidiEvent&gt; ;
+ lv2:symbol "midi_input" ;
+ lv2:name "MIDI input" ;
+ ] .
</pre>
""" .
ev:EventPort a rdfs:Class ;
- rdfs:label "Event port" ;
- rdfs:subClassOf lv2:Port ;
- rdfs:comment """
+ rdfs:label "Event port" ;
+ rdfs:subClassOf lv2:Port ;
+ rdfs:comment """
Ports of this type will be connected to a struct of type LV2_Event_Buffer,
defined in event.h. These ports contain a sequence of generic events
(possibly several types mixed in a single stream), the specific types of
@@ -116,8 +116,8 @@ event types whether or not this property is present.
ev:supportsEvent a rdf:Property ;
rdfs:domain lv2:Port ;
rdfs:range ev:Event ;
- rdfs:label "Supports event type" ;
- rdfs:comment """
+ rdfs:label "Supports event type" ;
+ rdfs:comment """
Indicates that this port supports or "understands" a certain event type.
For input ports, this means the plugin understands and does something useful
with events of this type. For output ports, this means the plugin may generate
@@ -137,8 +137,8 @@ lv2ev:generic property for that port is also set.
ev:inheritsEvent a rdf:Property ;
rdfs:domain lv2:Port ;
rdfs:range lv2:Port ;
- rdfs:label "Inherits event type" ;
- rdfs:comment """
+ rdfs:label "Inherits event type" ;
+ rdfs:comment """
Indicates that this output port might pass through events that arrived at some
other input port (or generate an event of the same type as events arriving at
that input). The host must always check the stamp type of all outputs when
@@ -149,8 +149,8 @@ connecting an input, but this property should be set whenever it applies.
ev:supportsTimeStamp a rdf:Property ;
rdfs:domain lv2:Port ;
rdfs:range ev:TimeStamp ;
- rdfs:label "Supports time stamp type" ;
- rdfs:comment """
+ rdfs:label "Supports time stamp type" ;
+ rdfs:comment """
Indicates that this port supports or "understands" a certain time stamp type.
Meaningful only for input ports, the host must never connect a port to an
event buffer with a time stamp type that isn't supported by the port.
@@ -160,8 +160,8 @@ event buffer with a time stamp type that isn't supported by the port.
ev:generatesTimeStamp a rdf:Property ;
rdfs:domain lv2:Port ;
rdfs:range ev:TimeStamp ;
- rdfs:label "Outputs time stamp type" ;
- rdfs:comment """
+ rdfs:label "Outputs time stamp type" ;
+ rdfs:comment """
Indicates that this port may output a certain time stamp type, regardless of
the time stamp type of any input ports. If the port outputs stamps based on
what type inputs are connected to, this property should not be set (use the
@@ -177,8 +177,8 @@ struct, if it is non-NULL.
ev:inheritsTimeStamp a rdf:Property ;
rdfs:domain lv2:Port ;
rdfs:range lv2:Port ;
- rdfs:label "Inherits time stamp type" ;
- rdfs:comment """
+ rdfs:label "Inherits time stamp type" ;
+ rdfs:comment """
Indicates that this port follows the time stamp type of an input port.
This property is not necessary, but it should be set for outputs that
base their output type on an input port so the host can make more sense
diff --git a/ext/host-info.lv2/host-info.ttl b/ext/host-info.lv2/host-info.ttl
index 8289f02..d19a7a4 100644
--- a/ext/host-info.lv2/host-info.ttl
+++ b/ext/host-info.lv2/host-info.ttl
@@ -49,11 +49,11 @@ extensions are supported by a given host.</p>
@prefix hi: &lt;http://lv2plug.in/ns/ext/host-info#&gt; .
&lt;http://example.org/some-host&gt; a hi:Host ;
- doap:name "Foo Rack" ;
- hi:supportsExtension [
- hi:extension &lt;http://example.org/some-extension&gt; ;
- hi:sinceVersion "1.2.0"
- ] .
+ doap:name "Foo Rack" ;
+ hi:supportsExtension [
+ hi:extension &lt;http://example.org/some-extension&gt; ;
+ hi:sinceVersion "1.2.0"
+ ] .
</pre>
""" .
diff --git a/ext/pui-gtk.lv2/pui-gtk.ttl b/ext/pui-gtk.lv2/pui-gtk.ttl
index 5bce34e..63c8417 100644
--- a/ext/pui-gtk.lv2/pui-gtk.ttl
+++ b/ext/pui-gtk.lv2/pui-gtk.ttl
@@ -23,13 +23,13 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
-@prefix pui-gtk: <http://lv2plug.in/ns/ext/pui-gtk#>.
-@prefix pui: <http://lv2plug.in/ns/ext/pui#>.
-@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 doap: <http://usefulinc.com/ns/doap#> .
-@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix gtkui: <http://lv2plug.in/ns/ext/pui-gtk#>.
+@prefix pui: <http://lv2plug.in/ns/ext/pui#>.
+@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 doap: <http://usefulinc.com/ns/doap#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<http://lv2plug.in/ns/ext/pui-gtk> a lv2:Specification ;
doap:license <http://usefulinc.com/doap/licenses/mit>;
@@ -48,7 +48,7 @@ This extension defines an UI type for the in-process UI extension that can be
used in a Gtk+ program.
""".
-pui-gtk:GtkUI a rdfs:Class;
+gtkui:GtkUI a rdfs:Class;
rdfs:subClassOf pui:UI;
rdfs:label "Gtk+ UI";
lv2:documentation """
@@ -63,7 +63,7 @@ LV2_PUI_Descriptor may only be called from the thread that runs the Glib main
loop.</p>
""" .
-pui-gtk:noHostResize a lv2:Feature;
+gtkui:noHostResize a lv2:Feature;
rdfs:label "No host resize";
lv2:documentation """
<p>This Feature should only be used with UIs.</p>
diff --git a/ext/time.lv2/time.ttl b/ext/time.lv2/time.ttl
index 13a7028..88aa0cf 100644
--- a/ext/time.lv2/time.ttl
+++ b/ext/time.lv2/time.ttl
@@ -26,9 +26,9 @@
doap:name "LV2 Time" ;
doap:maintainer [
a foaf:Person ;
- foaf:name "David Robillard" ;
+ foaf:name "David Robillard" ;
foaf:homepage <http://drobilla.net/> ;
- rdfs:seeAlso <http://drobilla.net/drobilla.rdf>
+ rdfs:seeAlso <http://drobilla.net/drobilla.rdf>
] ;
lv2:documentation """
<p>This extension defines a structure type, LV2_Time_Position, which
@@ -39,16 +39,16 @@ tempo and position.</p>
time:Position
a rdfs:Class ;
- rdfs:label "LV2 time position" ;
- lv2:documentation """
+ rdfs:label "LV2 time position" ;
+ lv2:documentation """
Type for an LV2_Time_Position struct. This can be mapped to an integer
and used as the type field of an event to indicate that the event payload
is an LV2_Time_Positon struct. Plugins can indicate that a port supports
time information using the ev:supports predicate, e.g.:
<pre>
- <plugin> lv2:port [
- a ev:EventPort ;
- ev:supports time:Position
- ]
+ <plugin> lv2:port [
+ a ev:EventPort ;
+ ev:supports time:Position
+ ]
</pre>
-""" . \ No newline at end of file
+""" .