Snex node - Change the error message when a soundcard isn't found
-
So I spent a bit of time chasing my tail because of this. I left my code in a working state last night at about 2am (lol!) and came to it this evening, and was so confused why the node wouldn't compile.
The error message is super super non-useful to be honest. I thought it was to do with the node, but it isn't. It's to do with my soundcard not being active.
I would suggest a better error message. Something like:
"Output channels not found. Node cannot pass audio. Check your audio interface settings."Because - call me stupid idiot boy from a village - I had no idea this was in reference to my audio interface. I thought something had gone wrong with the node specifically.
-
@Orvillain depends on how the error is checked for and if no interface is an error in the first place. HISE is pretty loose with restoring interface selections, remembering preferences about this, as well as about midi devices, and it all resets on a crash.
Luckily, you can hardcode the whole logic, including fallbacks, right into your script. https://forum.hise.audio/topic/9722/tip-hardcode-your-dev-environment-audio-setup
-
Yes the SNEX nodes are particularly pedantic when it comes to channel configurations (because it will compile the code for each channel that is requested).
How can I recreate this issue? I'm not sure how it could end up with a channel count of zero, as this is usually set by the surrounding script FX which should not depend on the audio driver configuration.
-
@Christoph-Hart said in Snex node - Change the error message when a soundcard isn't found:
Yes the SNEX nodes are particularly pedantic when it comes to channel configurations (because it will compile the code for each channel that is requested).
How can I recreate this issue? I'm not sure how it could end up with a channel count of zero, as this is usually set by the surrounding script FX which should not depend on the audio driver configuration.
I've been having some issues with my Presonus Quantum. Every other boot of my system, the card will not connect. I didn't notice the big bright red light on the front of it, telling me it couldn't connect to the OS.
I started HISE, and noticed the SNEX node like in the screenshot. So I would assume connecting HISE to an audio interface, and then pulling the connection on it, would probably reproduce the issue.