falkTX
5a9e11a242
Store the raw MIDI value in EngineControlEvent, for future use
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
47bc02a140
Fix strict build
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
6f58669c08
Fix internal client build
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
929c869731
Use a custom flag so our CV ports appear as CV right away
JACK saves those flags as-is, which is great for us.
Fixes #1045
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
c3f05e4e96
Initial implementation of MIDI learn (per plugin, not global)
Closes #26
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
2b6fd1ca6d
Fix recursion when using carla-patchbay under JACk with lv2 midnam
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
bac54233ef
Add some safeties around invalid connection-id
Need to investigate this more deeply later on
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
fda792130a
Fix missing ports if client uuid fetch fails
Error case was returning instead of continuing
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
a6aaccc6eb
Final tweaks for internal/external patchbay usage and projects
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
18554a3692
Skip graph CV source reconfigure when loading plugin state
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
88c3255786
Tweaks to loading external patchbay data into internal one
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
d951215570
Only care about client name prefix in multi-client mode
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
3e87f7dff2
Add --cnprefix arg, for client name prefix; Set it also when needed
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
d7d33f7697
Don't rely on jack metadata callback being there for positions
Since we no longer have recursion issues, having this is fine.
This ensures carla keeps working in case JACK is fixed.
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
0463d8f1b7
Better error reporting regarding missing clients during load
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
53c8f6965b
Handle client name prefix during jack client rename
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
01c1aed761
Convert from and to client name prefix as needed
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
797278456c
JACK: Be able to load canvas positions regardless of client prefix
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
c4c387ed29
Use jack client prefic when renaming clients too
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
3d767f9be8
Allow to set custom prefix for jack clients, use it under NSM
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
843bb34910
Better handle case of JACK server stop (or killed)
Fixes #1175
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
040b0b6636
Fix false positives regarding jack meta-data and internal clients
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
6ab431a469
JACK: prevent recursion on patchbay group position changes
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
6ef541d1da
Fix strict build warnings against clang
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
b02fe8ad80
Ignore one assertion regarding JACK meta-data (false positive)
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
43c3a9923a
Fix usage without jack meta-data support
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
3afa203408
Fix JACK internal client build
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
22a6006c70
Avoid comparing shared_ptr directly to nullptr
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
90a868aba6
Fix bridge build
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
f73cafcea8
Backwards compatible std::shared_ptr
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
3ab47c9481
Change the way plugins are deleted, ensure they are not being used
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
92f7396caa
Protect *all* metadata access, even in bridge mode
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
0f53835c6d
Protect jack metadata usage with a mutex; other position fixes
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
e697553406
Fix for dumb compilers
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
fe95abf309
Small fixups for jack engine
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
3a3eee4ed9
Save pluginId as part of the patchbay positions
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
de66b320a8
Fix for old compilers
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
617675c820
Listen to canvas group position changes over JACK metadata and OSC
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
c178105a15
First go at backend-side canvas positions; Safer jack callbacks
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
d91b48e908
Use JUCE by default on linux if supported; Cleanup config a bit
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
8d113dc1e9
Fix jack metadata usage for multiple carla instances
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
f781db3bb3
JACK: update metadata plugin id when changed
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
41f59c4bf7
Rework jack ports callback handling (get all data during callback)
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
af0acd31cd
Add some safety checks around jack port callbacks
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
ed852ffac7
Avoid assertion warning with an expected null value
4 years ago
falkTX
7d907da527
Really fix multi-client plugin rename
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
d8d331edce
Preserve plugin id and icon when renaming in multi-client mode
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
b99fc3c418
Fix offset to cv controlled parameters; Dont show range if unmapped
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
01041411c9
Fix strict build
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
978f152062
CV control stuff is not sample accurate just yet
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago