HISE Logo Forum
    • Categories
    • Register
    • Login

    Creating an Automation Script to Convert WAV + SampleMap/XML Files into Monolith Sample Libraries

    Scheduled Pinned Locked Moved Scripting
    13 Posts 2 Posters 278 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 @bozhidar
      last edited by

      @selfworksbg said in Creating an Automation Script to Convert WAV + SampleMap/XML Files into Monolith Sample Libraries:

      converting raw WAV files along with their corresponding SampleMap/XML files into monolith

      There is a tool to do this in the HISE sampler. Right click in the mapping window, select Tools > (Re)encode all sample maps as HLAC monolith.

      @selfworksbg said in Creating an Automation Script to Convert WAV + SampleMap/XML Files into Monolith Sample Libraries:

      Best practices for reading and parsing SampleMap/XML files.

      HISE Script is the best way to process a sample map: https://forum.hise.audio/topic/64/fun-with-regex?_=1757720333122

      @selfworksbg said in Creating an Automation Script to Convert WAV + SampleMap/XML Files into Monolith Sample Libraries:

      Automatically mapping WAV files to the correct zones/keys/velocities.

      Use HISE's automapper

      @selfworksbg said in Creating an Automation Script to Convert WAV + SampleMap/XML Files into Monolith Sample Libraries:

      Generating a single monolith library that can be distributed or loaded directly into HISE.

      Export > Package sample monolith files. This will create an hr file that will work with HISE's built in sample installer.

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

      B 1 Reply Last reply Reply Quote 0
      • B
        bozhidar @d.healey
        last edited by

        @d-healey Hi, yes i know that in the interface can be done but im looking for some script or command that i can execute programmatically.
        If you have thousands of samples you will go to click one by one?
        Soo im looking for automatisation. :)

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

          @selfworksbg said in Creating an Automation Script to Convert WAV + SampleMap/XML Files into Monolith Sample Libraries:

          If you have thousands of samples you will go to click one by one?

          Export > Package sample monolith files. will convert all sample maps in your project in one go.

          To map samples programmatically take a look at the link I posted above.

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

          B 1 Reply Last reply Reply Quote 0
          • B
            bozhidar @d.healey
            last edited by

            @d-healey i tried but it export 64kb empty monolith..

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

              @selfworksbg said in Creating an Automation Script to Convert WAV + SampleMap/XML Files into Monolith Sample Libraries:

              i tried but it export 64kb empty monolith..

              Are your samples in the project's Samples folder?

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

              B 1 Reply Last reply Reply Quote 0
              • B
                bozhidar @d.healey
                last edited by

                @d-healey yes,they are

                d.healeyD 2 Replies Last reply Reply Quote 0
                • d.healeyD
                  d.healey @bozhidar
                  last edited by

                  @selfworksbg sounds like you've found a bug

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

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

                    @selfworksbg how many samples are in each sample map?

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

                    1 Reply Last reply Reply Quote 0
                    • B
                      bozhidar @d.healey
                      last edited by

                      @d-healey im on the mac m4 hise is builded from stable git branch.
                      Im not sure is it my false or..

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

                        @selfworksbg build the develop branch. Can you upload one of the sample maps?

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

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          bozhidar @d.healey
                          last edited by

                          @d-healey Hi, i build dev branch and i try to convert samples to monolith but here is what happening:
                          https://youtu.be/6QCtKAOqIz0

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

                            @bozhidar No idea about that tool. Try the option I suggested

                            There is a tool to do this in the HISE sampler. Right click in the mapping window, select Tools > (Re)encode all sample maps as HLAC monolith.

                            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

                            16

                            Online

                            1.9k

                            Users

                            12.5k

                            Topics

                            108.7k

                            Posts