diff options
author | David Robillard <d@drobilla.net> | 2012-08-21 04:34:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-21 04:34:29 +0000 |
commit | 2836c42101d3518d633e2e47967c58604c81c173 (patch) | |
tree | 2fe5fbede72be874ed98c5ee868be62716743442 /lv2/lv2plug.in/ns/ext/parameters | |
parent | a7b0d36b287a1180f69fa1b250d59473702694d8 (diff) | |
download | lv2-2836c42101d3518d633e2e47967c58604c81c173.tar.xz |
Add param:sampleRate and parameters.h of URI defines for convenience.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/parameters')
-rw-r--r-- | lv2/lv2plug.in/ns/ext/parameters/lv2-parameters.doap.ttl | 4 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/parameters/parameters.h | 49 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/parameters/parameters.ttl | 5 |
3 files changed, 58 insertions, 0 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 0114359..518a5e8 100644 --- a/lv2/lv2plug.in/ns/ext/parameters/lv2-parameters.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/parameters/lv2-parameters.doap.ttl @@ -14,6 +14,10 @@ dcs:changeset [ dcs:item [ rdfs:label "Use consistent label style." + ] , [ + rdfs:label "Add param:sampleRate." + ] , [ + rdfs:label "Add parameters.h of URI defines for convenience." ] ] ] , [ diff --git a/lv2/lv2plug.in/ns/ext/parameters/parameters.h b/lv2/lv2plug.in/ns/ext/parameters/parameters.h new file mode 100644 index 0000000..9c06bab --- /dev/null +++ b/lv2/lv2plug.in/ns/ext/parameters/parameters.h @@ -0,0 +1,49 @@ +/* + Copyright 2012 David Robillard <http://drobilla.net> + + 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. +*/ + +#ifndef LV2_PARAMETERS_H +#define LV2_PARAMETERS_H + +#define LV2_PARAMETERS_URI "http://lv2plug.in/ns/ext/parameters" +#define LV2_PARAMETERS_PREFIX LV2_PARAMETERS_URI "#" + +#define LV2_PARAMETERS__CompressorControls LV2_PARAMETERS_PREFIX "CompressorControls" +#define LV2_PARAMETERS__ControlGroup LV2_PARAMETERS_PREFIX "ControlGroup" +#define LV2_PARAMETERS__EnvelopeControls LV2_PARAMETERS_PREFIX "EnvelopeControls" +#define LV2_PARAMETERS__FilterControls LV2_PARAMETERS_PREFIX "FilterControls" +#define LV2_PARAMETERS__OscillatorControls LV2_PARAMETERS_PREFIX "OscillatorControls" +#define LV2_PARAMETERS__amplitude LV2_PARAMETERS_PREFIX "amplitude" +#define LV2_PARAMETERS__attack LV2_PARAMETERS_PREFIX "attack" +#define LV2_PARAMETERS__bypass LV2_PARAMETERS_PREFIX "bypass" +#define LV2_PARAMETERS__cutoffFrequency LV2_PARAMETERS_PREFIX "cutoffFrequency" +#define LV2_PARAMETERS__decay LV2_PARAMETERS_PREFIX "decay" +#define LV2_PARAMETERS__delay LV2_PARAMETERS_PREFIX "delay" +#define LV2_PARAMETERS__dryLevel LV2_PARAMETERS_PREFIX "dryLevel" +#define LV2_PARAMETERS__frequency LV2_PARAMETERS_PREFIX "frequency" +#define LV2_PARAMETERS__gain LV2_PARAMETERS_PREFIX "gain" +#define LV2_PARAMETERS__hold LV2_PARAMETERS_PREFIX "hold" +#define LV2_PARAMETERS__pulseWidth LV2_PARAMETERS_PREFIX "pulseWidth" +#define LV2_PARAMETERS__ratio LV2_PARAMETERS_PREFIX "ratio" +#define LV2_PARAMETERS__release LV2_PARAMETERS_PREFIX "release" +#define LV2_PARAMETERS__resonance LV2_PARAMETERS_PREFIX "resonance" +#define LV2_PARAMETERS__sampleRate LV2_PARAMETERS_PREFIX "sampleRate" +#define LV2_PARAMETERS__sustain LV2_PARAMETERS_PREFIX "sustain" +#define LV2_PARAMETERS__threshold LV2_PARAMETERS_PREFIX "threshold" +#define LV2_PARAMETERS__waveform LV2_PARAMETERS_PREFIX "waveform" +#define LV2_PARAMETERS__wetDryRatio LV2_PARAMETERS_PREFIX "wetDryRatio" +#define LV2_PARAMETERS__wetLevel LV2_PARAMETERS_PREFIX "wetLevel" + +#endif /* LV2_PARAMETERS_H */ diff --git a/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl b/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl index e560f48..87ee8d6 100644 --- a/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl +++ b/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl @@ -125,6 +125,11 @@ param:bypass rdfs:label "bypass" ; rdfs:comment "A boolean parameter that disabled processing if true." . +param:sampleRate + a lv2:Parameter ; + rdfs:label "sample rate" ; + rdfs:comment "A sample rate in Hz." . + param:EnvelopeControls a rdfs:Class ; rdfs:subClassOf param:ControlGroup ; |