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.9k 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
      DanSound @d.healey
      last edited by

      @d-healey With just one note it works fine with any Transposer value. I think it crashes when I go to a non-existing octave below C-2.

      I'm using develop branch, but to the freshest one, v2.1.0

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

        @DanSound Now map that sample to the lowest note in the mapping window and test.

        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 Tried that and Hise crashed.

          And for the first test, I did it wrong, I only played with Transposer.
          So when I set just one sample to C3 and then press C-2 and set Transposer lower than -4 Hise crashes.

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

            @DanSound I think you need to post a simple project that demonstrates the issue because I'm unable to recreate it here with my samples.

            Peek 2023-02-13 22-51.gif

            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 Will do that in few minutes. If I do it with the mouse like you, then it works fine, but when I press the lowest key on the midi keyboard it crashes.

              d.healeyD 1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            22

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            105.7k

                                            Posts