It is very likely that the tool takes more than 10 seconds to do the whole sweep.Then, the famous Renoise warning will appear to stop the process of the tool.What would be the best procedure to program, to avoid the limit of the 10 seconds of time?
I think you’ll need to look at yield and coroutines Raul in the file process_slicer.lua → https://forum.renoise.com/t/example-slicing-up-a-processing-function-with-coroutines/30333And before you ask, no (luckily) I’ve never looked at it. The very very basic synopsis is that it breaks up say a long executing ‘for loop/while loop’ and yields back every so often to Renoise HQ, just to let Renoise know that the script/tool hasn’t stuck in an infinite loop.