HISE Logo Forum
    • Categories
    • Register
    • Login

    BIG problem with HISE exporting CH monolith files

    Scheduled Pinned Locked Moved Bug Reports
    13 Posts 3 Posters 502 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

      Possibly related - https://forum.hise.audio/topic/3278/can-t-create-ch1-file ?

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

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @d.healey
        last edited by

        @d-healey perhpas - but now my project wont even find the sample maps...

        HISE Development for hire.
        www.channelrobot.com

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

          @Lindon well I tried the right menu option but HISE tells me my sample map is corrupt, I cant see where and the online xml validator reports no problems. Here's my sample map

          <?xml version="1.0" encoding="UTF-8"?>
          
          <samplemap ID="" RRGroupAmount="1" MicPositions=";" SaveMode="2">
            <sample Root="36" LoKey="24" HiKey="38" LoVel="1" HiVel="127" RRGroup="1"
                    FileName="{PROJECT_FOLDER}Bassica006 036.wav" Duplicate="0" SampleStartMod="0"
                    SampleStart="0" SampleEnd="410411" Pitch="0" Pan="0" Volume="10"
                    MonolithOffset="0" MonolithLength="413696" SampleRate="44100"/>
            <sample Root="41" LoKey="39" HiKey="43" LoVel="1" HiVel="127" RRGroup="1"
                    FileName="{PROJECT_FOLDER}Bassica006 041.wav" Duplicate="0" SampleStartMod="0"
                    SampleStart="0" SampleEnd="411581" Pitch="0" Pan="0" Volume="10"
                    MonolithOffset="413696" MonolithLength="413696" SampleRate="44100"/>
            <sample Root="46" LoKey="44" HiKey="48" LoVel="1" HiVel="127" RRGroup="1"
                    FileName="{PROJECT_FOLDER}Bassica006 046.wav" Duplicate="0" SampleStartMod="0"
                    SampleStart="0" SampleEnd="409861" Pitch="0" Pan="0" Volume="10"
                    MonolithOffset="827392" MonolithLength="413696" SampleRate="44100"/>
            <sample Root="51" LoKey="49" HiKey="53" LoVel="1" HiVel="127" RRGroup="1"
                    FileName="{PROJECT_FOLDER}Bassica006 051.wav" Duplicate="0" SampleStartMod="0"
                    SampleStart="0" SampleEnd="411581" Pitch="0" Pan="0" Volume="10"
                    MonolithOffset="1241088" MonolithLength="413696" SampleRate="44100"/>
            <sample Root="56" LoKey="54" HiKey="58" LoVel="1" HiVel="127" RRGroup="1"
                    FileName="{PROJECT_FOLDER}Bassica006 056.wav" Duplicate="0" SampleStartMod="0"
                    SampleStart="0" SampleEnd="410239" Pitch="0" Pan="0" Volume="10"
                    MonolithOffset="1654784" MonolithLength="413696" SampleRate="44100"/>
            <sample Root="61" LoKey="59" HiKey="63" LoVel="1" HiVel="127" RRGroup="1"
                    FileName="{PROJECT_FOLDER}Bassica006 061.wav" Duplicate="0" SampleStartMod="0"
                    SampleStart="0" SampleEnd="411959" Pitch="0" Pan="0" Volume="10"
                    MonolithOffset="2068480" MonolithLength="413696" SampleRate="44100"/>
            <sample Root="65" LoKey="64" HiKey="84" LoVel="1" HiVel="127" RRGroup="1"
                    FileName="{PROJECT_FOLDER}Bassica006 065.wav" Duplicate="0" SampleStartMod="0"
                    SampleStart="0" SampleEnd="409861" Pitch="0" Pan="0" Volume="10"
                    MonolithOffset="2482176" MonolithLength="413696" SampleRate="44100"/>
          </samplemap>
          

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon said in BIG problem with HISE exporting CH monolith files:

            413696

            For some reason the MonolithLength is always the same, which explains why the waveform has a wrong offset, it should more or less equal the SampleEnd of each XML element.

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

              @Christoph-Hart so how do I get it back to where it should be?

              HISE Development for hire.
              www.channelrobot.com

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

                What happens if you change SaveMode back to 0, delete the .ch1 file and reexport the HLAC?

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

                  @Christoph-Hart - it reloads all the samples - OVERWRITES THE SAMPLE MAP ID with: ""

                  so when you save as monolith it writes a ch1 fie called

                  .ch1

                  every single time.

                  You cant even resave the sample map - it overwrites the ID again with ""

                  So I created a new sample map - reloaded all the samples and saved it as the original named map, then exported the monolith - it did it again...

                  So I created a brand new sample map, loaded some different audio in to it, saved it as a different sample map, this is what the relevant line of the sample map looks like:

                  I load this sample map and create a monolith, this is what it does to the sample map:

                  So I created a completely new project, added a sampler created a sample map:

                  saved it as a monolith, heres what it dod to the sample map:

                  So I reloaded the version of HISE I have from November, created a new sample map :

                  ..then I saved the monolith:

                  Bingo - the version of HISE from November works - todays version doesnt...

                  Finally I set one of the existing sample maps back to SaveMode =0, opened the project in the Nov Hise, opened the sample map and saved as monolith -- worked perfectly.

                  Theres at least one bug in the latest version of HISE making monolith creation fail.

                  HISE Development for hire.
                  www.channelrobot.com

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

                    Yup, I just need to find out what broke, but the empty ID is a good hint... I remember adding some sanity checks but they might be a bit overambitious :)

                    LindonL 1 Reply Last reply Reply Quote 1
                    • LindonL
                      Lindon @Christoph Hart
                      last edited by

                      @Christoph-Hart said in BIG problem with HISE exporting CH monolith files:

                      Yup, I just need to find out what broke, but the empty ID is a good hint... I remember adding some sanity checks but they might be a bit overambitious :)

                      cool - let me know when you have it.

                      HISE Development for hire.
                      www.channelrobot.com

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

                        I have it.

                        LindonL 1 Reply Last reply Reply Quote 2
                        • LindonL
                          Lindon @Christoph Hart
                          last edited by

                          @Christoph-Hart - great - downloading now...

                          HISE Development for hire.
                          www.channelrobot.com

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

                          47

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          101.8k

                          Posts