From 82775e8c66a1ee2647a046acb1ea0d9583ad2a53 Mon Sep 17 00:00:00 2001 From: Lukas Bachschwell Date: Wed, 13 Jul 2016 10:50:03 +0200 Subject: [PATCH] Added Mobius Scripts --- MobiusScripts/AllMuteOff.mos | 19 ++++++ MobiusScripts/AllMuteOn.mos | 31 +++++++++ MobiusScripts/Into Play Mode.mos | 2 + MobiusScripts/Into Record Mode.mos | 2 + MobiusScripts/MuteOn1.mos | 14 ++++ MobiusScripts/Play-Mute-TR1.mos | 62 ++++++++++++++++++ MobiusScripts/Play-Mute-TR2.mos | 63 ++++++++++++++++++ MobiusScripts/Play-Mute-TR3.mos | 64 ++++++++++++++++++ MobiusScripts/Record-Play-OD-TR1.mos | 96 +++++++++++++++++++++++++++ MobiusScripts/Record-Play-OD-TR2.mos | 98 ++++++++++++++++++++++++++++ MobiusScripts/Record-Play-OD-TR3.mos | 97 +++++++++++++++++++++++++++ MobiusScripts/Record-Play-OD.mos | 98 ++++++++++++++++++++++++++++ 12 files changed, 646 insertions(+) create mode 100644 MobiusScripts/AllMuteOff.mos create mode 100644 MobiusScripts/AllMuteOn.mos create mode 100644 MobiusScripts/Into Play Mode.mos create mode 100644 MobiusScripts/Into Record Mode.mos create mode 100644 MobiusScripts/MuteOn1.mos create mode 100644 MobiusScripts/Play-Mute-TR1.mos create mode 100644 MobiusScripts/Play-Mute-TR2.mos create mode 100644 MobiusScripts/Play-Mute-TR3.mos create mode 100644 MobiusScripts/Record-Play-OD-TR1.mos create mode 100644 MobiusScripts/Record-Play-OD-TR2.mos create mode 100644 MobiusScripts/Record-Play-OD-TR3.mos create mode 100644 MobiusScripts/Record-Play-OD.mos diff --git a/MobiusScripts/AllMuteOff.mos b/MobiusScripts/AllMuteOff.mos new file mode 100644 index 0000000..5bf810d --- /dev/null +++ b/MobiusScripts/AllMuteOff.mos @@ -0,0 +1,19 @@ +message Start Point + +Track 1 +Play +Move LoopFrames 0 + + +Track 2 +Play +Move LoopFrames 0 + +Track 3 +Play +Move LoopFrames 0 + +Track1 + + + diff --git a/MobiusScripts/AllMuteOn.mos b/MobiusScripts/AllMuteOn.mos new file mode 100644 index 0000000..f3f9572 --- /dev/null +++ b/MobiusScripts/AllMuteOn.mos @@ -0,0 +1,31 @@ +Track 1 +MuteOn + +if !inMute + + MuteOn + +endif + +Track 2 +MuteOn + +if !inMute + + MuteOn + +endif + +Track 3 +MuteOn + +if !inMute + + MuteOn + +endif + +Track1 + + + diff --git a/MobiusScripts/Into Play Mode.mos b/MobiusScripts/Into Play Mode.mos new file mode 100644 index 0000000..ace7b1d --- /dev/null +++ b/MobiusScripts/Into Play Mode.mos @@ -0,0 +1,2 @@ +message Play Mode + diff --git a/MobiusScripts/Into Record Mode.mos b/MobiusScripts/Into Record Mode.mos new file mode 100644 index 0000000..5c5e841 --- /dev/null +++ b/MobiusScripts/Into Record Mode.mos @@ -0,0 +1,2 @@ +message Record Mode + diff --git a/MobiusScripts/MuteOn1.mos b/MobiusScripts/MuteOn1.mos new file mode 100644 index 0000000..a7927e6 --- /dev/null +++ b/MobiusScripts/MuteOn1.mos @@ -0,0 +1,14 @@ +!FocusLock + if !inMute + + Mute + + endif + + +if mode = mute +message all tracks muted start point +else if mode != mute +message play 1 +endif +endif diff --git a/MobiusScripts/Play-Mute-TR1.mos b/MobiusScripts/Play-Mute-TR1.mos new file mode 100644 index 0000000..44a982b --- /dev/null +++ b/MobiusScripts/Play-Mute-TR1.mos @@ -0,0 +1,62 @@ +Track 1 + +if mode = play +Mute +message Muted + + + +else if mode = mute + +Variable track1Playing +Variable track2Playing +Variable track3Playing + + + + +for 1 + if mode == play + set track1Playing true + endif +next + +for 2 + if mode == play + set track2Playing true + endif +next + +for 3 + if mode == play + set track3Playing true + endif + + +next + + +# now we've gathered what we need to decide + +if track1Playing || track2Playing || track3Playing +message track is playing +Realign +Play +else +message start point +Play +Move LoopFrames 0 + +Track2 +Move LoopFrames 0 +Track3 +Move LoopFrames 0 +Track1 + +endif + +endif +endif + + + diff --git a/MobiusScripts/Play-Mute-TR2.mos b/MobiusScripts/Play-Mute-TR2.mos new file mode 100644 index 0000000..2f2db40 --- /dev/null +++ b/MobiusScripts/Play-Mute-TR2.mos @@ -0,0 +1,63 @@ +Track 2 + +if mode = play +Mute +message Muted + + + +else if mode = mute +Variable track1Playing +Variable track2Playing +Variable track3Playing + + + + +for 1 + if mode == play + set track1Playing true + endif +next + +for 2 + if mode == play + set track2Playing true + endif +next + +for 3 + if mode == play + set track3Playing true + endif + + +next + + +# now we've gathered what we need to decide + +if track1Playing || track2Playing || track3Playing +message track is playing +Play +else +message start point +Play +Move LoopFrames 0 + +Track1 +Move LoopFrames 0 +Track3 +Move LoopFrames 0 +Track2 + +endif + +endif +endif +endif +endif +endif + + + diff --git a/MobiusScripts/Play-Mute-TR3.mos b/MobiusScripts/Play-Mute-TR3.mos new file mode 100644 index 0000000..d89524a --- /dev/null +++ b/MobiusScripts/Play-Mute-TR3.mos @@ -0,0 +1,64 @@ +Track 3 + +if mode = play +Mute +message Muted + + + +else if mode = mute + +Variable track1Playing +Variable track2Playing +Variable track3Playing + + + + +for 1 + if mode == play + set track1Playing true + endif +next + +for 2 + if mode == play + set track2Playing true + endif +next + +for 3 + if mode == play + set track3Playing true + endif + + +next + + +# now we've gathered what we need to decide + +if track1Playing || track2Playing || track3Playing +message track is playing +Play +else +message start point +Play +Move LoopFrames 0 + +Track1 +Move LoopFrames 0 +Track2 +Move LoopFrames 0 +Track3 + +endif + +endif +endif +endif +endif +endif + + + diff --git a/MobiusScripts/Record-Play-OD-TR1.mos b/MobiusScripts/Record-Play-OD-TR1.mos new file mode 100644 index 0000000..9023981 --- /dev/null +++ b/MobiusScripts/Record-Play-OD-TR1.mos @@ -0,0 +1,96 @@ +!focuslock + +Track1 + +if mode = reset +if track = 1 +Record +endif +if track = 2 +Record +message Waiting To Record +wait loop +Overdub +message New Mode Record +endif +if track = 3 +Record +message Waiting To Record +wait loop +Overdub +message New Mode Record +endif + + + + +else if mode = record +Overdub +message New Mode Overdub + + +else if mode = overdub +Play +message New Mode Play + + +else if mode = play +Overdub +message New Mode Overdub + + + +else if mode = mute +Variable track1Playing +Variable track2Playing +Variable track3Playing + + + + +for 1 + if mode == play + set track1Playing true + endif +next + +for 2 + if mode == play + set track2Playing true + endif +next + +for 3 + if mode == play + set track3Playing true + endif + + +next + + +# now we've gathered what we need to decide + +if track1Playing || track2Playing || track3Playing +message track is playing +Play +else +message start point +Play +Move LoopFrames 0 + +Track2 +Move LoopFrames 0 +Track3 +Move LoopFrames 0 +Track1 +endif + +endif +endif +endif +endif +endif +endif + + diff --git a/MobiusScripts/Record-Play-OD-TR2.mos b/MobiusScripts/Record-Play-OD-TR2.mos new file mode 100644 index 0000000..8a2971d --- /dev/null +++ b/MobiusScripts/Record-Play-OD-TR2.mos @@ -0,0 +1,98 @@ +!focuslock + +Track2 + +if mode = reset +if track = 1 +Record +endif +if track = 2 +Record +message Waiting To Record +wait loop +Overdub +message New Mode Record +endif +if track = 3 +Record +message Waiting To Record +wait loop +Overdub +message New Mode Record +endif + + + + +else if mode = record +Overdub +message New Mode Overdub + + +else if mode = overdub +Play +message New Mode Play + + +else if mode = play +Overdub +message New Mode Overdub + + + +else if mode = mute + +Variable track1Playing +Variable track2Playing +Variable track3Playing + + + + +for 1 + if mode == play + set track1Playing true + endif +next + +for 2 + if mode == play + set track2Playing true + endif +next + +for 3 + if mode == play + set track3Playing true + endif + + +next + + +# now we've gathered what we need to decide + +if track1Playing || track2Playing || track3Playing +message track is playing +Play +else +message start point +Play +Move LoopFrames 0 + +Track1 +Move LoopFrames 0 +Track3 +Move LoopFrames 0 +Track2 + +endif + +endif +endif +endif +endif +endif +endif + + diff --git a/MobiusScripts/Record-Play-OD-TR3.mos b/MobiusScripts/Record-Play-OD-TR3.mos new file mode 100644 index 0000000..02e9219 --- /dev/null +++ b/MobiusScripts/Record-Play-OD-TR3.mos @@ -0,0 +1,97 @@ +!focuslock + +Track 3 + +if mode = reset +if track = 1 +Record +endif +if track = 2 +Record +message Waiting To Record +wait loop +Overdub +message New Mode Record +endif +if track = 3 +Record +message Waiting To Record +wait loop +Overdub +message New Mode Record +endif + + + + +else if mode = record +Overdub +message New Mode Overdub + + +else if mode = overdub +Play +message New Mode Play + + +else if mode = play +Overdub +message New Mode Overdub + + + +else if mode = mute +Variable track1Playing +Variable track2Playing +Variable track3Playing + + + + +for 1 + if mode == play + set track1Playing true + endif +next + +for 2 + if mode == play + set track2Playing true + endif +next + +for 3 + if mode == play + set track3Playing true + endif + + +next + + +# now we've gathered what we need to decide + +if track1Playing || track2Playing || track3Playing +message track is playing +Play +else +message start point +Play +Move LoopFrames 0 + +Track1 +Move LoopFrames 0 +Track2 +Move LoopFrames 0 +Track3 + +endif + +endif +endif +endif +endif +endif +endif + + diff --git a/MobiusScripts/Record-Play-OD.mos b/MobiusScripts/Record-Play-OD.mos new file mode 100644 index 0000000..0073390 --- /dev/null +++ b/MobiusScripts/Record-Play-OD.mos @@ -0,0 +1,98 @@ +!focuslock + +if mode = reset +if track = 1 +Record +endif +if track = 2 +Record +message Waiting To Record +wait loop +Overdub +message New Mode Record +endif +if track = 3 +Record +message Waiting To Record +wait loop +Overdub +message New Mode Record +endif +if track = 4 +Record +message Waiting To Record +wait loop +Overdub +message New Mode Record +endif + + + +else if mode = record +Overdub +message New Mode Overdub + + +else if mode = overdub +Play +message New Mode Play + + +else if mode = play +Overdub +message New Mode Overdub + + + +else if mode = mute + +Variable track1Playing +Variable track2Playing +Variable track3Playing +Variable track4Playing + + + +for 1 + if mode == play + set track1Playing true + endif +next + +for 2 + if mode == play + set track2Playing true + endif +next + +for 3 + if mode == play + set track3Playing true + endif +next + +for 4 + if mode == play + set track4Playing true + endif +next + + +# now we've gathered what we need to decide + +if track1Playing || track2Playing || track3Playing || track4Playing +message track is playing +Play +else +message start point +StartPoint +endif + +endif +endif +endif +endif +endif +endif + +