From 46a87e50d25d47c7c9ed0ef60c554a58afdc1f1b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 17 Mar 2011 08:37:19 +0000 Subject: Bump version to 3.2. Tidy things up. --- core.lv2/lv2.ttl | 151 ++++++++++++++++++++++++------------------------- core.lv2/lv2core.pc.in | 2 +- core.lv2/manifest.ttl | 2 +- core.lv2/wscript | 2 +- 4 files changed, 77 insertions(+), 80 deletions(-) (limited to 'core.lv2') diff --git a/core.lv2/lv2.ttl b/core.lv2/lv2.ttl index 427650e..5b93418 100644 --- a/core.lv2/lv2.ttl +++ b/core.lv2/lv2.ttl @@ -1,8 +1,5 @@ -# RDF Schema for LV2 plugins -# PROVISIONAL Revision 4.0pre1 -# -# This document describes the classes and properties that are defined by the -# core LV2 specification. See for more information. +# This document describes LV2, a plugin interface. +# See for more information. # # Copyright (C) 2006-2011 Steve Harris, David Robillard # @@ -70,8 +67,8 @@ more details. doap:shortdesc "An audio plugin interface specification" ; doap:programming-language "C" ; doap:release [ - doap:revision "3.1" ; - doap:created "2011-03-10" + doap:revision "3.2" ; + doap:created "2011-03-17" ] ; doap:maintainer [ a foaf:Person ; @@ -190,14 +187,14 @@ lv2:Plugin a rdfs:Class ; rdfs:subClassOf lv2:Template ; rdfs:label "Plugin" ; rdfs:subClassOf [ - a owl:Restriction ; - owl:onProperty rdf:type ; - owl:hasValue lv2:Plugin ; + a owl:Restriction ; + owl:onProperty rdf:type ; + owl:hasValue lv2:Plugin ; rdfs:comment """ A Plugin MUST have at least one rdf:type that is lv2:Plugin. """ ] , [ - a owl:Restriction ; - owl:onProperty doap:name ; + a owl:Restriction ; + owl:onProperty doap:name ; owl:someValuesFrom xsd:string ; rdfs:comment """ A Plugin MUST have at least one doap:name that is a string @@ -221,43 +218,43 @@ lv2:Port a rdfs:Class ; rdfs:subClassOf lv2:Resource ; rdfs:label "Port" ; rdfs:subClassOf [ - a owl:Restriction ; - owl:onProperty rdf:type ; + a owl:Restriction ; + owl:onProperty rdf:type ; owl:someValuesFrom [ - a owl:DataRange ; + a owl:DataRange ; owl:oneOf ( lv2:Port lv2:InputPort lv2:OutputPort ) ] ; rdfs:comment """ A Port MUST have at least one rdf:type property that is one of lv2:Port, lv2:InputPort, or lv2:OutputPort. """ ] , [ - a owl:Restriction ; - owl:onProperty rdf:type ; + a owl:Restriction ; + owl:onProperty rdf:type ; owl:minCardinality 2 ; rdfs:comment """ A Port MUST have at least two rdf:type properties that are some subclass of lv2:Port (one for lv2:Port, lv2:InputPort, or lv2:OutputPort, and another to describe the specific data type, e.g. lv2:AudioPort). """ ] , [ - a owl:Restriction ; - owl:onProperty lv2:index ; + a owl:Restriction ; + owl:onProperty lv2:index ; owl:someValuesFrom xsd:nonNegativeInteger ; - owl:cardinality 1 ; + owl:cardinality 1 ; rdfs:comment """ A port MUST have a single lv2:index which is of type xsd:nonNegativeInteger (e.g. a non-negative integer literal in Turtle). The actual RDF datatype of the index MAY be xsd:integer (which is what a generic Turtle parser will do), but the value itself MUST be non-negative. """ ] , [ - a owl:Restriction ; - owl:onProperty lv2:symbol ; + a owl:Restriction ; + owl:onProperty lv2:symbol ; owl:someValuesFrom xsd:string ; rdfs:comment """ A port MUST have a single lv2:symbol which is of type xsd:string with no language tag. """ ] , [ - a owl:Restriction ; - owl:onProperty lv2:name ; + a owl:Restriction ; + owl:onProperty lv2:name ; owl:someValuesFrom xsd:string ; rdfs:comment """ A port MUST have at least one lv2:name which is of type xsd:string. @@ -288,23 +285,23 @@ index for a port may differ between plugin binaries).

