HISE Logo Forum
    • Categories
    • Register
    • Login

    Zero Padding Tool

    Scheduled Pinned Locked Moved Presets / Scripts / Ideas
    paddingzero paddingsample lengthmultimic merge
    5 Posts 5 Posters 483 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.
    • ustkU
      ustk
      last edited by ustk

      ![Screenshot 2023-05-18 at 13.53.30.png](Imgur is temporarily over capacity. Please try again later.)

      ZERO PADDING TOOL

      A Zero Padding Tool made with Hise to quickly make all your samples the same length.
      Having the same length is necessary when you want to merge samples, like for instance in a multimic situation.


      ADD FILES

      • FILE => Add as many files as you need
      • DIR => Multiple directories can be added to the list (adding a new directory does not delete previously added files). Doublons won't be added (doublons are checked from their names AND their audio properties)

      APPLY PADDING

      • TO SELECTED => Find the longest sample in the selected files and apply a zero padding to the other
      • TO ALL => Find the longest file in the whole list and add zero padding to all files but this one
      • BY TOKEN => Find the longest file within each token and apply zero padding to the files having the same token. Bear in mind that if you add different folders that have the same token in their name, the same length will be added to all the directories.
        The token number starts at #1

      EXPORT
      Padded files can be exported following 3 modes:

      • No Options => By default, the padded files will be saved as a copy within the same directory as the original files. The suffix [tokenSeparator]zp will be added to their names.
      • Overwrite => As the name says
      • Sub Directory => A directory called _padded will be added with a copy of the padded files in it. The suffix [tokenSeparator]zp will be added to their names.

      The project:
      > Zero Padding Tool on GitHub <


      DISCLAIMER
      Loading a big amount of files might run into a time-out issue. I am currently trying to send the heavy tasks to a background thread like I always do. Although, I am still getting a time-out issue with this one. Work under progress...


      EDIT:

      • By Token now respects the folder hierarchy (so a full library can be treated at once)
      • Fix undo
      • Add individual undo
      • Better LAF and general looking
      • Repaint instead of rebuild the list when unnecessary

      Can't help pressing F5 in the forum...

      orangeO LindonL Matt_SFM 3 Replies Last reply Reply Quote 13
      • d.healeyD
        d.healey
        last edited by

        Excellent, nice use of HISE :)

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

        1 Reply Last reply Reply Quote 0
        • orangeO
          orange @ustk
          last edited by

          @ustk It's awesome, Thank you!

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

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

            @ustk Oh yeah... very good. Well done.

            HISE Development for hire.
            www.channelrobot.com

            1 Reply Last reply Reply Quote 0
            • Matt_SFM
              Matt_SF @ustk
              last edited by

              @ustk beau boulot, bravo !! 😁🥳

              Develop branch
              Win10 & VS17 / Ventura & Xcode 14. 3

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

              28

              Online

              1.7k

              Users

              11.8k

              Topics

              102.7k

              Posts