This tool might help B);
https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102
it does work in 3.1, but you need to manually update the manifest to 5 in the scripting terminal and when using, disable ‘write phrases to instrument’ in the settings.