1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/c++/lv2-demo-modul/amp.ttl Fri May 15 20:32:37 2020 +0200
1.3 @@ -0,0 +1,90 @@
1.4 +# The full description of the plugin is in this file, which is linked to from
1.5 +# `manifest.ttl`. This is done so the host only needs to scan the relatively
1.6 +# small `manifest.ttl` files to quickly discover all plugins.
1.7 +
1.8 +@prefix doap: <http://usefulinc.com/ns/doap#> .
1.9 +@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
1.10 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
1.11 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
1.12 +@prefix units: <http://lv2plug.in/ns/extensions/units#> .
1.13 +
1.14 +# First the type of the plugin is described. All plugins must explicitly list
1.15 +# `lv2:Plugin` as a type. A more specific type should also be given, where
1.16 +# applicable, so hosts can present a nicer UI for loading plugins. Note that
1.17 +# this URI is the identifier of the plugin, so if it does not match the one in
1.18 +# `manifest.ttl`, the host will not discover the plugin data at all.
1.19 +<http://lv2plug.in/plugins/eg-amp>
1.20 + a lv2:Plugin ,
1.21 + lv2:AmplifierPlugin ;
1.22 +# Plugins are associated with a project, where common information like
1.23 +# developers, home page, and so on are described. This plugin is part of the
1.24 +# LV2 project, which has URI <http://lv2plug.in/ns/lv2>, and is described
1.25 +# elsewhere. Typical plugin collections will describe the project in
1.26 +# manifest.ttl
1.27 + lv2:project <http://lv2plug.in/ns/lv2> ;
1.28 +# Every plugin must have a name, described with the doap:name property.
1.29 +# Translations to various languages can be added by putting a language tag
1.30 +# after strings as shown.
1.31 + doap:name "Simple Amplifier" ,
1.32 + "简单放大器"@zh ,
1.33 + "Einfacher Verstärker"@de ,
1.34 + "Simple Amplifier"@en-gb ,
1.35 + "Amplificador Simple"@es ,
1.36 + "Amplificateur de Base"@fr ,
1.37 + "Amplificatore Semplice"@it ,
1.38 + "簡単なアンプ"@jp ,
1.39 + "Просто Усилитель"@ru ;
1.40 + doap:license <http://opensource.org/licenses/isc> ;
1.41 + lv2:optionalFeature lv2:hardRTCapable ;
1.42 + lv2:port [
1.43 +# Every port must have at least two types, one that specifies direction
1.44 +# (lv2:InputPort or lv2:OutputPort), and another to describe the data type.
1.45 +# This port is a lv2:ControlPort, which means it contains a single float.
1.46 + a lv2:InputPort ,
1.47 + lv2:ControlPort ;
1.48 + lv2:index 0 ;
1.49 + lv2:symbol "gain" ;
1.50 + lv2:name "Gain" ,
1.51 + "收益"@zh ,
1.52 + "Verstärkung"@de ,
1.53 + "Gain"@en-gb ,
1.54 + "Aumento"@es ,
1.55 + "Gain"@fr ,
1.56 + "Guadagno"@it ,
1.57 + "利益"@jp ,
1.58 + "Увеличение"@ru ;
1.59 +# An lv2:ControlPort should always describe its default value, and usually a
1.60 +# minimum and maximum value. Defining a range is not strictly required, but
1.61 +# should be done wherever possible to aid host support, particularly for UIs.
1.62 + lv2:default 0.0 ;
1.63 + lv2:minimum -90.0 ;
1.64 + lv2:maximum 24.0 ;
1.65 +# Ports can describe units and control detents to allow better UI generation
1.66 +# and host automation.
1.67 + units:unit units:db ;
1.68 + lv2:scalePoint [
1.69 + rdfs:label "+5" ;
1.70 + rdf:value 5.0
1.71 + ] , [
1.72 + rdfs:label "0" ;
1.73 + rdf:value 0.0
1.74 + ] , [
1.75 + rdfs:label "-5" ;
1.76 + rdf:value -5.0
1.77 + ] , [
1.78 + rdfs:label "-10" ;
1.79 + rdf:value -10.0
1.80 + ]
1.81 + ] , [
1.82 + a lv2:AudioPort ,
1.83 + lv2:InputPort ;
1.84 + lv2:index 1 ;
1.85 + lv2:symbol "in" ;
1.86 + lv2:name "In"
1.87 + ] , [
1.88 + a lv2:AudioPort ,
1.89 + lv2:OutputPort ;
1.90 + lv2:index 2 ;
1.91 + lv2:symbol "out" ;
1.92 + lv2:name "Out"
1.93 + ] .