diff options
author | David Robillard <d@drobilla.net> | 2012-03-24 00:51:27 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-24 00:51:27 +0000 |
commit | bf611932445b2b9c1126f91196f2068fe5cdf4eb (patch) | |
tree | 3bc0baf44a0c0a556e2c135eb3264611c9987f30 /lv2 | |
parent | 4542edb7a34be45922df2a63a4a462199431a131 (diff) | |
download | lv2-bf611932445b2b9c1126f91196f2068fe5cdf4eb.tar.xz |
Rename port-props => parameters.
Diffstat (limited to 'lv2')
l--------- | lv2/lv2plug.in/ns/ext/parameters/ext.pc.in (renamed from lv2/lv2plug.in/ns/ext/port-props/ext.pc.in) | 0 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/parameters/manifest.ttl (renamed from lv2/lv2plug.in/ns/ext/port-props/manifest.ttl) | 6 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/parameters/parameters.ttl (renamed from lv2/lv2plug.in/ns/ext/port-props/port-props.ttl) | 102 | ||||
l--------- | lv2/lv2plug.in/ns/ext/parameters/waf (renamed from lv2/lv2plug.in/ns/ext/port-props/waf) | 0 | ||||
l--------- | lv2/lv2plug.in/ns/ext/parameters/wscript (renamed from lv2/lv2plug.in/ns/ext/port-props/wscript) | 0 |
5 files changed, 63 insertions, 45 deletions
diff --git a/lv2/lv2plug.in/ns/ext/port-props/ext.pc.in b/lv2/lv2plug.in/ns/ext/parameters/ext.pc.in index 03dd044..03dd044 120000 --- a/lv2/lv2plug.in/ns/ext/port-props/ext.pc.in +++ b/lv2/lv2plug.in/ns/ext/parameters/ext.pc.in diff --git a/lv2/lv2plug.in/ns/ext/port-props/manifest.ttl b/lv2/lv2plug.in/ns/ext/parameters/manifest.ttl index b4afe2f..b027fef 100644 --- a/lv2/lv2plug.in/ns/ext/port-props/manifest.ttl +++ b/lv2/lv2plug.in/ns/ext/parameters/manifest.ttl @@ -1,8 +1,8 @@ @prefix lv2: <http://lv2plug.in/ns/lv2core#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<http://lv2plug.in/ns/ext/port-props> +<http://lv2plug.in/ns/ext/parameters> a lv2:Specification ; lv2:minorVersion 0 ; - lv2:microVersion 1 ; - rdfs:seeAlso <port-props.ttl> . + lv2:microVersion 2 ; + rdfs:seeAlso <parameters.ttl> . diff --git a/lv2/lv2plug.in/ns/ext/port-props/port-props.ttl b/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl index d6f30e6..4a8c3c5 100644 --- a/lv2/lv2plug.in/ns/ext/port-props/port-props.ttl +++ b/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl @@ -1,36 +1,54 @@ -@prefix pprops: <http://lv2plug.in/ns/ext/port-props#> . -@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 xsd: <http://www.w3.org/2001/XMLSchema#> . - -<http://lv2plug.in/ns/ext/port-props> +# LV2 Parameters Extension +# Copyright 2011-2012 David Robillard <d@drobilla.net> +# Copyright 2009 Krzysztof Foltman +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +@prefix doap: <http://usefulinc.com/ns/doap#> . +@prefix foaf: <http://xmlns.com/foaf/0.1/> . +@prefix lv2: <http://lv2plug.in/ns/lv2core#> . +@prefix param: <http://lv2plug.in/ns/ext/parameters#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . + +<http://drobilla.net/drobilla#me> + a foaf:Person ; + foaf:name "David Robillard" ; + foaf:homepage <http://drobilla.net/> ; + foaf:mbox <mailto:d@drobilla.net> ; + rdfs:seeAlso <http://drobilla.net/drobilla> . + +<http://lv2plug.in/ns/ext/parameters> a lv2:Specification ; - doap:name "LV2 Port Properties" ; + doap:name "LV2 Parameters" ; doap:release [ - doap:revision "0.1" ; - doap:created "2011-11-01" + doap:revision "0.2" ; + doap:created "2012-03-23" ; ] ; doap:created "2009-01-01" ; - doap:shortdesc "Additional properties for LV2 plugin ports." ; + doap:shortdesc "Common parameters for audio processing." ; doap:maintainer [ a foaf:Person ; - foaf:name "Krzysztof Foltman" - ] , [ - a foaf:Person ; - foaf:name "David Robillard" ; - rdfs:seeAlso <http://drobilla.net/drobilla.rdf> - ] ; + foaf:name "Krzysztof Foltman" ; + ] , <http://drobilla.net/drobilla#me> ; lv2:documentation """ -<p>This extension defines several useful properties for LV2 plugin ports, which -can be used in plugin descriptions to better describe ports. Using this -metadata, hosts can build better UIs for plugins, and provide more advanced -automatic functionality.</p> -""" . +<p>This extension defines useful parameters and properties for LV2 plugin +ports, which can be used to better describe how a plugin can be controlled. +Using this metadata, hosts can build better UIs for plugins, and provide more +advanced automatic functionality.</p> """ . -pprops:trigger +param:trigger a lv2:PortProperty ; rdfs:label "Trigger" ; rdfs:comment """ @@ -44,31 +62,31 @@ series of push button or auto-clear input box with a "Send" button if the port is also lv2:integer. """ . -pprops:supportsStrictBounds +param:supportsStrictBounds a lv2:Feature ; rdfs:label "Supports strict bounds" ; rdfs:comment """ -Indicates use of host support for pprops:hasStrictBounds port property. A +Indicates use of host support for param:hasStrictBounds port property. A plugin that specifies it as optional feature can omit value clamping for hasStrictBounds ports, if the feature is supported by the host. When specified as required feature, it indicates that the plugin does not do any clamping for -input ports that have a pprops:hasStrictBounds property. +input ports that have a param:hasStrictBounds property. """ . -pprops:hasStrictBounds +param:hasStrictBounds a lv2:PortProperty ; rdfs:label "Has strict bounds" ; rdfs:comment """ -For hosts that support pprops:supportsStrictBounds, this indicates that the +For hosts that support param:supportsStrictBounds, this indicates that the value of the port should never exceed the port's minimum and maximum control points. For input ports, it moves the responsibility for limiting the range of -values to host, if it supports pprops:supportsStrictBounds. For output ports, +values to host, if it supports param:supportsStrictBounds. For output ports, it indicates that values within specified range are to be expected, and breaking that should be considered by the host as error in plugin implementation. """ . -pprops:expensive +param:expensive a lv2:PortProperty ; rdfs:label "Changes trigger expensive calculation" ; rdfs:comment """ @@ -81,7 +99,7 @@ suited for connection to outputs of other plugins, and should not be offered as connection targets or for automation by default. """ . -pprops:causesArtifacts +param:causesArtifacts a lv2:PortProperty ; rdfs:label "May cause audio artifacts when changed" ; rdfs:comment """ @@ -92,7 +110,7 @@ is not recommended, and when presenting a list of automation targets, those ports may be marked as artifact-producing. """ . -pprops:continuousCV +param:continuousCV a lv2:PortProperty ; rdfs:label "Carries a smooth modulation signal" ; rdfs:comment """ @@ -106,19 +124,19 @@ frequently, and describes a smooth signal (e.g. successive values may be considered points along a curve). """ . -pprops:discreteCV +param:discreteCV a lv2:PortProperty ; rdfs:label "Carries a discrete modulation signal" ; rdfs:comment """ Indicates that the port carries a "discrete" modulation signal. Input ports of this type are well-suited for being connected to sources of discrete signals (switches, buttons, classifiers, event detectors, etc.). May be combined with -pprops:trigger property. For output ports, this property suggests the value of +param:trigger property. For output ports, this property suggests the value of the port describe discrete values that should be interpreted as steps (and not points along a curve). """ . -pprops:logarithmic +param:logarithmic a lv2:PortProperty ; rdfs:label "Port value uses a logarithmic scale" ; rdfs:comment """ @@ -127,7 +145,7 @@ using logarithmic scale. The lower and upper bounds must be specified, and must be of the same sign. """ . -pprops:notAutomatic +param:notAutomatic a lv2:PortProperty ; rdfs:label "Port is not intended as a CV input" ; rdfs:comment """ @@ -136,7 +154,7 @@ signals from external sources (other plugins, etc.). It is merely a UI hint and hosts may allow the user to override it. """ . -pprops:notOnGUI +param:notOnGUI a lv2:PortProperty ; rdfs:label "Port is not to be displayed on a GUI or equivalent" ; rdfs:comment """ @@ -146,7 +164,7 @@ for direct, immediate control of control ports). It is merely a UI hint and hosts may allow the user to override it. """ . -pprops:priority +param:priority a rdf:Property ; rdfs:domain lv2:Port ; rdfs:range xsd:float ; @@ -157,7 +175,7 @@ property (higher value = more important). The values do not need to be unique, and ports can be grouped based on their priorities. """ . -pprops:rangeSteps +param:rangeSteps a rdf:Property ; rdfs:domain lv2:Port ; rdfs:range xsd:nonNegativeInteger ; @@ -168,7 +186,7 @@ range shoujld be divided for step-wise control. This may be used for changing the value with step-based controllers like arrow keys, mouse wheel, rotary encoders, etc.</p> -<p>Note that when used with a pprops:logarithmic port, the steps are +<p>Note that when used with a param:logarithmic port, the steps are logarithmic too, and port value can be calculated as:</p> <pre class="c-code"> diff --git a/lv2/lv2plug.in/ns/ext/port-props/waf b/lv2/lv2plug.in/ns/ext/parameters/waf index 5235032..5235032 120000 --- a/lv2/lv2plug.in/ns/ext/port-props/waf +++ b/lv2/lv2plug.in/ns/ext/parameters/waf diff --git a/lv2/lv2plug.in/ns/ext/port-props/wscript b/lv2/lv2plug.in/ns/ext/parameters/wscript index 7e2c01b..7e2c01b 120000 --- a/lv2/lv2plug.in/ns/ext/port-props/wscript +++ b/lv2/lv2plug.in/ns/ext/parameters/wscript |