HISE Logo Forum
    • Categories
    • Register
    • Login

    Chasing logic/auval validation...

    Scheduled Pinned Locked Moved General Questions
    18 Posts 5 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LindonL
      Lindon @Dan Korneff
      last edited by

      @dustbro - are there meta params? if so you'll need to set them as such in HISE

      HISE Development for hire.
      www.channelrobot.com

      Dan KorneffD 1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff @Lindon
        last edited by

        @lindon These don't appear to be meta parameters. I've double checked those.

        Dan Korneff - Producer / Mixer / Audio Nerd

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @Dan Korneff
          last edited by

          @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.

          HISE Development for hire.
          www.channelrobot.com

          1 Reply Last reply Reply Quote 1
          • Dan KorneffD
            Dan Korneff
            last edited by

            @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?

            Dan Korneff - Producer / Mixer / Audio Nerd

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @Dan Korneff
              last edited by

              @dustbro Product -> Scheme -> Edit Scheme -> Debug -> Executable -> Logic.app

              Dan KorneffD 1 Reply Last reply Reply Quote 0
              • Dan KorneffD
                Dan Korneff @Christoph Hart
                last edited by

                @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 ('\\')));
                

                Dan Korneff - Producer / Mixer / Audio Nerd

                Christoph HartC 1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart @Dan Korneff
                  last edited by

                  @dustbro Check the callstack, somewhere you've hardcoded an absolute Windows path (C:\Something).

                  Dan KorneffD 3 Replies Last reply Reply Quote 1
                  • Dan KorneffD
                    Dan Korneff @Christoph Hart
                    last edited by

                    @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);
                    

                    Dan Korneff - Producer / Mixer / Audio Nerd

                    1 Reply Last reply Reply Quote 0
                    • Dan KorneffD
                      Dan Korneff @Christoph Hart
                      last edited by Dan Korneff

                      @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.

                      Dan Korneff - Producer / Mixer / Audio Nerd

                      1 Reply Last reply Reply Quote 0
                      • Dan KorneffD
                        Dan Korneff @Christoph Hart
                        last edited by

                        @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?

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        13

                        Online

                        1.8k

                        Users

                        11.9k

                        Topics

                        103.8k

                        Posts