HISE Logo Forum
    • Categories
    • Register
    • Login

    [bug] Timestretch causing pops and white noise

    Scheduled Pinned Locked Moved Scripting
    timestretch
    3 Posts 2 Posters 113 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.healeyD
      d.healey
      last edited by d.healey

      When I enable timestretch on my sampler I'm getting pops/clicks and the occasional blast of white noise.

      All I have in my test project is a sampler, and in the UI script I have this:

      const var Sampler1 = Synth.getSampler("Sampler1");
      
      // fetch the current state
      const var obj = Sampler1.getTimestretchOptions();
      
      // Apply your changes
      obj.SkipLatency = false;
      
      // Update the options
      Sampler1.setTimestretchOptions(obj);
      

      The samples are 16bit 41kHz.

      In another project which uses 24bit 48kHz samples I don't run into the issue in HISE, but I get similar issues in the exported project. That one is using multi-mics and some of the mics don't seem to play at all sometimes when timestretching is enabled.

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

      1 Reply Last reply Reply Quote 2
      • CatABCC
        CatABC
        last edited by

        I encountered this problem not long ago. If Sampler enables timestretch, using Pitchbend will also cause this problem.

        //I am a new student at HISE._
        //Windows11 & MacOS Ventura 13.6.7_

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

          @Christoph-Hart Still getting nasty sounds with time stretching.

          Here's an audio file rendered directly from HISE. You can hear the distortion at the beginning, this is just by enabling time-stretching for the sampler without changing the ratio.

          HiseExport.wav

          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

          19

          Online

          1.7k

          Users

          11.8k

          Topics

          103.2k

          Posts