From ea1229258e449fb11708b1f97a528ab56264bbbd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 2 Nov 2014 07:07:11 +0000 Subject: Describe unit of gain port. --- plugins/eg-amp.lv2/amp.ttl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/plugins/eg-amp.lv2/amp.ttl b/plugins/eg-amp.lv2/amp.ttl index f4a87f2..865d0f6 100644 --- a/plugins/eg-amp.lv2/amp.ttl +++ b/plugins/eg-amp.lv2/amp.ttl @@ -2,10 +2,11 @@ # `manifest.ttl`. This is done so the host only needs to scan the relatively # small `manifest.ttl` files to quickly discover all plugins. -@prefix doap: . -@prefix lv2: . -@prefix rdf: . -@prefix rdfs: . +@prefix doap: . +@prefix lv2: . +@prefix rdf: . +@prefix rdfs: . +@prefix units: . # First the type of the plugin is described. All plugins must explicitly list # `lv2:Plugin` as a type. A more specific type should also be given, where @@ -58,6 +59,9 @@ lv2:default 0.0 ; lv2:minimum -90.0 ; lv2:maximum 24.0 ; +# Ports can describe units and control detents to allow better UI generation +# and host automation. + units:unit units:db ; lv2:scalePoint [ rdfs:label "+5" ; rdf:value 5.0 -- cgit v1.2.1