aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-10-13 18:43:25 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-10-13 18:43:25 +0200
commitb9d44a1cbfc275012a8d5916c6e4e14f3d0101c9 (patch)
tree4fab131a57ec227421f5b81cb075c5d217e856c4
parentaf70986609e37985cd9cb880324c883474ffb5d6 (diff)
downloadmoony.lv2-b9d44a1cbfc275012a8d5916c6e4e14f3d0101c9.tar.xz
pset: add vim syntax comment.
-rw-r--r--VERSION2
-rw-r--r--plugin/presets.ttl88
2 files changed, 67 insertions, 23 deletions
diff --git a/VERSION b/VERSION
index c370acc..7932ac1 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.29.27
+0.29.29
diff --git a/plugin/presets.ttl b/plugin/presets.ttl
index d52eaf2..8d1c437 100644
--- a/plugin/presets.ttl
+++ b/plugin/presets.ttl
@@ -107,7 +107,9 @@ moony:bank-through_control-through
moony:paramRows 4 ;
moony:code """function run(n, control, notify, ...)
return ...
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-through_atom-through
@@ -127,7 +129,9 @@ moony:bank-through_atom-through
end
return ...
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-through_atom-through2
@@ -149,7 +153,9 @@ moony:bank-through_atom-through2
for frames, atom in seq2:foreach() do
forge2:time(frames):atom(atom)
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-through_atom-through4
@@ -179,7 +185,9 @@ moony:bank-through_atom-through4
for frames, atom in seq4:foreach() do
forge4:time(frames):atom(atom)
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-multiplex_atom-multiplex2
@@ -198,7 +206,9 @@ moony:bank-multiplex_atom-multiplex2
forge1:time(frames):atom(atom)
forge2:time(frames):atom(atom)
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-multiplex_atom-multiplex4
@@ -219,7 +229,9 @@ moony:bank-multiplex_atom-multiplex4
forge3:time(frames):atom(atom)
forge4:time(frames):atom(atom)
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-midi_midi-responder
@@ -246,7 +258,9 @@ function run(n, control, notify, seq, forge)
for frames, atom in seq:foreach() do
local handled = midiR(frames, forge, atom)
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-time_midi-sequencer
@@ -297,7 +311,9 @@ function run(n, control, notify, seq, forge)
from = frames
end
timeR(from, n, forge)
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-time_lindenmayer-system
@@ -398,7 +414,9 @@ function run(n, control, notify, seq, forge)
end
timeR(from, n, forge) -- tell time responder about remaining frames of cycle
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-osc_osc-responder
@@ -425,7 +443,9 @@ function run(n, control, notify, seq, forge)
for frames, atom in seq:foreach() do
local handled = oscR(frames, forge, atom)
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-state_state-responder
@@ -744,7 +764,9 @@ function run(n, control, notify)
end
count = count - n -- update next frame update
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-tutorial_part-1
@@ -787,7 +809,9 @@ function run(n, control, notify, seq, forge)
forge:time(frames):atom(atom) -- serialize atom as-is
end
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-tutorial_part-2
@@ -830,7 +854,9 @@ function run(n, control, notify, seq, forge)
for frames, atom in seq:foreach() do -- iterate over incoming events
local handled = midiR(frames, forge, atom) -- call responder for event
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-tutorial_part-3
@@ -924,7 +950,9 @@ function run(n, control, notify, seq, forge)
for frames, atom in seq:foreach() do -- iterate over incoming events
local handled = midiR(frames, forge, atom) -- call responder for event
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-tutorial_part-4
@@ -1013,7 +1041,9 @@ function run(n, control, notify, seq, forge)
end
dispatch(n, forge) -- dispatch scheduled events
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-tutorial_part-5
@@ -1073,7 +1103,9 @@ function run(n, control, notify, seq, forge)
for frames, atom in seq:foreach() do -- iterate over incoming events
local handled = midiR(frames, forge, atom) -- call responder for event
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-tutorial_part-6
@@ -1174,7 +1206,9 @@ function run(n, control, notify, seq, forge)
end
timeR(from, n, forge)
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-template_part-1
@@ -1257,7 +1291,9 @@ function run(n, control, notify, seq, forge)
for frames, atom in seq:foreach() do -- iterate over incoming events
local handled = midiR(frames, forge, atom) -- call responder for event
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-template_part-2
@@ -1321,7 +1357,9 @@ function run(n, control, notify, seq, forge)
end
timeR(from, n, forge) -- call responder for remaining frames
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-template_part-3
@@ -1351,7 +1389,9 @@ function run(n, control, notify, seq, forge)
for frames, atom in seq:foreach() do -- iterate over incoming events
local handled = oscR(frames, forge, atom) -- call responder for event
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-template_part-4
@@ -1410,7 +1450,9 @@ function run(n, control, notify)
for frames, atom in control:foreach() do -- iterate over incoming events
local handled = stateR(frames, notify, atom)
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .
moony:bank-template_part-5
@@ -1495,5 +1537,7 @@ function run(n, control, notify)
for frames, atom in control:foreach() do -- iterate over incoming events
local handled = stateR(frames, notify, atom)
end
-end"""
+end
+
+-- vim: set syntax=lua:"""
] .