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.
    • d.healeyD
      d.healey @Christoph Hart
      last edited by

      @christoph-hart

      No that's not a bug, it's a feature: if a sound generator does not have a polyphonic envelope, it will click, so with the new system, it will mute the sound and print this message that people don't do stupid things.

      I'm not sure I understand. I have a sampler with velocity sensitive samples, I put a simple envelope on the gain and set it to polyphonic mode (because I don't want one key to affect another key) I get silence. What do I do so that I get what I want without silence? :p

      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

        Are you sure you don't set it to monophonic mode? Polyphonic is the 3x3 dot icon, Monophonic is the big circle symbol.

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

          @christoph-hart Aha you are correct I already have it in poly mode! I notice that even though it is in poly mode it sometimes goes into a mono mode where playing one note will affect already sounding notes (I can't reproduce this yet but I'm working on it). Is mono mode no longer to be used with samplers?

          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

            No, polyphonic mode is supposed to be polyphonic - all voices are rendered independently. If you can reproduce your issue, I'll take a look.

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

              @christoph-hart So far it seems to be playing well so maybe I did something. If it happens again I shall try to capture it in a bottle. Do you get the glitchyness with gain modulators? I'll make a video of the issue tomorrow.

              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

                Here be the video: https://youtu.be/eWLQJlKH7E4

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

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

                  @d-healey Any progress on this issue? Is it something that's just happening on my system or are you getting it too?

                  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

                    Bumpy bump... the is the last road block I've come to that's preventing me releasing some libraries so I'm keen to understand if the issue is on my end or not.

                    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

                      Ah sorry David I‘ll look into it after the weekend.

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

                        @christoph-hart Thank you :)

                        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

                          Whoah, that's a strange one that doesn't happen on my system (it's so elementary I would have noticed it). Can you check if it happens on a Windows system too? So far I can describe this problem:

                          • if a time variant modulator is active, there is a burst of modulation values for the first buffer in the release phase of a note.
                          • just happens on Linux (?)

                          Also can you render a audio file of it, then I can take a look at it. Tools -> Record one second audio file was added exactly for this purpose (although it's lying and actually records 8 seconds). Also please supply your buffer size and sample rate as these specs are important numbers to figure out what's wrong.

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

                            @christoph-hart Could you provide a Windows binary? I don't have a build system for Windows at the moment.

                            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 @Christoph Hart
                              last edited by d.healey

                              @christoph-hart Doesn't matter, I got my Windows using brother to build and test it for me. The result is the same.

                              As soon as he added the LFO the message Master Chain: Illegal call in audio thread detected I get the same message on my system.

                              I got him to make the 8 second audio file, it's silent though, is that how it's meant to be?

                              Here's the link to the audio files (Linux and Windows) and the Windows build we used - https://www.dropbox.com/s/hitn7c6t9ip0ffv/HISE.zip?dl=0

                              We both had buffer set to 512 and Sample Rate set to 48. He also tried 1024 and 256 but it didn't change anything.

                              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 Christoph Hart

                                The error message is a result of the over-verbosity of the new audio thread guard system, which monitors unwanted operations in the audio calculation, but sometimes it fires (mostly during initialisation of modules) without a serious reason. I tried to get rid of false positives, but some slip through. TLDR: shouldn't be the cause of the problem.

                                Weird that the audio file is silent - silly question: have you played something :)?

                                1. Start the recording by selecting the menu item
                                2. During the next seconds, hit random keys and make sound
                                3. Get the HISE audio output as .wav file

                                If this doesn't work, can you load HISE into a sequencer on your Linux system, and export the glitch as audio file (or any other way of recording the HISE output if the inbuilt tool fails for whatever reason)? Also if you run the Debug build, does it fire a assertion when the glitch appears?

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

                                  Also maybe I didn't follow your exact steps:

                                  1. Add a sine generator
                                  2. Add a LFO modulator
                                  3. Play notes -> glitch at the note release

                                  Have I missed something?

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

                                    @christoph-hart I did not play any notes, that explains that issue :) I shall make a new file.

                                    Your steps are correct for creating the glitches. The other issue can be demonstrated just by adding an LFO to the master chain, it doesn't move at all and there is no display in the plot. I haven't checked the debug build, I will do that today.

                                    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

                                      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
                                            • First post
                                              Last post

                                            50

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.9k

                                            Posts