HISE Logo Forum
    • Categories
    • Register
    • Login

    Global Cable Bug:

    Scheduled Pinned Locked Moved Unsolved Bug Reports
    19 Posts 3 Posters 1.0k 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.
    • griffinboyG
      griffinboy @Christoph Hart
      last edited by

      @Christoph-Hart

      The on init isn't actually a function is it?
      I've never seen it before I assumed that the main interface script already embodies this

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

        @griffinboy yup it calls everything in onInit when you compile the script / load the plugin.

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

          Just checked again with a slightler more complex test project and three cables, and it works here.

          GlobalCableTest2.zip

          griffinboyG 1 Reply Last reply Reply Quote 0
          • griffinboyG
            griffinboy @Christoph Hart
            last edited by griffinboy

            @Christoph-Hart

            I cannot find any xml file for the Hise save in that upload sorry!
            I'd like to poke around and see what the difference is between our projects.

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

              @griffinboy Ah, it's the hip file. Isn't it included in the archive?

              griffinboyG 1 Reply Last reply Reply Quote 0
              • griffinboyG
                griffinboy @Christoph Hart
                last edited by griffinboy

                @Christoph-Hart
                Hip File! I've never heard of them!
                You mentioned this earlier but I didn't enquire let me look for it.

                How do you open these? It's not in the docs when I search for the term

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

                  @griffinboy

                  Link Preview Image
                  HISE | HISE | File Menu

                  The file menu

                  favicon

                  (docs.hise.dev)

                  griffinboyG 1 Reply Last reply Reply Quote 0
                  • griffinboyG
                    griffinboy @Christoph Hart
                    last edited by griffinboy

                    @Christoph-Hart

                    Curious.
                    Yours works for sure.

                    The only immediate difference I can see is this:

                    9f3f9cad-15b2-4451-a522-49007cf3e8e3-image.png
                    Mine

                    0e03f870-c191-4620-8e70-2a1c6bd2ff63-image.png
                    Yours

                    Yours seems to have (3) whilst mine says (2) I assume this is connections? I never really understood it.

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

                      @griffinboy lol I just pasted your code and there it creates three cables.

                      If you donβ€˜t create the other three but use them in your nodes then thatβ€˜s your answer: you have to define all cables that you use in the script code, the nodes can not create cables.

                      griffinboyG 1 Reply Last reply Reply Quote 0
                      • griffinboyG
                        griffinboy @Christoph Hart
                        last edited by griffinboy

                        @Christoph-Hart

                        Oh no sorry, my code was a simplification!
                        I have many and they are defined in identical fashion.

                        As you can see none of them light up.

                        I'm going to try and recreate the issue in a new project.

                        Funny thing is that all cables work when you delete and reimport the nodes. But never on startup

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

                          @griffinboy does it help when you recompile all nodes (from the tools menu)?

                          This should reinitialise the cable connections.

                          griffinboyG 2 Replies Last reply Reply Quote 0
                          • griffinboyG
                            griffinboy @Christoph Hart
                            last edited by

                            @Christoph-Hart
                            Unfortunately not.
                            I'll work on it and get back to you when I have a smaller project to share.

                            1 Reply Last reply Reply Quote 0
                            • griffinboyG
                              griffinboy @Christoph Hart
                              last edited by

                              @Christoph-Hart

                              Hi, I've been unable to replicate it since, probably due to the complex mess that is the project in question.

                              And so I'll ask instead, is there any way for me to delete stored data for maybe the cables / dsp networks, so that I can attempt to compile fresh and remake the connections?

                              I've tried deleting all the project saves and presets, as well as removing and adding back the code for the GCs but neither solved my issue:
                              As soon as I reload the project XML my global cables disconnect from my nodes.

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

                                plus it would be nice to have a way to delete cables...

                                Cue: someone telling me just how easy it is...

                                HISE Development for hire.
                                www.channelrobot.com

                                griffinboyG 1 Reply Last reply Reply Quote 0
                                • griffinboyG
                                  griffinboy @Lindon
                                  last edited by griffinboy

                                  @Lindon

                                  From what I've seen, removing all code that uses a cable, or removing the global cable manager, does the trick: they all disappear.

                                  But yeah, I've not used cables much I've always had issues with them. But they seem to work now, just not in this one project πŸ˜†

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

                                    @griffinboy said in Global Cable Bug::

                                    @Lindon

                                    From what I've seen, removing all code that uses a cable, or removing the global cable manager, does the trick: they all disappear.

                                    But yeah, I've not used cables much I've always had issues with them. But they seem to work now, just not in this one project πŸ˜†

                                    yeah Ive done this:
                                    "removing all code that uses a cable".... its still there - maybe I missed something.

                                    HISE Development for hire.
                                    www.channelrobot.com

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

                                    23

                                    Online

                                    1.9k

                                    Users

                                    12.3k

                                    Topics

                                    107.2k

                                    Posts