summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data/lv2.ttl7
-rw-r--r--slv2/lv2.h16
2 files changed, 17 insertions, 6 deletions
diff --git a/data/lv2.ttl b/data/lv2.ttl
index a152045..fa3a1f5 100644
--- a/data/lv2.ttl
+++ b/data/lv2.ttl
@@ -500,6 +500,13 @@ Includes things like mathematical functions and non-musical delays.
Any plugin that generates sound internally, rather than processing its input.
""" .
+:InstrumentPlugin a rdfs:Class ;
+ rdfs:subClassOf :GeneratorPlugin ;
+ rdfs:label "Instruments" ;
+ rdfs:comment """
+Any plugin that is intended to be played as a musical instrument.
+""" .
+
:OscillatorPlugin a rdfs:Class ;
rdfs:subClassOf :GeneratorPlugin ;
rdfs:label "Oscillators" .
diff --git a/slv2/lv2.h b/slv2/lv2.h
index 51cb61a..3b182b1 100644
--- a/slv2/lv2.h
+++ b/slv2/lv2.h
@@ -34,7 +34,9 @@ extern "C" {
/* ************************************************************************* */
-/* Overview:
+/** @file lv2.h
+ *
+ * == Overview ==
*
* There are a large number of open source and free software synthesis
* packages in use or development at this time. This API ('LV2')
@@ -67,10 +69,12 @@ extern "C" {
* by dlopen() and family. The file will provide a number of 'plugin
* types' that can be used to instantiate actual plugins (sometimes known
* as 'plugin instances') that can be connected together to perform tasks.
+ * The host can access these plugin types using the lv2_descriptor()
+ * function.
*
* This API contains very limited error-handling.
*
- * Threading rules:
+ * == Threading rules ==
*
* Certain hosts may need to call the functions provided by a plugin from
* multiple threads. For this to be safe, the plugin must be written so that
@@ -78,9 +82,9 @@ extern "C" {
* To facilitate this, the functions provided by a plugin are divided into
* classes:
*
- * Audio class: run(), connect_port()
- * Instantiation class: instantiate(), cleanup(),
- * activate(), deactivate()
+ * - Audio class: run(), connect_port()
+ * - Instantiation class: instantiate(), cleanup(),
+ * activate(), deactivate()
*
* Extensions to this specification which add new functions MUST declare in
* which of these classes the functions belong, or define new classes for them.
@@ -326,7 +330,7 @@ typedef struct _LV2_Descriptor {
/* ****************************************************************** */
-/** Accessing a Plugin:
+/** Accessing Plugin Types.
*
* The exact mechanism by which plugins are loaded is host-dependent,
* however all most hosts will need to know is the URI of the plugin they