How do you use Global Cable?
-
Struggling to get it to work, I don't really understand the example code that I'm trying to port.
-
my failed attempt to try and get the global cable value when the cable value is changed
-
This post is deleted! -
@griffinboy you need to connect the mod output to the Value parameter of the global cable node, it doesn't read the audio signal.
-
@Christoph-Hart
Thanks I've hooked that up now!
The thing I'm trying to figure out is how to make a callback that uses my global send node.I'm still a little confused about how this works in HISE. I've tired to adapt the example that I found in the example snippets, but I've probably butchered it.
-
@griffinboy ah just realized you‘re using the wrong node. Use a global_cable node - the global_send node is used to route audio signals not a single parameter event.
-
@Christoph-Hart
Hell yeah!
Thank you it works perfectly now.And my callback works too.
I shall now have to find out why it works
I probably need to look into HISE syntax more -
The working solution:
-
-
I'm quite curious about what this part does
-
https://docs.hise.dev/scripting/scripting-api/globalcable/index.html#registercallback
You can either register it as synchronous callback or as asynchronous callback. The latter will filter out repetitions and will be called on the UI thread.