HISE Logo Forum
    • Categories
    • Register
    • Login

    inconsistent logging?

    Scheduled Pinned Locked Moved Bug Reports
    5 Posts 3 Posters 310 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.
    • ulrikU
      ulrik
      last edited by ulrik

      This is a test project where I add modules to be saved in presets
      I use this code to accomplish this, when I compile I'll get errors.

      const GenericSlots = [Synth.getEffect("Effect Slot1"),
      					  Synth.getEffect("Effect Slot2")];
      
      
      //	This will complain: "Interface:! Line 10, column 35: Can't store modules with child modules"
      for (g in GenericSlots)
      	Engine.addModuleStateToUserPreset(g.getId());
      

      but...
      if I then save a preset and open it in an external editor I can see that the state of the modules are saved???

      Before compiling:

      Skärmavbild 2023-01-07 kl. 10.41.26.png

      After compiling:

      Skärmavbild 2023-01-07 kl. 10.41.45.png

      The preset opened in an external editor:

      Skärmavbild 2023-01-07 kl. 10.42.44.png

      snippet

      HiseSnippet 1306.3oc2X0saaTDEdV6LUwKPTKBgDhaFrDBaoficRaABBY2X6jZQRpI1okJDJLY2w1ixtyXM63j5hpDuFgq30n20a4s.Itp2wa.blcWauN0IMX0FQvWjn47yb9luYN+X2TIcXAARExJS6g8YHq2E2ZnP2qZOJWfZTCjiaWuU6F6tEZig8oAALWjkU5sLpsxr.J7yeUdCpGU3vlHBgdnj6v1l6y0Sj1rx2x871j5xZy8SX8sqzvQJpJ8jC.njFWD0m5bDsKaWpwrTXj0Mp6x0RUKMUyBPVKrgzcXqdxSDQ1+Pd.+POlYQITKXihDuozy0fXiTT0dbO2liNxAHXWZNg.RGQ.e.dGtKer7IDwMCUPl3QR9vJ0zvK8TvqTR3ULA7lAjrR.oEhfzsvsbT795IZL34cvMDZlpCEn8jPIxVTpuJMtpDrPnK3SOhsoBVL1ib2sXwkIvex+0111.2GnIawDLE2okmTGP9FxOD9PnPWltdmNLGctrQ+mXLnT17Kamw7gPtH6VMa9ezDgUVIS6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k97xuwpS9+lWYWEwvm5njG3DM1t4ozhgR.tUD9adjAuiYMozng0w3hEJZlCjefiiYjiOGxzmsOqNG9r1b3ysmCetyb3ycmCe9h4vmu7B8w7y+buAv2INpRNHnY8vuzjkUcAExPBygQ+CrZsTE.
      

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      Matt_SFM 1 Reply Last reply Reply Quote 0
      • Matt_SFM
        Matt_SF @ulrik
        last edited by

        @ulrik Just digging this one to give info if someone stumbles upon that issue:

        In my case, I just compiled HISE with the NUM_HARDCODED_FX_MODS preprocessor and got this warning, though I didn't get it before.
        I recompiled HISE without this preprocessor and it went back to normal...

        Develop branch
        Win10 & VS17 / Ventura & Xcode 14. 3

        d.healeyD ulrikU 2 Replies Last reply Reply Quote 0
        • d.healeyD
          d.healey @Matt_SF
          last edited by

          @Matt_SF said in inconsistent logging?:

          I recompiled HISE without this preprocessor and it went back to normal...

          Are you adding a hardcoded modules state to the preset?

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

          Matt_SFM 1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik @Matt_SF
            last edited by

            @Matt_SF thank you Matt, yes indeed I have the NUM_HARDCODED_FX_MODS preprocessor active.

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

            1 Reply Last reply Reply Quote 1
            • Matt_SFM
              Matt_SF @d.healey
              last edited by Matt_SF

              @d-healey yes, several of them. Oddly enough, only one of them produced the error...

              Edit: I just did a test, I actually don't need it in my project.

              Develop branch
              Win10 & VS17 / Ventura & Xcode 14. 3

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

              31

              Online

              1.8k

              Users

              12.0k

              Topics

              104.5k

              Posts