From 68c9059e7cac79c69b61a0824fced146bc2cf7ad Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 2 Nov 2014 07:03:04 +0000 Subject: Add range to parameters so hosts know how to control them. --- .../ns/ext/parameters/lv2-parameters.doap.ttl | 9 +++++++++ lv2/lv2plug.in/ns/ext/parameters/manifest.ttl | 2 +- lv2/lv2plug.in/ns/ext/parameters/parameters.ttl | 23 +++++++++++++++++++++- 3 files changed, 32 insertions(+), 2 deletions(-) (limited to 'lv2/lv2plug.in/ns/ext/parameters') 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 ; + 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 ; 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 @@ a lv2:Specification ; lv2:minorVersion 1 ; - lv2:microVersion 2 ; + lv2:microVersion 3 ; rdfs:seeAlso . 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: . @prefix param: . +@prefix atom: . @prefix pg: . @prefix rdf: . @prefix rdfs: . +@prefix units: . 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 ; -- cgit v1.2.1