I am trying build a JUCE application that receives audio from an external application (for example, a DAW like Cubase) and analyzes it. I need to be able to get audio from lots of different channels and sources, so I need at least 32 inputs into my JUCE application. I am on Windows, so it seemed like JACK would be a good way to do this.
I can setup and run the JACK server on windows successfully, and connect to the JackRouter (an ASIO device) from my DAW (Cubase). However, I cannot figure out how to connect to the JackRouter from my JUCE application. I've tried doing
AudioIODeviceType* device = AudioIODeviceType::createAudioIODeviceType_JACK(); AudioIODeviceType* device = AudioIODeviceType::createAudioIODeviceType_ASIO();
and both return null, meaning that there is no available device of either type. I've also tried using the AudioDeviceManager class to scan for devices, but the only devices it finds are my speakers.
The JACK website says that "any ASIO application will be able to use the JackRouter ASIO linker to connect to Jack, and Jack can then be used to route that audio to other applications connected to the Jack Audio Server, or out to the system sound device.", and so I think that I need to somehow connect directly to the JACK Audio Server rather than to the JackRouter, but I have no idea how to go about doing this.
Does anyone know how to connect to JACK from JUCE on windows? Or if it's not possible, is there some other way to do this? Thanks for your help in advance.