someguynamedjosh / audiobench

Open source modular synthesizer
https://someguynamedjosh.github.io/audiobench/
GNU General Public License v3.0
77 stars 2 forks source link

Jack support in Linux (standalone) #21

Closed tank-trax closed 3 years ago

tank-trax commented 3 years ago

I was wondering if you could add JACK support for Linux builds for the standalone

in audiobench/components/juce_frontend/CMakeLists.txt

adding the two lines

JUCE_ALSA=1
JUCE_JACK=1

to target_compile_definitions

for example:

target_compile_definitions(
    Audiobench 
    PUBLIC
    JUCE_WEB_BROWSER=0  
    JUCE_USE_CURL=0     
    JUCE_VST3_CAN_REPLACE_VST2=0
    JUCE_ALSA=1
    JUCE_JACK=1
)

will accomplish this

tank-trax commented 3 years ago

I also noticed that the VST3 in Linux does not have MIDI in or out but it does have two Audio in and out

someguynamedjosh commented 3 years ago

Thanks for the research, I will add those in.

As far as the problems with MIDI in VST3, I have fixed this in a development version. However, the code base is currently in the middle of a number of changes to help make everything more stable and flexible. Hopefully I'll finish within a month or so and release a new version, which will work properly as a VST.

tank-trax commented 3 years ago

the most recent Audiobench.bin fix with the dependency links still only has ALSA support

someguynamedjosh commented 3 years ago

It looks like I did not correctly modify the installer after changing the linking, so some new files were not being installed. JACK now seems to work correctly when running a locally built installer on my system. I'll probably trigger another beta build later today which should automatically close this PR whenever it happens.