lv2:InputPort a rdfs:Class ; rdfs:subClassOf lv2:Port ; - rdfs:label "Input port" ; - rdfs:comment """ + rdfs:label "Input port" ; + rdfs:comment """ Ports of this type will be connected to a pointer to some value, which will be read by the plugin during their run method. """ . lv2:OutputPort a rdfs:Class ; rdfs:subClassOf lv2:Port ; - rdfs:label "Output port" ; - rdfs:comment """ + rdfs:label "Output port" ; + rdfs:comment """ Ports of this type will be connected to a pointer to some value, which will be written to by the plugin during their run method. """ . lv2:ControlPort a rdfs:Class ; rdfs:subClassOf lv2:Port ; - rdfs:label "Control port" ; + rdfs:label "Control port" ; lv2:documentation """

Ports of this type will be connected to a pointer to a single value of C type float.

@@ -313,7 +310,7 @@ type float.

lv2:AudioPort a rdfs:Class ; rdfs:subClassOf lv2:Port ; - rdfs:label "Audio port" ; + rdfs:label "Audio port" ; lv2:documentation """

Ports of this type will be connected to an array of length sample_count with elements of C type float.

@@ -325,15 +322,15 @@ with elements of C type float.

##################################### lv2:port a rdf:Property ; - rdfs:domain lv2:Template ; - rdfs:range lv2:Port ; - rdfs:label "port" ; + rdfs:domain lv2:Template ; + rdfs:range lv2:Port ; + rdfs:label "port" ; rdfs:comment "Relates a Template or Plugin to the Ports it contains" . lv2:minorVersion a rdf:Property ; rdfs:domain lv2:Resource ; - rdfs:range xsd:nonNegativeInteger ; - rdfs:label "minor version" ; + rdfs:range xsd:nonNegativeInteger ; + rdfs:label "minor version" ; lv2:documentation """

The minor version of an LV2 Resource. This property is used (along with lv2:microVersion) by hosts to distinguish different versions of a compatible @@ -406,8 +403,8 @@ property which describes the other half.

lv2:microVersion a rdf:Property ; rdfs:domain lv2:Resource ; - rdfs:range xsd:nonNegativeInteger ; - rdfs:label "micro version" ; + rdfs:range xsd:nonNegativeInteger ; + rdfs:label "micro version" ; lv2:documentation """

The micro component of a Resource's version.

@@ -424,8 +421,8 @@ href="http://lv2plug.in/ns/lv2core#minorVersion">lv2:minorVersion.

lv2:binary a rdf:Property ; rdfs:domain lv2:Resource ; - rdfs:range rdfs:Resource ; - rdfs:label "binary" ; + rdfs:range rdfs:Resource ; + rdfs:label "binary" ; lv2:documentation """

The binary of an LV2 resource. The value of this property must be a URI that @@ -440,9 +437,9 @@ similarly by extensions to relate other resources to their implementations.

""" . lv2:appliesTo a rdf:Property ; - rdfs:domain rdfs:Resource ; - rdfs:range lv2:Plugin ; - rdfs:label "Applies to" ; + rdfs:domain rdfs:Resource ; + rdfs:range lv2:Plugin ; + rdfs:label "Applies to" ; lv2:documentation """

Specifies that a resource is related to a plugin. This is primarily intended for discovery purposes: bundles that describe resources that work with @@ -468,8 +465,8 @@ not the plugin itself.

#################################### lv2:documentation a rdf:Property ; - rdfs:range rdfs:Literal ; - rdfs:label "documentation" ; + rdfs:range rdfs:Literal ; + rdfs:label "documentation" ; rdfs:seeAlso ; lv2:documentation """

Relates a Resource to documentation markup. The value of this property @@ -490,17 +487,17 @@ devices). See soft limit; the plugin is required to gracefully accept all values @@ -567,7 +564,7 @@ in the range of a port's data type. lv2:maximum a rdf:Property ; rdfs:subPropertyOf lv2:scalePoint ; - rdfs:label "Maximum value" ; + rdfs:label "Maximum value" ; lv2:documentation """

A hint to the host for the maximum useful value that the port will use. This is a soft limit; the plugin is required to gracefully accept all @@ -581,15 +578,15 @@ values in the range of a port's data type.

lv2:Feature a rdfs:Class ; rdfs:subClassOf lv2:Resource ; - rdfs:label "Feature" ; + rdfs:label "Feature" ; rdfs:comment """ An additional feature which a plugin or other resource may use or require. """. lv2:optionalFeature a rdf:Property ; - rdfs:domain lv2:Resource ; - rdfs:range lv2:Feature ; - rdfs:label "Optional feature" ; + rdfs:domain lv2:Resource ; + rdfs:range lv2:Feature ; + rdfs:label "Optional feature" ; lv2:documentation """

Signifies that a plugin or other resource supports a certain feature. If the host supports this feature, it MUST pass its URI and any additional data to @@ -598,9 +595,9 @@ instantiate if an optional feature is not supported by the host.

""" . lv2:requiredFeature a rdf:Property ; - rdfs:domain lv2:Resource ; - rdfs:range lv2:Feature ; - rdfs:label "Required feature" ; + rdfs:domain lv2:Resource ; + rdfs:range lv2:Feature ; + rdfs:label "Required feature" ; lv2:documentation """

Signifies that a plugin or other resource requires a certain feature. If the host supports this feature, it MUST pass its URI and any additional data to @@ -623,9 +620,9 @@ sensible decisions (e.g. to provide a better interface). """ . lv2:portProperty a rdf:Property ; - rdfs:domain lv2:Port ; - rdfs:range lv2:PortProperty ; - rdfs:label "Port property" ; + rdfs:domain lv2:Port ; + rdfs:range lv2:PortProperty ; + rdfs:label "Port property" ; rdfs:comment """ Relates Ports to PortProperties. The PortProperty may be ignored without catastrophic effects, though it may be useful e.g. for providing a sensible @@ -638,7 +635,7 @@ interface for the port. ####################### lv2:isLive a lv2:Feature ; - rdfs:label "Has a live (realtime) dependency" ; + rdfs:label "Has a live (realtime) dependency" ; lv2:documentation """

