aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-02 07:03:04 +0000
committerDavid Robillard <d@drobilla.net>2014-11-02 07:03:04 +0000
commit68c9059e7cac79c69b61a0824fced146bc2cf7ad (patch)
tree11d7418878c47b6695b1350e3cfff73d722f103e /lv2/lv2plug.in/ns/ext/parameters/parameters.ttl
parentd711e04227b7a9c5d9ef486512bfa45d68778925 (diff)
downloadlv2-68c9059e7cac79c69b61a0824fced146bc2cf7ad.tar.xz
Add range to parameters so hosts know how to control them.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/parameters/parameters.ttl')
-rw-r--r--lv2/lv2plug.in/ns/ext/parameters/parameters.ttl23
1 files changed, 22 insertions, 1 deletions
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 ;