View Issue Details

IDProjectCategoryView StatusLast Update
0009529ardourbugspublic2023-11-10 13:27
Reportergaryd Assigned Tox42  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformDebian GNUOSLinuxOS Version(any)
Product Version8.1 
Summary0009529: LuaSignalS fires 10 times per second
DescriptionLuaSignalS should fire once per second according to the documentation. Instead it's firing 10 times per second, thus no different to LuaSignalDS.
Steps To ReproduceAdd the attached script as an Action Hook.

View > Log

There are 10 lines added every second. Should be only 1 per second.
Additional InformationNothing critical for me personally. Just thought I'd mention it.
TagsNo tags attached.

Activities

garyd

2023-11-10 08:33

reporter  

LuaTimerS_Test.lua (448 bytes)   
ardour {
	["type"]    = "EditorHook",
	name        = "LuaTimerS Test",
	author      = "...",
	description = "Every time the LuaTimerS signal fires the current time (seconds since 1970) is written to the error log window. Should be once per second.",
}

function signals ()
	return LuaSignal.Set():add ({
        [LuaSignal.LuaTimerS] = true,
    })
end

function factory ()
    return function (signal, ref, ...)

        print(os.time())

	end
end
LuaTimerS_Test.lua (448 bytes)   

x42

2023-11-10 13:27

administrator   ~0028311

Oh dear, indeed. fixed in Ardour 8.1-82

Thanks!

Issue History

Date Modified Username Field Change
2023-11-10 08:33 garyd New Issue
2023-11-10 08:33 garyd File Added: LuaTimerS_Test.lua
2023-11-10 13:27 x42 Assigned To => x42
2023-11-10 13:27 x42 Status new => resolved
2023-11-10 13:27 x42 Resolution open => fixed
2023-11-10 13:27 x42 Note Added: 0028311