HISE Logo Forum
    • Categories
    • Register
    • Login

    HISE crashes when using short (single-cycle waveform) samples in Sampler

    Scheduled Pinned Locked Moved General Questions
    12 Posts 4 Posters 423 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
      last edited by

      Hello!

      I'm using single cycle waveforms in Sampler to make a something like a synth. But HISE crashes all the time. Tried on both win and mac os.

      Also tried to make a clean project with only Sampler and still no luck.

      Tried to use an audio file with 2 and 4 series of single waveform cycles and it works, but when I'm looping only one cycle HISE crashes once I hit 1-2 notes.

      Any ideas how to fix that?

      D 1 Reply Last reply Reply Quote 0
      • D
        DanSound @DanSound
        last edited by

        Just built HISE from the fresh master branch and the issue is still there :(

        D 1 Reply Last reply Reply Quote 0
        • D
          DanSound @DanSound
          last edited by

          @Christoph-Hart Seems like it's a bug, this happens immediately when it's a high note, lower notes seems more stable. I attached project file with a waveform to make it easier to test. test-single-cycle.zip

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

            @DanSound If you're stretching the sample across the key range then perhaps it's too short on the higher notes and that's causing the issue.

            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 DanSound

              @d-healey Yes, it's stretched across all keys, I can't leave only low and mid notes :)

              I was using the same technique in Live's Sampler and wanted to use it in HISE.

              I guess the same single cycle technique was used in HEXERACT that was built with HISE and it works fine. But i could be wrong

              LindonL 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @DanSound
                last edited by

                @DanSound said in HISE crashes when using short (single-cycle waveform) samples in Sampler:

                @d-healey Yes, it's stretched across all keys, I can't leave only low and mid notes :)

                I was using the same technique in Live's Sampler and wanted to use it in HISE.

                I guess the same single cycle technique was used in HEXERACT that was built with HISE and it works fine. But i could be wrong

                • its probably single cycle samples - resampled across the keyboard....not just one sample mapped across the keyboard...

                HISE Development for hire.
                www.channelrobot.com

                D 1 Reply Last reply Reply Quote 0
                • D
                  DanSound @Lindon
                  last edited by

                  @Lindon I'm using just one single-cycle waveform sample.
                  I will try to use several samples and report if this works.

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    DanSound @DanSound
                    last edited by

                    Made a C4 waveform (few cycles), then looped one cycle in HISE ... and the same issue again. Seems like it can't handle very short loops.

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

                      @DanSound Did you stretch it?

                      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 a bit, to make an octave. But the second attempt is kinda stable, will see if it keep working.

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          DanSound @DanSound
                          last edited by

                          Ok so this version is kinda stable, I still had few crashes tho. But it looks like using longer samples with loop points would be a better (more stable) solution. Or maybe Wavetable will do the job.

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

                            @DanSound Yes the sampler module is optimized for streaming longer samples and sometimes chokes when you load in samples that are shorter than the preload buffer size (or the audio buffer size).

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

                            48

                            Online

                            1.7k

                            Users

                            11.7k

                            Topics

                            101.8k

                            Posts