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
      DanSound @Lindon
      last edited by

      @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?

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

        Can you post a snippet that causes the problem? and I'll see what I can do.

        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 Here is the snippet. It works fine with Sine generator, the problem is with Sampler.

          When I set Sampler's Transposer to -5 or below and press C-2 key on midi keyboard Hise crashes.

          I also noticed that when Transposer is set to -1, -2, -3 or -4 there are no crashes, only at -5 or below.
          And also from -24 to -13 there are also no crashes. The range -5 to - 14 makes Hise crash. Kinda weird, maybe there is something with my midi keyboard.

          My samplemap looks like this if this if this helps
          samplemap.PNG

          HiseSnippet 1417.3oc4X8taaaCDmxNrKwMsXsqCXeY.BA6CN.YA1IsIEHaqN+sKnwIF1oY6aALRz1DQlTfhJ0Ys80XOG6QnOR8MX6n9iEkqbqqQaWWm9fg3c73869Cu6jaIENzf.gDYsvoW6SQVKh6bMW0e29DFGc3dHquEqnAJatPQskDdOpsK0Csy09jf.pKxxp7i0a0Zg4PQOu9Q6P7HbGZFID5LAygdDa.SkQsUimv77Nf3ROkMvX22uwgNB9tBOQH.qx3ZHehykjdziI5sUBirtw9tLkP1QQ.rgrlaGg60c5KdFOd+mwBXW3Q0Kpi5.GTL4CDdtZDqoh1sOyysUp4GfPV3VYNixwNi6gaxbYinm4T95HF1YRX5OrJkGdkyAu5lvqlA7J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BRtecKCB4uhMh93onuWkgp+AoT4+hUyy4EWHEicX5bi84WAUI.JZLdWnOeWRnmJkZd2YSAW32WvYN4uSB2w50iJMwdgFz1JETRHix8Zj1RbDoenwQLNkHyWp48xWT+8Nipv302gigqstLq8+c6BW9+McgeatnamzC1FznT8YXLbQbTmBaci8OkvqsHTAMoSaThgtocfIHbnl8TKo6SGutV5H0cnb2nE+M7jvrdZCXMy5oLQNoGEXOIuG8kGVkobciwngE8fV6dlonAvbJZHAMM+jfxADGo3bm3OqRi04in.njG8ORt.todsc8zOkBiqsZMz.nM34NN5j7eD5pVrLqMCxr9LHy8mAYdvLHyFyfLaNCx7v2pL5IP1NTIFDWzCHzZ+3DKq8GkXUF8O.5iEMf.
          
          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @DanSound
            last edited by

            @DanSound Oh that's caused because the sample is being stretched too far. Try remapping the sample lower and see if the problem goes away (this is a test, not a fix)

            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 Just tried - I set the lowest sample root note to C-2 but the issue is still there.

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

                @DanSound Doesn't crash here with my samples. What sample rate are yours? Have you tried converting them to a monolith. Is it just one particular sample that triggers the issue or all of them?

                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 Most of the samples are 44,100 Hz, 24 Bit, Mono, PCM, some sample maps use 96,000 Hz samples. But this happens with all of them.

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

                    @DanSound What happens if you map a single sample to middle C and don't stretch it? Also are you using the develop branch?

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

                                            48

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts