HISE Logo Forum
    • Categories
    • Register
    • Login

    Container modulators not working

    Scheduled Pinned Locked Moved Bug Reports
    29 Posts 2 Posters 2.6k 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.
    • Christoph HartC
      Christoph Hart
      last edited by

      Don't worry about the LFO in the master chain, this one I can replicate :)

      d.healeyD 1 Reply Last reply Reply Quote 1
      • d.healeyD
        d.healey @Christoph Hart
        last edited by

        @christoph-hart I've updated the files in dropbox now. No glitches on Windows. Going to test debug mode on Linux now. There was a jassert juce_file.ccp line 134 on Windows in debug mode.

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

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

          Debug build on linux:

          JUCE assertion failure in ModuleBrowser.cpp:158 - this just happens on initialisation
          I get a lot of nasty noise in the debug build - I've added another 8 second audio file to the dropbox zip file demonstrating this - but no assertion messages related to this.

          With more careful listening I think the glitches are actually present even without the LFO. I'm not hearing them as strongly in my sampled instruments as I do with just the sine wave generator though.

          I also tested the Windows build in a virtual machine on my Linux system and there was no glitches so this does seem to be a Linux issue.

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

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

            Hmm, it seems as it sets every 8th sample, but the rest is silent, which correlates with the downsampling factor of the modulator system.

            Can you change the downsampling factor and try again? It's a preprocessor macro in hi_core/LibConfig.h:

            #ifndef HISE_EVENT_RASTER
            #define HISE_EVENT_RASTER 8
            #endif
            

            Around Line 66. Change it to #define HISE_EVENT_RASTER 1, recompile and try again. If this solves the issue, we're still not sure what caused it, but on the right track :)

            d.healeyD 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart
              last edited by

              BTW, the best way to debug issues in the modulator system is by creating a dummy wave file with a fixed value of 0dB and loading it in the Loop player:

              DC Wave file

              (Make sure you turn your speakers down, it's "loud"!)

              1 Reply Last reply Reply Quote 1
              • d.healeyD
                d.healey @Christoph Hart
                last edited by

                @christoph-hart That seems to have fixed it

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

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

                  Found it. It was indeed a code path that was just executed on Linux and contained low-level SSE optimizations that didn't work apparently :)

                  I've just pushed the change. Please check if it solves it - and make sure you roll back the manual change you did otherwise you won't be able to test it...

                  d.healeyD 1 Reply Last reply Reply Quote 1
                  • d.healeyD
                    d.healey @Christoph Hart
                    last edited by

                    @christoph-hart Excellent, that did it! Thank you. One strange thing I found though, changing the volume of the sine wave generator (doesn't seem to affect samplers) changes its pitch...

                    Is the master chain modulator issue a simple fix?

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

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

                      Wasn't exactly hard :)

                      Link Preview Image
                      - fixed monophonic modulation not being rendered in containers · christophhart/HISE@c585e45

                      The open source framework for sample based instruments - - fixed monophonic modulation not being rendered in containers · christophhart/HISE@c585e45

                      favicon

                      GitHub (github.com)

                      d.healeyD 1 Reply Last reply Reply Quote 2
                      • d.healeyD
                        d.healey @Christoph Hart
                        last edited by

                        @christoph-hart Yey, going to build now!

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

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

                        48

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.1k

                        Posts