HISE Logo Forum
    • Categories
    • Register
    • Login

    Pops/Crashes All DAWS Mac/Windows

    Scheduled Pinned Locked Moved Bug Reports
    23 Posts 2 Posters 1.2k 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.
    • Adam_GA
      Adam_G
      last edited by Adam_G

      hey all, im having an issue with a Sampler causing loud pops and crashes when ANY key above D#8 is played.

      the sample map is stretched from c-2 to g8 and i get that the higher octaves screech or are inaudible but this is an outright crash. it happens in all daws and in Logic Pro it pops then loudly hisses white noise for several seconds.

      the project has several hundred sample maps and it happens on some but not all. it is happening with a very large number however and the samples used have no issue otherwise. has anyone encountered this?? my project has come to a halt because of it :(

      im using the pitch/time stretch build from august 4.

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

        @Adam_G can you upload a samplemap that shows this? I‘m guessing that the extreme pitch factor leads to a out of bounds read from the streaming buffers (however I‘ve added a few failsafe checks that apparently don‘t help in your case).

        Adam_GA 1 Reply Last reply Reply Quote 0
        • Adam_GA
          Adam_G @Christoph Hart
          last edited by Adam_G

          @Christoph-Hart here you go thanks for checking https://www.dropbox.com/scl/fi/rfmjo1c7klfro5oi3m6az/samplemap.zip?rlkey=oyief3ebssrrb5qovb02l9sl4&dl=0

          Adam_GA 1 Reply Last reply Reply Quote 0
          • Adam_GA
            Adam_G @Adam_G
            last edited by

            @Adam_G correction also this particular map is mapped c1-c8

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

              @Adam_G what are your buffer size & preoad size settings (also the daw buffer size)? Just making sure that I reproduce your exact setup.

              Adam_GA 1 Reply Last reply Reply Quote 0
              • Adam_GA
                Adam_G @Christoph Hart
                last edited by Adam_G

                @Christoph-Hart 512 is the buffer size, where do i see preload size ? daw buffer is set to 4096

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

                  @Adam_G can you make a screenshot of the sampler you load it into? Also is 512 the audio buffer size (as in what you set in the DAW preferences)?

                  Adam_GA 1 Reply Last reply Reply Quote 0
                  • Adam_GA
                    Adam_G @Christoph Hart
                    last edited by

                    @Christoph-Hart syn193.JPG

                    is this what you mean? the DAW buffer size is 4096 but it happens in all DAWs.

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

                      @Adam_G Please click on the Sampler settings so I can see the buffer sizes.

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

                        @Christoph-Hart And your DAW buffer size is really 4096? If yes, that doesn't make sense, try a lower latency and enjoy a responsive music production system lol.

                        Adam_GA 1 Reply Last reply Reply Quote 0
                        • Adam_GA
                          Adam_G @Christoph Hart
                          last edited by

                          @Christoph-Hart sampler123.JPG fl123.JPG

                          sorry haha. you are right that would be unusable but i dont use this machine for music production. the trial of fl is installed purely for testing purposes. the same issue i mentioned is happening across multiple daws with various settings both windows and mac.

                          after testing further i think what you mentioned about extreme pitch cases may be right because it happens when notes beyond g8 are pressed. does that also relate to buffer size?

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

                            @Adam_G Yes, there are multiple safeguards in place. If you pitch a sample up by 4 octaves it needs 4x as much samples, so with a buffer size of 4096 you request 16384 samples at once which will blow up the streaming buffers). I need to check because I think I've added a failsafe so that the "internal" buffer size in HISE never exceeds 512, but it might still cause glitches.

                            I'll take a look at it now, should be enough information for me.

                            Adam_GA 1 Reply Last reply Reply Quote 0
                            • Adam_GA
                              Adam_G @Christoph Hart
                              last edited by

                              @Christoph-Hart thank you for looking into it

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

                                I don't see a problem here in the default mode, however when I'm activating Lazy load, it will throw an assertion about some buffer overflow. Can you check if deactivating LazyLoad prevents the issue?

                                Adam_GA 1 Reply Last reply Reply Quote 0
                                • Adam_GA
                                  Adam_G @Christoph Hart
                                  last edited by

                                  @Christoph-Hart thanks that seems to resolve the issue some but if you add a Global Time Variant Modulator and increase the intensity then try again - crash. is there a way to resolve that?

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

                                    Where do you connect the time variant modulator? To the pitch modulation? Please make a snippet with the patch that crashes.

                                    Adam_GA 1 Reply Last reply Reply Quote 0
                                    • Adam_GA
                                      Adam_G @Christoph Hart
                                      last edited by

                                      @Christoph-Hart yes, with the same patch i shared

                                      HiseSnippet 1091.3oc2W0raaaDDlzxqajZZPRPNzCs.7PO3.jFHk33TfdHxRV1PnQ1BhtF8VvZxURK7xcIVtzspE8cpOB4QJuAsytKk3OQUVVwIMn5f.mYmY427+vgRQ.IIQHcbqe1rXhi6cQ9y3pocmhobm9G53dOz.bhhH8rr5LKFmjPBcbcqcrlga8scL+d2q5fYXd.Imkiy4BZ.40zHpJm6v1+DkwNBGRNiFUP58Z2OPv6JXhT.O0PMchwAWhmPNAqEaKji6N8BoJgzWgUjDPlNhvY9SE+J2J+4zD5ELhlnkiObQV1NcmRYgCmaqINNtng4VdMqk+Hz.ZHcA+bOv8MG3kqQQef6VqBRstAPxs.j11BoGf7CjzXU9IZ77kn9bHfLFCt5hPwJqi6aQcEf.b0SivWRNRBDKTX28a17IdveO9GGmxCTTA2SvOQnHmx28wM9iF0a7mM7pdz3wK8L8qQJXLhboGqitxUo3t7znKHxm3cElkRVHHX9k8o6rd9z.qUWPPAuOmpNMljQejfEp8U5me+HfSlaCd5m6eHVg0AkLdfbwDohpgi6gjqfrZaHpN5PRxkJQLjW+dwOHyQDlxvpxoS55lrC.+QoXnNPwSnpYEqqplis8+t+nYA+w0XsqIbe.ZHUELc43cqkfWvq8wFuYUreEp23wj.UNX2Fczurxxyacn7sVn7PjuRRvQT9DebTLTRXvSCTFUqaiFmwqciygRBSfC8o+dAwda6Nof+RVl6e017pNHRjxK8txP9HRLAqfveActS6QiNVJRiqp06dkIY4LIz3FbEEO3TNA76ph1XWoHIYLXNl6Jo3QCSkSz9pbNiHWQjIk4cRZDD64bBCTF45pqbSH5XMMX.VIo+VQoMuklmgMwaXZhgtUE5mUg94Un2qB8KpPueE5WlSacnCvw5LC8zrJs49h0qMGbACwfIWPxNzIKtbKmxsXJH5BetAWElctjIR67wZH4mzFXe38aqsdv8ZloWeNF8o5PUO9UPMJvQiwGBSQFiSYp4bK2uXffKhmJ3zfxUDPF9jIDYQruTC5.kBJHy47n1iHLBNoPI82090TNAKKWnei7E278aVZ75qQV35oax48+i4j09PmS1Zo3ccy49FzwLwEXl1idNVRwb0BKv.duLAr97LQ7VHSqq2V5PiELrTuS.zBNqomVVnqsxpmgoYuJc2OXwJNwrPnsY3sUd1mo6IrpTm6kskfG71kpOyyyuKxLWySuFx+UPcjHUAqWLeDOB1CvG18IfTbafszaXXoapo0.xmvCMD+M7K6vVyWcPeXq4G5DL+p.aK6YataMBWmHaV+kAKkvJVFj.aXogDjQ+IAkQ3.o3MA1umRi06X3.nja9n45vWuCzdsbLeiEnGp4Sa5DAypeSPftP36AO7x04YafNOeCzYuMPmWrA5r+FnyK2.c9gUpidMoCRUhH6PBfwvd1DK2dKRrp47ODq6lxA
                                      
                                      Christoph HartC 1 Reply Last reply Reply Quote 0
                                      • Christoph HartC
                                        Christoph Hart @Adam_G
                                        last edited by

                                        @Adam_G nope, still works OK.

                                        What happens if you set Preload Size to -1 (this will deactivate the streaming and load the entire sample into memory)?

                                        Adam_GA 1 Reply Last reply Reply Quote 0
                                        • Adam_GA
                                          Adam_G @Christoph Hart
                                          last edited by Adam_G

                                          @Christoph-Hart crashed upon hitting around 6.00 st on the modulators intensity, i was playing notes in the c7 octave at the same time

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

                                            @Adam_G Ah yes, setting that mod values will bump it over the MAX_PITCH_FACTOR constant and then it'll crash later.

                                            I've pushed a fix, let me know if it works.

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

                                            34

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.5k

                                            Posts