Chasing logic/auval validation...
-
@dustbro - are there meta params? if so you'll need to set them as such in HISE
-
@lindon These don't appear to be meta parameters. I've double checked those.
-
@dustbro said in Chasing logic/auval validation...:
@lindon These don't appear to be meta parameters. I've double checked those.
well sadly isnt very user friendly - and it wont tell you which params its having problems with - only that its having problems....its a pita to be frank.
-
@Lindon definitely a PITA.
@Christoph-Hart I'm getting an instant crash in Logic when trying to automate parameters on a scriptnode plugin. What's the proper way to attach Logic to xcode for debugging? -
@dustbro Product -> Scheme -> Edit Scheme -> Debug -> Executable -> Logic.app
-
@christoph-hart Thanks!
I'm getting a break point instantly when inserting the plugin.JUCE Assertion failure in juce_File.cpp:174
// Mac or Linux.. // Yes, I know it's legal for a unix pathname to contain a backslash, but this assertion is here // to catch anyone who's trying to run code that was written on Windows with hard-coded path names. // If that's why you've ended up here, use File::getChildFile() to build your paths instead. jassert ((! p.containsChar ('\\')) || (p.indexOfChar ('/') >= 0 && p.indexOfChar ('/') < p.indexOfChar ('\\')));
-
@dustbro Check the callstack, somewhere you've hardcoded an absolute Windows path (
C:\Something
). -
@christoph-hart It looks like I only have 1 line of code that does not reference {Project Folder}.
This is the script I'm using to save presets to an expansion folder designated for User Presets.//----------------------save preset -------------------------------------- const var PRESET_SAVE = Content.getComponent("PRESET_SAVE"); var pre_folder = FileSystem.getFolder(FileSystem.Expansions).getChildFile("User Presets/UserPresets/"); function save(file) { Engine.saveUserPreset(file); } var shouldLoad = true; inline function onPRESET_SAVEControl(component, value) { if (value) { FileSystem.browse(pre_folder, true, "*.preset", save); UpdatePresetLabel(); } }; Content.getComponent("PRESET_SAVE").setControlCallback(onPRESET_SAVEControl);
-
@christoph-hart Ended up being the AudioLoopPlayer I was using to test DSP. Had a file loaded from outside the project folder.
Now I can get back to debugging crashes :)EDIT:
That was an easy fix. Removing the AudioLoopPlayer cured the issue.Now on to why Latch automation doesn't work in Logic.
-
@christoph-hart it appears that this no longer works:
param.beginChangeGesture(); param.setValueNotifyingHost (newValue); param.endChangeGesture();
We should use instead:
void mouseDown (const MouseEvent&) override { param.beginChangeGesture(); } void mouseUp (const MouseEvent&) override { param.setValueNotifyingHost (newValue); param.endChangeGesture(); }
What do you think?