aboutsummaryrefslogtreecommitdiff
path: root/vm.ttl
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-22 22:55:23 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-22 22:55:23 +0100
commitce87996f72f3a3eb294e2f8458434cb437235dad (patch)
tree03ac85809a3d279b5380dac8996a04b11695c5f8 /vm.ttl
parentd405ab264332903f908a5668bb95cf05cc43e8c7 (diff)
downloadvm.lv2-ce87996f72f3a3eb294e2f8458434cb437235dad.tar.xz
prototype vm:atom plugin.
Diffstat (limited to 'vm.ttl')
-rw-r--r--vm.ttl231
1 files changed, 231 insertions, 0 deletions
diff --git a/vm.ttl b/vm.ttl
index 1cf9169..ac2f0ed 100644
--- a/vm.ttl
+++ b/vm.ttl
@@ -757,10 +757,232 @@ vm:audio
]
] .
+# Plugin
+vm:atom
+ a lv2:Plugin,
+ lv2:ConverterPlugin ;
+ doap:name "VM Atom" ;
+ doap:license lic:Artistic-2.0 ;
+ lv2:project proj:vm ;
+ lv2:requiredFeature urid:map, work:schedule, state:loadDefaultState ;
+ lv2:optionalFeature lv2:isLive, lv2:hardRTCapable, log:log, state:threadSafeRestore ;
+ lv2:extensionData state:interface, work:interface ;
+
+ lv2:port [
+ a lv2:InputPort ,
+ atom:AtomPort ;
+ atom:bufferType atom:Sequence ;
+ atom:supports time:Position ,
+ patch:Message ;
+ lv2:index 0 ;
+ lv2:symbol "control" ;
+ lv2:name "Control" ;
+ lv2:designation lv2:control ;
+ rsz:minimumSize 8192 ;
+ ] , [
+ a lv2:OutputPort ,
+ atom:AtomPort ;
+ atom:bufferType atom:Sequence ;
+ atom:supports patch:Message ;
+ lv2:index 1 ;
+ lv2:symbol "notify" ;
+ lv2:name "Notify" ;
+ lv2:designation lv2:control ;
+ rsz:minimumSize 8192 ;
+ ] , [
+ a lv2:InputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 2 ;
+ lv2:symbol "event_in_0" ;
+ lv2:name "Event In 0" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ lv2:default 0.0;
+ ] , [
+ a lv2:InputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 3 ;
+ lv2:symbol "event_in_1" ;
+ lv2:name "Event In 1" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ lv2:default 0.0;
+ ] , [
+ a lv2:InputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 4 ;
+ lv2:symbol "event_in_2" ;
+ lv2:name "Event In 2" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ lv2:default 0.0;
+ ] , [
+ a lv2:InputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 5 ;
+ lv2:symbol "event_in_3" ;
+ lv2:name "Event In 3" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ lv2:default 0.0;
+ ] , [
+ a lv2:InputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 6 ;
+ lv2:symbol "event_in_4" ;
+ lv2:name "Event In 4" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ lv2:default 0.0;
+ ] , [
+ a lv2:InputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 7 ;
+ lv2:symbol "event_in_5" ;
+ lv2:name "Event In 5" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ lv2:default 0.0;
+ ] , [
+ a lv2:InputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 8 ;
+ lv2:symbol "event_in_6" ;
+ lv2:name "Event In 6" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ lv2:default 0.0;
+ ] , [
+ a lv2:InputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 9 ;
+ lv2:symbol "event_in_7" ;
+ lv2:name "Event In 7" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ lv2:default 0.0;
+ ] , [
+ a lv2:OutputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 10 ;
+ lv2:symbol "event_out_0" ;
+ lv2:name "Event Out 0" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ ] , [
+ a lv2:OutputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 11 ;
+ lv2:symbol "event_out_1" ;
+ lv2:name "Event Out 1" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ ] , [
+ a lv2:OutputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 12 ;
+ lv2:symbol "event_out_2" ;
+ lv2:name "Event Out 2" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ ] , [
+ a lv2:OutputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 13 ;
+ lv2:symbol "event_out_3" ;
+ lv2:name "Event Out 3" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ ] , [
+ a lv2:OutputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 14 ;
+ lv2:symbol "event_out_4" ;
+ lv2:name "Event Out 4" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ ] , [
+ a lv2:OutputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 15 ;
+ lv2:symbol "event_out_5" ;
+ lv2:name "Event Out 5" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ ] , [
+ a lv2:OutputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 16 ;
+ lv2:symbol "event_out_6" ;
+ lv2:name "Event Out 6" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ ] , [
+ a lv2:OutputPort,
+ atom:AtomPort;
+ atom:bufferType atom:Sequence ;
+ atom:supports atom:Float ;
+ lv2:index 17 ;
+ lv2:symbol "event_out_7" ;
+ lv2:name "Event Out 7" ;
+ lv2:minimum -1.0;
+ lv2:maximum 1.0;
+ ] ;
+
+ #patch:writable
+ # vm:graph ;
+
+ state:state [
+ vm:graph [
+ a atom:Tuple ;
+ rdf:value (
+ 7 vm:opInput
+ 6 vm:opInput
+ 5 vm:opInput
+ 4 vm:opInput
+ 3 vm:opInput
+ 2 vm:opInput
+ 1 vm:opInput
+ 0 vm:opInput
+ )
+ ]
+ ] .
+
vm:add
a pset:Preset ;
lv2:appliesTo vm:control ,
vm:cv ,
+ vm:atom ,
vm:audio ;
rdfs:label "Add" ;
state:state [
@@ -778,6 +1000,7 @@ vm:sub
a pset:Preset ;
lv2:appliesTo vm:control ,
vm:cv ,
+ vm:atom ,
vm:audio ;
rdfs:label "Subtract" ;
state:state [
@@ -795,6 +1018,7 @@ vm:mul
a pset:Preset ;
lv2:appliesTo vm:control ,
vm:cv ,
+ vm:atom ,
vm:audio ;
rdfs:label "Multiply" ;
state:state [
@@ -812,6 +1036,7 @@ vm:div
a pset:Preset ;
lv2:appliesTo vm:control ,
vm:cv ,
+ vm:atom ,
vm:audio ;
rdfs:label "Divide" ;
state:state [
@@ -829,6 +1054,7 @@ vm:mod
a pset:Preset ;
lv2:appliesTo vm:control ,
vm:cv ,
+ vm:atom ,
vm:audio ;
rdfs:label "Modulo" ;
state:state [
@@ -846,6 +1072,7 @@ vm:pow
a pset:Preset ;
lv2:appliesTo vm:control ,
vm:cv ,
+ vm:atom ,
vm:audio ;
rdfs:label "Power" ;
state:state [
@@ -863,6 +1090,7 @@ vm:dBFS
a pset:Preset ;
lv2:appliesTo vm:control ,
vm:cv ,
+ vm:atom ,
vm:audio ;
rdfs:label "dBFS" ;
lv2:port [
@@ -887,6 +1115,7 @@ vm:rand
a pset:Preset ;
lv2:appliesTo vm:control ,
vm:cv ,
+ vm:atom ,
vm:audio ;
rdfs:label "Random" ;
state:state [
@@ -909,6 +1138,7 @@ vm:sampleAndHold
a pset:Preset ;
lv2:appliesTo vm:control ,
vm:cv ,
+ vm:atom ,
vm:audio ;
rdfs:label "Sample and hold" ;
state:state [
@@ -930,6 +1160,7 @@ vm:lfo
a pset:Preset ;
lv2:appliesTo vm:control ,
vm:cv ,
+ vm:atom ,
vm:audio ;
rdfs:label "LFO" ;
state:state [