HISE Logo Forum
    • Categories
    • Register
    • Login

    Weird bug about adding new Samplemaps to existing project

    Scheduled Pinned Locked Moved Bug Reports
    9 Posts 4 Posters 803 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.
    • Alex ParadisA
      Alex Paradis
      last edited by

      Hi,

      I have found a weird bug about Samplemaps: Every time I tried to add new Samplemaps and delete older ones inside of an existing project, every time I am exporting samples for the installer, the older samplemaps are still getting pushed inside of the .hr1 file.

      Even if the .xml file inside "SampleMaps" and the .ch1 file inside "Samples" are nowhere to find, the project still include it in the .hr1 files, and it creates a bug when I'm trying to import them into the compiled VST/App.

      Does anybody have this problem too?
      The only workaround I found was to create a whole new project every time.

      Thanks for the help!

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

        Might need to delete pooled resources and intermediate build files before exporting.

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

        1 Reply Last reply Reply Quote 0
        • Alex ParadisA
          Alex Paradis
          last edited by

          Delete pooled resources ?
          Is there a tool in Hise to do it?

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

            No tool for Pooled Resources, just delete the folder from the project folder.

            Could also run the clean build directory action before compiling as well

            3881d48d-5f70-48a7-9555-508eb394e162-image.png .

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

            Alex ParadisA 1 Reply Last reply Reply Quote 0
            • Alex ParadisA
              Alex Paradis @d.healey
              last edited by

              @d-healey
              i tried it today but sadly, it didn't worked out :/.

              When I export the Samplers, I still see older Samplemaps being compressed for the Installer.

              ulrikU 1 Reply Last reply Reply Quote 0
              • ulrikU
                ulrik @Alex Paradis
                last edited by

                @Alex-Paradis are the old sample maps still in the sample maps folder, Even though you don't use them?

                Hise Develop branch
                MacOs 15.3.1, Xcode 16.2
                http://musikboden.se

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

                  The samplemaps are not included in the .hr1 file, it just takes all monolith samples it can find and compresses them:

                  Link Preview Image
                  HISE/hi_core/hi_core/BackgroundThreads.cpp at 8ef678ec2fcae0973cc269163404b1f9df967733 · christophhart/HISE

                  The open source framework for sample based instruments - HISE/hi_core/hi_core/BackgroundThreads.cpp at 8ef678ec2fcae0973cc269163404b1f9df967733 · christophhart/HISE

                  favicon

                  GitHub (github.com)

                  Make sure you don't have old .ch1 files lying around (or move them outside the Samples folder).

                  The pooled samplemaps should be recreated each time you export the plugin, unless you set this:

                  Link Preview Image
                  HISE | Docs

                  favicon

                  (docs.hise.audio)

                  to false (by default it should be enabled).

                  ulrikU Alex ParadisA 2 Replies Last reply Reply Quote 1
                  • ulrikU
                    ulrik @Christoph Hart
                    last edited by

                    @Christoph-Hart Ok

                    Hise Develop branch
                    MacOs 15.3.1, Xcode 16.2
                    http://musikboden.se

                    1 Reply Last reply Reply Quote 0
                    • Alex ParadisA
                      Alex Paradis @Christoph Hart
                      last edited by

                      @Christoph-Hart

                      Thanks for the help,

                      I will test it out again this week and see If it works.

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

                      57

                      Online

                      1.7k

                      Users

                      11.7k

                      Topics

                      101.8k

                      Posts