HISE Logo Forum
    • Categories
    • Register
    • Login

    Sampler issues latest build

    Scheduled Pinned Locked Moved Bug Reports
    36 Posts 5 Posters 3.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.
    • Dan KorneffD
      Dan Korneff
      last edited by

      I'm also having a heck of a time with playback of the sampler in general.
      I've notices a couple of issues (other than overlapping midi not triggering samples).

      • Even if there is no overlapping midi, random wont trigger. (overlapping midi will 100% not trigger)
      • using the freeze function in Cubase or bouncing down the audio in Cubase + Reaper gets an unexpected result. Audio gets chopped off (I think I experienced this during the overlap midi thread as well)

      Dan Korneff - Producer / Mixer / Audio Nerd

      1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff
        last edited by Dan Korneff

        SNARE BOUCNE.PNG
        SNARE BOUCNE 2.PNG

        Dan Korneff - Producer / Mixer / Audio Nerd

        1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff
          last edited by

          Looks like the samples cutting out and not exporting properly are a buffer issue. Setting preload to -1 works great... but eats up a huge amount of RAM. Time to tinker with some settings :)

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            Are you using an external HDD?

            Dan KorneffD 1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff @Christoph Hart
              last edited by

              @Christoph-Hart I'm not. I have an SSD and SATA in this rig. It does it on both.
              Setting preload to 16000 made it work well with a has a small RAM footprint. I'm pretty happy with that.
              Still can't export a monolith though ;)

              Dan Korneff - Producer / Mixer / Audio Nerd

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

                Yes, that export issue has something to do with your weird AMD CPU not supporting a SSE3 instruction :) I am using Intel CPUs on all my test machines, but I'll figure this out when I find the time.

                The streaming buffer drops are worrying though. How many voices are you playing before you get the drop outs? You should be able to play at least 400-500 voices before the streaming engine starts getting busy.

                Dan KorneffD 1 Reply Last reply Reply Quote 0
                • Dan KorneffD
                  Dan Korneff @Christoph Hart
                  last edited by

                  @Christoph-Hart 😅 That's probably why my Mac doesn't crash when making monoliths... It should be noted that the intel Mac does get the same "file is corrupt" error in Console.

                  When I do a test with a bunch of hits, such as a drum roll, it can use up to 100 voices. I've haven't seen it get above 200 with a full multi mic drum kit going.

                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                    Hmm, but the example screenshots you showed are just playing a few voices and still drop out, so it can't be a performance issue actually.

                    How many mic channels are you using? Ah, and does changing the preload size to -1 fix the overlap not being retriggered?

                    Dan KorneffD 1 Reply Last reply Reply Quote 0
                    • Dan KorneffD
                      Dan Korneff @Christoph Hart
                      last edited by

                      @Christoph-Hart said in Sampler issues latest build:

                      How many mic channels are you using?

                      This example has 4 mic positions.

                      does changing the preload size to -1 fix the overlap not being retriggered?

                      HOLY CRAP! It does!

                      Dan Korneff - Producer / Mixer / Audio Nerd

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

                        Alright, then we just know that something is funky with your streaming thread. Getting close...

                        Dan KorneffD 2 Replies Last reply Reply Quote 0
                        • Dan KorneffD
                          Dan Korneff @Christoph Hart
                          last edited by

                          @Christoph-Hart Maybe I spoke too soon. It worked on one quick test, but now it seems to be random if it triggers with overlap

                          Dan Korneff - Producer / Mixer / Audio Nerd

                          1 Reply Last reply Reply Quote 0
                          • Dan KorneffD
                            Dan Korneff @Christoph Hart
                            last edited by

                            @Christoph-Hart After looking into this further, I think it comes down to basic NoteOn / NoteOff commands.

                            In this first pic, I have 4 overlapping notes. Only 3 of them are triggered.

                            overlap midi export 0.PNG

                            If I arrange the midi to display where the overlaps occur, I can see that the sampler wont trigger a 2nd midi note (of the same note) without first receiving a NoteOff command.

                            overlap midi export 2.PNG

                            Dan Korneff - Producer / Mixer / Audio Nerd

                            1 Reply Last reply Reply Quote 0
                            • Dan KorneffD
                              Dan Korneff
                              last edited by

                              It's actually more apparent when done with the Sine Generator using the same midi.

                              sine export.PNG

                              Dan Korneff - Producer / Mixer / Audio Nerd

                              1 Reply Last reply Reply Quote 0
                              • Dan KorneffD
                                Dan Korneff
                                last edited by

                                Looks like this is just normal behavior of midi in general. I guess it's up to the designer on how to deal with this?

                                Dan Korneff - Producer / Mixer / Audio Nerd

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

                                  @Christoph-Hart said in Sampler issues latest build:

                                  FYI, that's the code that handles samplerates:

                                  if (isOldMonolith)
                                  {
                                      return 44100.0; // doesn't matter anyway (the sample rate is stored externally)
                                  }
                                  else
                                  {
                                      const static double sampleRates[4] = { 44100.0, 48000.0, 88200.0, 96000.0 };
                                      const uint8 srIndex = (sampleDataByte & 0xC0) >> 6;
                                      return sampleRates[srIndex];
                                  }
                                  

                                  Now it also makes sense why @staiff is struggling with his 27,4kHz sounds :)

                                  Thanks for this notice. I too have needed to repitch my own samples after compression due to unusual sample rates (frequent ones for me being 32 and 50 kHz).

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

                                    Have you converted your samples to HLAC monoliths?

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

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

                                    13

                                    Online

                                    1.8k

                                    Users

                                    11.9k

                                    Topics

                                    104.0k

                                    Posts