HISE Logo Forum
    • Categories
    • Register
    • Login

    Hise crashes when Sampler goes below C-2

    Scheduled Pinned Locked Moved General Questions
    35 Posts 3 Posters 1.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 @DanSound
      last edited by

      @DanSound What about the HISE virtual keyboard (top right) ?

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

      D 2 Replies Last reply Reply Quote 0
      • D
        DanSound @d.healey
        last edited by

        @d-healey I rarely use it and I don't know how to switch octaves, it's always plays higher ranges.

        Here is the project. NoteRangeTest.zip

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

          @d-healey If you mean to test it with the mouse then yes, it crashes Hise.

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

            @DanSound There's almost certainly a way to make my MIDI keyboard play a lower octave, but I don't know what that is :p

            Does it happen when you play any notes other than C-2?

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

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

              @d-healey Well, when I set to -5 then only C-2 crashes Hise, C#-2 and above - all good.

              But when I set -6, then it starts crashing on C-2 and C#-2

              aaaaand if it's -7, then it starts crashing from D-2. Like there is some dependency 😵

              D 1 Reply Last reply Reply Quote 0
              • D
                DanSound @DanSound
                last edited by

                BTW I switched to MBP and the issue is still there. Midi keyboard is the same.

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

                  @DanSound said in Hise crashes when Sampler goes below C-2:

                  @Lindon This seems like the solution https://forum.hise.audio/topic/1035/ignore-note-range/2?_=1676312033909

                  But it doesn't fix the problem. Or there is another way to fix that?

                  Where did you place this script?

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

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

                    @d-healey it's on top, after the Interface script. And Transposer is on Sampler level.
                    Screenshot 2023-02-14 at 11.08.09.png

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

                      Ok, after shifting the octave of my keyboard I was able to recreate the issue. And yeah it's weird, it doesn't happen on 24 but it does happen on 5 for example. I don't think it's as simple as it's trying to trigger a non-existing octave, otherwise the crash would happen at 24 as well.

                      @Christoph-Hart I think you should take a look at this.

                      @DanSound Do you need the user be able to transpose that low?

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

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

                        @d-healey oh, so it's not just me :) Thank you for taking time to figure out this issue.

                        I don't think the user will go that low, but it possible that someone accidentally find this bug (like I did) and will be annoyed by ruined session.

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

                          @DanSound whats wrong with pre-filtering all the notes below c-2? - right after Transposer1 in your example above

                          HISE Development for hire.
                          www.channelrobot.com

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            DanSound @Lindon
                            last edited by

                            @Lindon I tried to add per-filtering before and after, it still crashes.

                            LindonL d.healeyD 2 Replies Last reply Reply Quote 0
                            • LindonL
                              Lindon @DanSound
                              last edited by Lindon

                              @DanSound said in Hise crashes when Sampler goes below C-2:

                              @Lindon I tried to add per-filtering before and after, it still crashes.

                              -- er how can it as it should never play the note...unless its something in the transposer itself....

                              HISE Development for hire.
                              www.channelrobot.com

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

                                @Lindon Yeah I tried it as well. Possibly a transposer bug.

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

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

                                  @d-healey said in Hise crashes when Sampler goes below C-2:

                                  @Lindon Yeah I tried it as well. Possibly a transposer bug.

                                  yeah thats my feeling too...

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                    @DanSound See if my transposer script works any better

                                    Link Preview Image
                                    File not found · davidhealey/HiseUtilityScripts

                                    Contribute to davidhealey/HiseUtilityScripts development by creating an account on GitHub.

                                    favicon

                                    GitHub (github.com)

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

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

                                      @d-healey unfortunately, Hise still crashes when I turn octave or semi tone knobs.

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

                                        @DanSound In that case I think the best action is to take my transposer script, and before applying a transpose value check if that value will cause a crash. If so, you can skip it. Not a perfect solution of course.

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

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

                                          @d-healey Thanks again, will try this option for now. But hopefully Christoph will fix this in some future updates.

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

                                          51

                                          Online

                                          1.7k

                                          Users

                                          11.7k

                                          Topics

                                          101.8k

                                          Posts