12-27-2022, 06:14 AM (This post was last modified: 04-24-2023, 10:46 PM by johndev.)
Attached is a script that works for me.
A few caveats:
Requires Mixbus/32C v8.2 or higher. v8.1.378 and lower don't recognise "Temporal" in Lua session scripts so will throw an error and fail.
Someone with experience in session scripts, timing, etc. might point out better / more efficient ways to do this.
If a triggering marker is extremely close to other markers (within a sample buffer, e.g. right on top of each other) then it might fail to find that triggering marker, so won't trigger.
It's looking for markers named "MS x" where x is a number between 1 and 8. You can change that naming requirement by altering this line of code:
Code:
local MIXER_SCENE_MARKER_PREFIX = "MS "
EDIT: I found that this wasn't working so have attached a replacement. It just replaces this line...
Code:
if (pos + n_samples > mpos:samples()) then
...with...
Code:
if (pos + n_samples >= mpos:samples()) then
I'm not sure why it used to work but no longer does. It's a different session in a later version of Mixbus. I suspect it was just luck of the draw whether it ever worked before.
12-27-2022, 06:23 PM (This post was last modified: 12-27-2022, 06:27 PM by Stephan S.)
Fantastic, thanks a lot. I have recording sessions atm but will try asap. I have the M1 version though, its 8.1 something- have to be patient propably.
Mac Pro 5,1 | 6x 3,4Ghz | 48GB | OS X 10.14 | Macbook Pro M1 | 16GB | OS X 14.4 | Metric Halo 2882 3d http://www.sounddesign-pro.com
12-27-2022, 09:45 PM (This post was last modified: 12-27-2022, 10:04 PM by Dingo.)
(12-27-2022, 06:23 PM)Stephan S Wrote: Fantastic, thanks a lot. I have recording sessions atm but will try asap. I have the M1 version though, its 8.1 something- have to be patient propably.
12-31-2022, 10:06 PM (This post was last modified: 12-31-2022, 10:06 PM by johndev.)
It's a session script. Add it in Edit > Script Manager > Session Scripts after placing the script in the scripts folder (Ardour manual tells you where that is if Mixbus manual doesn't).
MS x with space. If you don't want a space then change the line I mentioned to say "MS" instead.
01-01-2023, 04:46 PM (This post was last modified: 01-01-2023, 05:55 PM by Dingo.
Edit Reason: Clarity
)
@StephanS - Well it looks like something in your Lua script is causing havoc.
With macOS crash reports, best to copy the entire crash report - add a note at the top as to what was happening prior to the crash and email them to support: mixbus@harrisonconsoles.com.
Macmini 8,1 | OS X 13.6.3 | 3 GHz i5 32G | Scarlett 18i20 | Mixbus 10 | PT_2024.3.1 ..... Macmini 9,1 | OS X 14.4.1 | M1 2020 | Mixbus 10 | Resolve 18.6.5