Hello,
I can not find in the documentation how to observe if a new song has been opened. I am sure there is something like this and I am just missing it?
Hello,
I can not find in the documentation how to observe if a new song has been opened. I am sure there is something like this and I am just missing it?
Found it… thanks to the Renoise Tool tool
-- invoked each time a new document (song) was created or loaded
renoise.tool().app_new_document_observable:add_notifier(function()
handle_app_new_document_notification()
end)
function handle_app_new_document_notification()
print ('new song loaded/created.')
end