Indicates that the plugin has a real-time dependency (e.g. queues data from a socket) and so its output must not be cached or subject to significant @@ -648,7 +645,7 @@ lv2:hardRTCapable).

""" . lv2:inPlaceBroken a lv2:Feature ; - rdfs:label "in-place broken" ; + rdfs:label "In-place broken" ; lv2:documentation """

Indicates that the plugin may cease to work correctly if the host elects to use the same data location for both input and output. Plugins that will fail @@ -658,7 +655,7 @@ it impossible for hosts to use the plugin to process data in-place.

""" . lv2:hardRTCapable a lv2:Feature ; - rdfs:label "Hard realtime capable" ; + rdfs:label "Hard realtime capable" ; lv2:documentation """

Indicates that the plugin is capable of running not only in a conventional @@ -691,7 +688,7 @@ plugin MUST satisfy all of the following:

############################# lv2:connectionOptional a lv2:PortProperty ; - rdfs:label "Optionally connected port" ; + rdfs:label "Optionally connected port" ; rdfs:comment """ Indicates that this port does not have to be connected to valid data by the host. If it is to be disconnected then the port MUST set to NULL with a call @@ -699,7 +696,7 @@ to the connectPort method. """ . lv2:reportsLatency a lv2:PortProperty ; - rdfs:label "Latency reporting port" ; + rdfs:label "Latency reporting port" ; lv2:documentation """

Indicates that the port is used to express the processing latency incurred by the plugin, expressed in samples. The latency may be affected by the current @@ -714,7 +711,7 @@ is an intentional effect).

""" . lv2:toggled a lv2:PortProperty ; - rdfs:label "Toggled" ; + rdfs:label "Toggled" ; lv2:documentation """

Indicates that the data item should be considered a Boolean toggle. Data less than or equal to zero should be considered off or false, and @@ -722,7 +719,7 @@ data above zero should be considered on or true.

""" . lv2:sampleRate a lv2:PortProperty ; - rdfs:label "Sample rate" ; + rdfs:label "Sample rate" ; rdfs:comment """ Indicates that any bounds specified should be interpreted as multiples of the sample rate. For instance, a frequency range from 0Hz to the Nyquist frequency @@ -732,7 +729,7 @@ Hosts that support bounds at all MUST support this property. """ . lv2:integer a lv2:PortProperty ; - rdfs:label "Integer" ; + rdfs:label "Integer" ; rdfs:comment """ Indicates that a port's reasonable values are integers (eg. a user interface would likely wish to provide a stepped control allowing only integer input). @@ -740,7 +737,7 @@ A plugin MUST operate reasonably even if such a port has a non-integer input. """ . lv2:enumeration a lv2:PortProperty ; - rdfs:label "Enumeration" ; + rdfs:label "Enumeration" ; rdfs:comment """ Indicates that a port's only reasonable values are the scale points defined for that port. A host SHOULD NOT allow a user to set the value of such a port to diff --git a/core.lv2/lv2core.pc.in b/core.lv2/lv2core.pc.in index a511a81..bcaa501 100644 --- a/core.lv2/lv2core.pc.in +++ b/core.lv2/lv2core.pc.in @@ -5,6 +5,6 @@ includedir=@INCLUDEDIR@ Name: lv2core Version: @LV2CORE_VERSION@ -Description: LV2 plugin header and core bundle +Description: Core LV2 plugin header and specification Libs: Cflags: -I${includedir} diff --git a/core.lv2/manifest.ttl b/core.lv2/manifest.ttl index f8e7323..454a0c5 100644 --- a/core.lv2/manifest.ttl +++ b/core.lv2/manifest.ttl @@ -4,5 +4,5 @@ a lv2:Specification ; lv2:minorVersion 3 ; - lv2:microVersion 1 ; + lv2:microVersion 2 ; rdfs:seeAlso . diff --git a/core.lv2/wscript b/core.lv2/wscript index b7f8cca..c702267 100644 --- a/core.lv2/wscript +++ b/core.lv2/wscript @@ -5,7 +5,7 @@ from waflib.extras import autowaf as autowaf import waflib.Options as Options # Version of this package (even if built as a child) -LV2CORE_VERSION = '4.0pre1' +LV2CORE_VERSION = '3.2' # Variables for 'waf dist' APPNAME = 'lv2core' -- cgit v1.2.1