add manifest and port definitions
authorrekado <rekado@elephly.net>
Sat, 12 Jan 2013 13:37:07 +0000 (21:37 +0800)
committerrekado <rekado@elephly.net>
Sat, 12 Jan 2013 13:37:07 +0000 (21:37 +0800)
src/manifest.ttl [new file with mode: 0644]
src/mdaPiano.ttl [new file with mode: 0644]

diff --git a/src/manifest.ttl b/src/manifest.ttl
new file mode 100644 (file)
index 0000000..3b0d4a0
--- /dev/null
@@ -0,0 +1,50 @@
+@prefix lv2:  <http://lv2plug.in/ns/lv2core#>.
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
+@prefix base: <http://elephly.net/lv2/>.
+@prefix pset: <http://lv2plug.in/ns/ext/presets#>.
+@prefix pre:  <http://elephly.net/lv2/mdaPiano/presets#>.
+
+base:mdaPiano
+  a            lv2:Plugin;
+  lv2:binary   <mdaPiano.so>;
+  rdfs:seeAlso <mdaPiano.ttl>.
+
+pre:default
+  a              pset:Preset;
+  lv2:appliesTo  base:mdaPiano;
+  rdfs:seeAlso   <presets/default.ttl>.
+
+pre:plain
+  a              pset:Preset;
+  lv2:appliesTo  base:mdaPiano;
+  rdfs:seeAlso   <presets/plain.ttl>.
+
+pre:compressed
+  a              pset:Preset;
+  lv2:appliesTo  base:mdaPiano;
+  rdfs:seeAlso   <presets/compressed.ttl>.
+
+pre:dance
+  a              pset:Preset;
+  lv2:appliesTo  base:mdaPiano;
+  rdfs:seeAlso   <presets/dance.ttl>.
+
+pre:concert
+  a              pset:Preset;
+  lv2:appliesTo  base:mdaPiano;
+  rdfs:seeAlso   <presets/concert.ttl>.
+
+pre:dark
+  a              pset:Preset;
+  lv2:appliesTo  base:mdaPiano;
+  rdfs:seeAlso   <presets/dark.ttl>.
+
+pre:school
+  a              pset:Preset;
+  lv2:appliesTo  base:mdaPiano;
+  rdfs:seeAlso   <presets/school.ttl>.
+
+pre:broken
+  a              pset:Preset;
+  lv2:appliesTo  base:mdaPiano;
+  rdfs:seeAlso   <presets/broken.ttl>.
diff --git a/src/mdaPiano.ttl b/src/mdaPiano.ttl
new file mode 100644 (file)
index 0000000..20f9f26
--- /dev/null
@@ -0,0 +1,144 @@
+@prefix lv2:  <http://lv2plug.in/ns/lv2core#>.
+@prefix doap: <http://usefulinc.com/ns/doap#>.
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
+@prefix ll:   <http://ll-plugins.nongnu.org/lv2/namespace#>.
+@prefix pg:   <http://ll-plugins.nongnu.org/lv2/ext/portgroups#>.
+@prefix ev:   <http://lv2plug.in/ns/ext/event#>.
+
+<http://elephly.net/lv2/mdaPiano/out> a pg:StereoGroup.
+
+<http://elephly.net/lv2/mdaPiano>
+  a lv2:Plugin, lv2:InstrumentPlugin;
+  lv2:binary <mdaPiano.so>;
+  doap:name "mdaPiano";
+  doap:maintainer [
+    a foaf:Person;
+    foaf:name "Ricardo Wurmus";
+    foaf:homepage <http://elephly.net>
+  ];
+  doap:license <http://usefulinc.com/doap/licenses/gpl>;
+  ll:pegName "p";
+
+  lv2:port [
+    a ev:EventPort, lv2:InputPort;
+    lv2:index 0;
+    ev:supportsEvent <http://lv2plug.in/ns/ext/midi#MidiEvent>;
+    lv2:symbol "midi";
+    lv2:name "MIDI";
+  ] , [
+    a lv2:AudioPort, lv2:OutputPort;
+    lv2:index 1;
+    lv2:symbol "left";
+    lv2:name "Left";
+    pg:membership [
+      pg:group <http://elephly.net/lv2/mdaPiano/out>;
+      pg:role pg:leftChannel;
+    ];
+  ] , [
+    a lv2:AudioPort, lv2:OutputPort;
+    lv2:index 2;
+    lv2:symbol "right";
+    lv2:name "Right";
+    pg:membership [
+      pg:group <http://elephly.net/lv2/mdaPiano/out>;
+      pg:role pg:rightChannel;
+    ];
+  ] , [
+    a lv2:ControlPort, lv2:InputPort;
+    lv2:index 3;
+    lv2:symbol "envelope_decay";
+    lv2:name "Envelope Decay";
+    lv2:minimum 0;
+    lv2:maximum 1;
+    lv2:default 0.5;
+  ] , [
+    a lv2:ControlPort, lv2:InputPort;
+    lv2:index 4;
+    lv2:symbol "envelope_release";
+    lv2:name "Envelope Release";
+    lv2:minimum 0;
+    lv2:maximum 1;
+    lv2:default 0.5;
+  ] , [
+    a lv2:ControlPort, lv2:InputPort;
+    lv2:index 5;
+    lv2:symbol "hardness_offset";
+    lv2:name "Hardness Offset";
+    lv2:minimum 0;
+    lv2:maximum 1;
+    lv2:default 0.5;
+  ] , [
+    a lv2:ControlPort, lv2:InputPort;
+    lv2:index 6;
+    lv2:symbol "velocity_to_hardness";
+    lv2:name "Velocity to Hardness";
+    lv2:minimum 0;
+    lv2:maximum 1;
+    lv2:default 0.5;
+  ] , [
+    a lv2:ControlPort, lv2:InputPort;
+    lv2:index 7;
+    lv2:symbol "muffling_filter";
+    lv2:name "Muffling Filter";
+    lv2:minimum 0;
+    lv2:maximum 1;
+    lv2:default 0.803;
+  ] , [
+    a lv2:ControlPort, lv2:InputPort;
+    lv2:index 8;
+    lv2:symbol "velocity_to_muffling";
+    lv2:name "Velocity to Muffling";
+    lv2:minimum 0;
+    lv2:maximum 1;
+    lv2:default 0.251;
+  ] , [
+    a lv2:ControlPort, lv2:InputPort;
+    lv2:index 9;
+    lv2:symbol "velocity_sensitivity";
+    lv2:name "Velocity Sensitivity";
+    lv2:minimum 0;
+    lv2:maximum 1;
+    lv2:default 0.376;
+  ] , [
+    a lv2:ControlPort, lv2:InputPort;
+    lv2:index 10;
+    lv2:symbol "stereo_width";
+    lv2:name "Stereo Width";
+    lv2:minimum 0;
+    lv2:maximum 1;
+    lv2:default 0.500;
+  ] , [
+    a lv2:ControlPort, lv2:InputPort;
+    lv2:index 11;
+    lv2:symbol "polyphony";
+    lv2:name "Polyphony";
+    lv2:minimum 0;
+    lv2:maximum 1;
+    lv2:default 0.330;
+  ] , [
+    a lv2:ControlPort, lv2:InputPort;
+    lv2:index 12;
+    lv2:symbol "fine_tuning";
+    lv2:name "Fine Tuning";
+    lv2:minimum 0;
+    lv2:maximum 1;
+    lv2:default 0.500;
+  ] , [
+    a lv2:ControlPort, lv2:InputPort;
+    lv2:index 13;
+    lv2:symbol "random_detuning";
+    lv2:name "Random Detuning";
+    lv2:minimum 0;
+    lv2:maximum 1;
+    lv2:default 0.246;
+  ] , [
+    a lv2:ControlPort, lv2:InputPort;
+    lv2:index 14;
+    lv2:symbol "stretch_tuning";
+    lv2:name "Stretch Tuning";
+    lv2:minimum 0;
+    lv2:maximum 1;
+    lv2:default 0.500;
+  ].