Broadcaster
-
-
-
@Christoph-Hart Oh this looks like a lot of fun!
-
@Christoph-Hart oh yeah, it looks very interesting!
-
Nice! Can't wait to tinker with this.
-
Is it possible to add a listener to when the user selects a preset in the preset browser? I'd like to be able to act differently if it's a single or a double click.
-
@d-healey You can register it to floating tiles, but this won't change the behaviour of the preset browser, because the broadcaster will add additional callbacks to it (also it will also fire if you click on an add button or any other area in the preset browser).
-
I've added a bunch of new functions. You can register it now to react on:
- radio group changes (just give it the integer you gave your buttons as
radioGroupId
. It will be called with the index of the clicked button in the button group (and setting its property will set the responding button) - module parameters. You can listen to a combination of modules and parameterIds and get notified when any of those change
There are also new functions (
addDelayedListener()
,setEnableQueue
) and a few other things. - radio group changes (just give it the integer you gave your buttons as
-
Is there a good naming convention for broadcaster objects? Do you declare them in a separate namespace or as they are needed?
-
If I attach a listener to a child panel, and later that child panel is removed, does HISE automatically remove the listener too or is it left hanging around somewhere?
If I have to do the cleanup manually could we get a
removeAllListeners
function?