HISE Logo Forum
    • Categories
    • Register
    • Login

    Sampler issues latest build

    Scheduled Pinned Locked Moved Bug Reports
    36 Posts 5 Posters 3.7k 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 @Christoph Hart
      last edited by

      @Christoph-Hart Awesome! Gonna check now. I just tested my current version with 48K and it still exists.

      Dan Korneff - Producer / Mixer / Audio Nerd

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

        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 :)

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

          @Christoph-Hart On this end:
          Monolith (fast Decompression) works!
          Monolith (low file size) crashes sampler when it preloads the samplemap
          Monolith (no compression) plays wrong pitch.
          I guess I'll stick with the first option ;)

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            What first option? I don't know what you talking about. Move along, nothing to see here :)

            Link Preview Image
            - removed deprecated HLAC encoding options 路 christophhart/HISE@32e778a

            The open source framework for sample based instruments - - removed deprecated HLAC encoding options 路 christophhart/HISE@32e778a

            favicon

            GitHub (github.com)

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

              @Christoph-Hart 馃槃

              Dan Korneff - Producer / Mixer / Audio Nerd

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

                @Christoph-Hart said in Sampler issues latest build:

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

                Yes. but also 27.4 Khz samples is not common in 2018/19 (and even since the 90s)
                just the frequency used by Linndrum, Emulator II, Sx samplers, etc. ... from the 80's.

                Today it's not useful to go less than 44100. Better using 44/48/96 Khz and a bitcrusher Fx (and other scripts). if you script well the behaviour of 80's sampler you can obtain the same result (or pretty close).

                but the part of code that handles samplerates makes sence now about my problem. ;)

                for my part i don't go up to 48 Khz, but in 24 bits. i feel it better and more digestible than 96 khz (16 or 24 bit).
                96Khz (24 bit) is only used by me for music creation mastering.

                Excuse me i'm French.

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

                  @Christoph-Hart Just compiled the latest version. HISE is crashing directly after you create a monolith. Tried using HLAC - No Normalization and Full Dynamics. On restart, Project will refuse to load unless you change the Samplemap XML savemode back to 1.

                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                    I just noticed in the console, I'm getting this error during export of Monolith:

                    Master Chain:! The sample Snare multi mic.ch2 wasn't found
                    

                    and

                    Master Chain:! Error at loading sample Snare multi mic.ch2: File is corrupt
                    

                    And debugging via Visual studio:

                    Unhandled exception at 0x00007FF9CE321B28 (HISE x64 16 Out.dll) in AudioPluginHost.exe: 0xC000001D: Illegal Instruction.
                    

                    Dan Korneff - Producer / Mixer / Audio Nerd

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

                      DISASSEMBLY.PNG

                      Dan Korneff - Producer / Mixer / Audio Nerd

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

                        What CPU are you using?

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

                          @Christoph-Hart cpu.PNG

                          Dan Korneff - Producer / Mixer / Audio Nerd

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

                            @Christoph-Hart
                            I just realized that I wasn't using the debugging version of HISE.
                            Here's some info that might be more relevant:
                            debug monolith.PNG

                            Dan Korneff - Producer / Mixer / Audio Nerd

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

                              debug 2.PNG

                              Dan Korneff - Producer / Mixer / Audio Nerd

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

                                debug 3.PNG

                                Dan Korneff - Producer / Mixer / Audio Nerd

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

                                  and here's the final error that causes crash when preloading monolith
                                  debug 4.PNG

                                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                                    @Christoph-Hart Is there anything else I can do to troubleshoot this issue?

                                    Dan Korneff - Producer / Mixer / Audio Nerd

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

                                            54

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts