aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-params.lv2/README.txt
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-12-04 12:13:51 -0500
committerDavid Robillard <d@drobilla.net>2015-12-04 12:13:51 -0500
commit12bfee6829a2605fcad66235f6ffdb93bf4fd2cb (patch)
treeb095c11df3023005e55aceabb8c4e97c9331bebe /plugins/eg-params.lv2/README.txt
parentc70109bccac680e32395f29df63510187b68b96d (diff)
downloadlv2-12bfee6829a2605fcad66235f6ffdb93bf4fd2cb.tar.xz
Add parameter example plugin
Diffstat (limited to 'plugins/eg-params.lv2/README.txt')
-rw-r--r--plugins/eg-params.lv2/README.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/eg-params.lv2/README.txt b/plugins/eg-params.lv2/README.txt
new file mode 100644
index 0000000..acf90c1
--- /dev/null
+++ b/plugins/eg-params.lv2/README.txt
@@ -0,0 +1,21 @@
+== Params ==
+
+The basic LV2 mechanism for controls is
+http://lv2plug.in/ns/lv2core#ControlPort[lv2:ControlPort], inherited from
+LADSPA. Control ports are problematic because they are not sample accurate,
+support only one type (`float`), and require that plugins poll to know when a
+control has changed.
+
+Parameters can be used instead to address these issues. Parameters can be
+thought of as properties of a plugin instance; they are identified by URI and
+have a value of any type. This deliberately meshes with the concept of plugin
+state defined by the http://lv2plug.in/ns/ext/state[LV2 state extension].
+The state extension allows plugins to save and restore their parameters (along
+with other internal state information, if necessary).
+
+Parameters are accessed and manipulated using messages sent via a sequence
+port. The http://lv2plug.in/ns/ext/patch[LV2 patch extension] defines the
+standard messages for working with parameters. Typically, only two are used
+for simple plugins: http://lv2plug.in/ns/ext/patch#Set[patch:Set] sets a
+parameter to some value, and http://lv2plug.in/ns/ext/patch#Get[patch:Get]
+requests that the plugin send a description of its parameters.