diff options
author | David Robillard <d@drobilla.net> | 2014-11-02 07:03:04 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-02 07:03:04 +0000 |
commit | 68c9059e7cac79c69b61a0824fced146bc2cf7ad (patch) | |
tree | 11d7418878c47b6695b1350e3cfff73d722f103e | |
parent | d711e04227b7a9c5d9ef486512bfa45d68778925 (diff) | |
download | lv2-68c9059e7cac79c69b61a0824fced146bc2cf7ad.tar.xz |
Add range to parameters so hosts know how to control them.
-rw-r--r-- | lv2/lv2plug.in/ns/ext/parameters/lv2-parameters.doap.ttl | 9 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/parameters/manifest.ttl | 2 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/parameters/parameters.ttl | 23 |
3 files changed, 32 insertions, 2 deletions
diff --git a/lv2/lv2plug.in/ns/ext/parameters/lv2-parameters.doap.ttl b/lv2/lv2plug.in/ns/ext/parameters/lv2-parameters.doap.ttl index 58c61d2..472ee58 100644 --- a/lv2/lv2plug.in/ns/ext/parameters/lv2-parameters.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/parameters/lv2-parameters.doap.ttl @@ -8,6 +8,15 @@ rdfs:seeAlso <../../meta/meta.ttl> ; doap:name "LV2 Parameters" ; doap:release [ + doap:revision "1.3" ; + doap:created "2014-11-01" ; + dcs:blame <http://drobilla.net/drobilla#me> ; + dcs:changeset [ + dcs:item [ + rdfs:label "Add range to parameters so hosts know how to control them." + ] + ] + ] , [ doap:revision "1.2" ; doap:created "2012-10-14" ; doap:file-release <http://lv2plug.in/spec/lv2-1.2.0.tar.bz2> ; diff --git a/lv2/lv2plug.in/ns/ext/parameters/manifest.ttl b/lv2/lv2plug.in/ns/ext/parameters/manifest.ttl index e9b6700..a5caf44 100644 --- a/lv2/lv2plug.in/ns/ext/parameters/manifest.ttl +++ b/lv2/lv2plug.in/ns/ext/parameters/manifest.ttl @@ -4,5 +4,5 @@ <http://lv2plug.in/ns/ext/parameters> a lv2:Specification ; lv2:minorVersion 1 ; - lv2:microVersion 2 ; + lv2:microVersion 3 ; rdfs:seeAlso <parameters.ttl> . diff --git a/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl b/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl index 8f05f74..c89ac78 100644 --- a/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl +++ b/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl @@ -1,8 +1,10 @@ @prefix lv2: <http://lv2plug.in/ns/lv2core#> . @prefix param: <http://lv2plug.in/ns/ext/parameters#> . +@prefix atom: <http://lv2plug.in/ns/ext/atom#> . @prefix pg: <http://lv2plug.in/ns/ext/port-groups#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix units: <http://lv2plug.in/ns/extensions/units#> . <http://lv2plug.in/ns/ext/parameters> a lv2:Specification ; @@ -24,74 +26,93 @@ A group representing a set of associated controls. param:amplitude a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "amplitude" . param:attack a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "attack" ; rdfs:comment "The duration of an envelope's attack stage." . param:cutoffFrequency a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "cutoff frequency" . param:decay a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "decay" ; rdfs:comment "The duration of an envelope's decay stage." . param:delay a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "delay" ; rdfs:comment "The duration of an envelope's delay stage." . param:frequency a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "frequency" . param:hold a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "hold" ; rdfs:comment "The duration of an envelope's hold stage." . param:pulseWidth a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "pulse width" ; rdfs:comment "The width of a pulse of a rectangular waveform." . param:ratio a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "ratio" ; rdfs:comment "Compression ration." . param:release a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "release" ; rdfs:comment "The duration of an envelope's release stage." . param:resonance a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "resonance" ; rdfs:comment "The resonance of a filter." . param:sustain a lv2:Parameter ; rdfs:label "sustain" ; + rdfs:range atom:Float ; rdfs:comment "The level (not duration) of an envelope's sustain stage." . param:threshold a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "threshold" ; rdfs:comment "Compression threshold." . param:waveform a lv2:Parameter ; + rdfs:range atom:Float ; rdfs:label "waveform" . param:gain a lv2:Parameter ; + rdfs:range atom:Float ; + lv2:default 0.0 ; + lv2:minimum -20.0 ; + lv2:maximum 20.0 ; + units:unit units:db ; rdfs:label "gain" ; - rdfs:comment "A factor which controls an output level." . + rdfs:comment "Gain in decibels." . param:wetDryRatio a lv2:Parameter ; |