HISE Logo Forum
    • Categories
    • Register
    • Login

    Global Edit Range Feature for AudioWaveform?

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 144 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.
    • W
      weezycarter
      last edited by

      Hello. So I have an audiowaveform that updates visually with every key I press. (85 samples mapped out on the keyboard).
      I accomplished this by setting my sampleIndex to -1.
      This makes the audiowaveform dynamically respond to each key I press and it updates the waveform visually with every key I press.
      This is great but then it causes a Hassle when adjusting the start and end range.
      If I want to change the start point of my preset I have to press each key individually and adjust the start and end range points of each key.
      Is there a way for me to do a global range edit? So that when I make a range adjustment it applies to ALL samples?
      I want to do this while still keeping the audiowaveform's dynamic response. I still want the waveform to keep updating with every key press. That is fine.
      What I don't want is to have to adjust the start and end range for each key individually. I want to know if there is some global way to edit the start and end range.

      Thank you all!

      W 1 Reply Last reply Reply Quote 0
      • W
        weezycarter @weezycarter
        last edited by

        @weezycarter Anyone got any tips?

        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @weezycarter
          last edited by

          @weezycarter

          See if you can adapt this into the script

          	for(a in Sampler11.createSelection(".*"))
              {
                  local r = parseInt(a.get(Sampler.SampleEnd));
                  local v = value / 10;
                  a.set(Sampler.LoopStart, v * r);
              }
          

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

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

          32

          Online

          1.7k

          Users

          11.8k

          Topics

          102.3k

          Posts