diff options
author | David Robillard <d@drobilla.net> | 2013-02-11 00:18:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-11 00:18:55 +0000 |
commit | b91e1a81db7b45d0460da1c8a134d855e0ff265c (patch) | |
tree | 3da714cd19b9171bc48614f1442c82383550ffca /plugins/eg01-amp.lv2/README.txt | |
parent | 5367f7265e123aa8a26f8e3d3fb964f18c3250b2 (diff) | |
download | lv2-b91e1a81db7b45d0460da1c8a134d855e0ff265c.tar.xz |
Order examples in a sensible progression for the book.
Diffstat (limited to 'plugins/eg01-amp.lv2/README.txt')
-rw-r--r-- | plugins/eg01-amp.lv2/README.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/eg01-amp.lv2/README.txt b/plugins/eg01-amp.lv2/README.txt new file mode 100644 index 0000000..f024a4d --- /dev/null +++ b/plugins/eg01-amp.lv2/README.txt @@ -0,0 +1,21 @@ +== Simple Amplifier == + +This plugin is a simple example of a basic LV2 plugin with no additional features. +It has audio ports which contain an array of `float`, +and a control port which contain a single `float`. + +LV2 plugins are defined in two parts: code and data. +The code is written in C, or any C compatible language such as C++. +Static data is described separately in the human and machine friendly http://www.w3.org/TeamSubmission/turtle/[Turtle] syntax. +Turtle is a syntax for the RDF data model, +but familiarity with RDF is not required to understand this documentation. + +Generally, code is kept minimal, +and all static information is described in the data. +There are several advantages to this approach: + + * Hosts can discover and inspect plugins without loading or executing any plugin code + * It is simple to work with plugin data using scripting languages, command line tools, etc. + * The standard format allow the use of existing vocabularies to describe plugins and related information + * The data inherently integrates with the web, databases, etc. + * Labels and documentation are translatable, and available to hosts for display in user interfaces |