@Lindon Yes I get that, but the initial problem is that it doesn't work in the DAW when it is exported without a sound generator like the audio loop player.
@d-healey You're correct and this sounds to me like the cleanest solution. I really want to dive into broadcasters and rethink my scripting approach soon since they offer so much.
since I am very new to writing own code and commands
Have you gone through my scripting 101 video? If not, start there. A general knowledge of scripting will get you much further in the long term than narrow snippets.
Not sure if that is a good example for an introduction to broadcasters though as it's a little bit more complex than just a hello world example that listens to a single event - there are two broadcasters and one is changing the source event of the other.
@elemen8t for mac you check vst3 and in the vst3 export + au (component). Please note they are exported to the user audio plugin library. Drag into the computer's default logic library to search for it. logic you have to pay attention to mono and stereo tracks if you have not checked the box in hise (mono fx support) it will only work in stereo.