HISE Logo Forum
    • Categories
    • Register
    • Login

    Crazy Cubase <=10 Bug That Messes Up The Variables

    Scheduled Pinned Locked Moved Bug Reports
    12 Posts 5 Posters 254 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.
    • ustkU
      ustk @aaronventure
      last edited by

      @aaronventure I might not add a lot here, but have you deferred the interface script?

      Can't help pressing F5 in the forum...

      A 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @aaronventure
        last edited by

        @aaronventure Does it happen in other DAWs if you manually close/open the UI?

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 0
        • A
          aaronventure @ustk
          last edited by

          @ustk Yes.

          @d-healey It doesn't happen in other DAWs at all, and doesn't happen in Cubase 12+. We haven't checked 11.

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @aaronventure
            last edited by

            @aaronventure See if you can make a minimal project that is able to recreate the issue. This will make it easier to find the cause/solution.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            1 Reply Last reply Reply Quote 0
            • SimonS
              Simon
              last edited by

              Are you passing values through the globals that affect which sample is chosen?

              Debugging DAW-specific problems is tricky. Dropping in Christoph's file logger can make it much easier.

              1 Reply Last reply Reply Quote 0
              • A
                aaronventure
                last edited by

                I'm circling back around to this as I'm seeing some Cubase-specific fixes being pushed.

                So far I haven't been able to reproduce this in a minimal example, but I found the trigger.

                In older versions of Cubase (sub-12) it happens whenever Cubase has to switch focus which causes a jump in its audio engine. Like switching to another window for a minute, then switching back to Cubase. Suspend settings do nothing here: you can leave the playback of the plugin going and it plays perfectly until you switch back to Cubase, it hicks up for a second and then it starts picking the wrong samples.

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

                  @aaronventure the fix I've just pushed was just a regression from my plugin parameter redesign - it basically caused all plugin-parameter assigned buttons to stop working on Cubase because the new change gesture callbacks apparently send a value change of the previous button value so it snaps back as soon as Cubase processes that change.

                  Does it also exhibit this behaviour when your plugin window isn't open?

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

                    @Christoph-Hart Yes.

                    If you do something like add a stereo track while it's playing, it'll just start doing weird stuff like picking wrong samples from wrong velocities or even wrong groups.

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

                      @aaronventure can you reproduce this is a minimal example or does it only happen in the full project?

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

                        @Christoph-Hart I tried to, but all works well when I try to reproduce a minimal example.

                        This uses the old sample mapping system, and the bug has been present for a couple of months at least. I even tried building with a version from last summer and (after fixing all the errors that popped up) it was still happening.

                        The instrument has a pretty complex on note function where it determines which sample from which group to play, and it's here somewhere that shit goes wrong, but I cannot possibly imagine why. How would a host hiccup mess up the way samples are picked?

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

                          @aaronventure the only thing that could happen is that a timer callback is being dropped because Cubase's UI thread is very prone to being overloaded, but it obviously does not have access to any variables so what you are experiencing seems to be a very odd glitch.

                          If you want you can send me the project, then I'll take a look at it, I'm currently debugging stuff in Cubase anyways.

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

                          24

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          103.0k

                          Posts