Get MA2 Speed Master BPM value
-- Get 'GrandMA2' element
GrandMA2 = GetElement('GrandMA2')
-- Returns the name of the current cue
-- (in fact for speedmasters it shows the BPM value)
-- For example: "60.0 BPM"
v = GrandMA2.GetExecutorCurrentCue(1)
-- Remove the " BPM" part of the name
v = string.gsub(v, " BPM", "")
-- Convert to Number
v = tonumber(v)
-- Variable v contains the speedmaster BPM value as a number
print(v)Last updated