HISE Logo Forum
    • Categories
    • Register
    • Login

    The sampler goes crazy with monolith

    Scheduled Pinned Locked Moved General Questions
    33 Posts 5 Posters 1.4k 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 @bendurso
      last edited by

      @bendurso You say error, does that mean you get an error message? I'm not able to trigger any issues with the project and the steps you suggested. Might be helpful at this stage to make a screen recording of what you see.

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

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

        @bendurso I checked you project and yes, there is issues, for instance holding down B2 when having the sample map "Folk/Nomad Strings" selected, after 6 sec another sample will play.

        So if this issue doesn't occur when playing that specific sample as wav or aiff, then it must be issues with conversion to monolith

        Skärmavbild 2024-10-03 kl. 10.24.37.png

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

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

          @ulrik Following your instruction I can trigger the issue too. It would be interesting to have the original audio files in order to test the conversion to monolith.

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

          bendursoB 1 Reply Last reply Reply Quote 0
          • bendursoB
            bendurso @ulrik
            last edited by

            @ulrik Thanks for checking :) Yeah, I just converted it to wav using the SaveMode=1 and the error was gone.

            1 Reply Last reply Reply Quote 0
            • bendursoB
              bendurso @d.healey
              last edited by

              @d-healey

              Now I included the samples of the samplemap Nomad Strings. I re-enconde it again, and now the error it's on E3

              Dropbox - File Deleted - Simplify your life

              favicon

              (www.dropbox.com)

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

                I just noticed in your sample map that all the files have absolute paths instead of relative paths (were your samples not in the project's Samples folder when you mapped them?). This could be the cause of the issue.

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

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

                  I tested with the wav samples you sent. With your monolith I was able to trigger the issue on C2. When I rewrote the sample map to remove the absolute path and then recreated the monolith on my system I was unable to trigger the issue.

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

                  1 Reply Last reply Reply Quote 0
                  • bendursoB
                    bendurso @d.healey
                    last edited by

                    @d-healey said in The sampler goes crazy with monolith:

                    I just noticed in your sample map that all the files have absolute paths instead of relative paths (were your samples not in the project's Samples folder when you mapped them?). This could be the cause of the issue.

                    Yes, I used samples outside of the project folder. That could be the issue?

                    @d-healey said in The sampler goes crazy with monolith:

                    When I rewrote the sample map to remove the absolute path and then recreated the monolith on my system I was unable to trigger the issue.

                    Did you do it with "Reencode HLAC monolith" or "reeconde all samplemaps as HLAC monolith"? Because I remember that when I used the individual reencode it worked fine, but when using all samplemaps function it caused the problem.

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

                      @bendurso said in The sampler goes crazy with monolith:

                      Yes, I used samples outside of the project folder. That could be the issue?

                      Samples should always go in the project's samples folder, or (I think) you can link to them with a LinkOS file, but the cleanest solution is to put them in the project and then in the sample map use the {PROJECT_FOLDER} wildcard - that will be used automatically if the samples are in the project folder when initially mapped.

                      @bendurso said in The sampler goes crazy with monolith:

                      Did you do it with "Reencode HLAC monolith"

                      I clicked this:

                      4b9c3fc9-8f1c-4a52-9421-5d2e40307fbf-image.png

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

                      bendursoB 1 Reply Last reply Reply Quote 0
                      • bendursoB
                        bendurso @d.healey
                        last edited by

                        @d-healey said in The sampler goes crazy with monolith:

                        Samples should always go in the project's samples folder, or (I think) you can link to them with a LinkOS file, but the cleanest solution is to put them in the project and then in the sample map use the {PROJECT_FOLDER} wildcard - that will be used automatically if the samples are in the project folder when initially mapped.

                        Oh, I understand that, but since I only use monolith files, I typically access the wav samples directly from other folders and then convert them to monolith.

                        @d-healey said in The sampler goes crazy with monolith:

                        I clicked this:

                        I just tried it, and the problem doesn’t occur when using the individual conversion function. However, when using the "convert all sample maps" function, the issue arises, even if the samples are within the project.

                        Screenshot 2024-10-03 at 8.40.32 PM.png

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

                          @bendurso said in The sampler goes crazy with monolith:

                          Oh, I understand that, but since I only use monolith files, I typically access the wav samples directly from other folders and then convert them to monolith.

                          We all use monoliths for final delivery. But your sample maps will be messed up with the absolute paths.

                          @bendurso said in The sampler goes crazy with monolith:

                          I just tried it, and the problem doesn’t occur when using the individual conversion function. However, when using the "convert all sample maps" function, the issue arises, even if the samples are within the project.

                          I'll give it a try tomorrow.

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

                          bendursoB 1 Reply Last reply Reply Quote 1
                          • bendursoB
                            bendurso @d.healey
                            last edited by

                            @d-healey said in The sampler goes crazy with monolith:

                            We all use monoliths for final delivery. But your sample maps will be messed up with the absolute paths.

                            Oh didn't know that, thanks

                            @d-healey said in The sampler goes crazy with monolith:

                            I'll give it a try tomorrow.

                            Nice thanks :)

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

                              @bendurso said in The sampler goes crazy with monolith:

                              @d-healey said in The sampler goes crazy with monolith:

                              Samples should always go in the project's samples folder, or (I think) you can link to them with a LinkOS file, but the cleanest solution is to put them in the project and then in the sample map use the {PROJECT_FOLDER} wildcard - that will be used automatically if the samples are in the project folder when initially mapped.

                              Oh, I understand that, but since I only use monolith files, I typically access the wav samples directly from other folders and then convert them to monolith.

                              Bad idea I think.
                              Do this:

                              1. Move all your relevant wav files to the Samples Folder
                              2. Build your SampleMap
                              3. encode your sample map to ch1 file (the down arrow David pointed at) - at this point you can remove the wav files from the samples folder...
                              4. When the entire project is done-finished-complete only then build your .hr monolith files...

                              HISE Development for hire.
                              www.channelrobot.com

                              bendursoB 1 Reply Last reply Reply Quote 1
                              • d.healeyD
                                d.healey @bendurso
                                last edited by

                                @bendurso No issue here when using the reencode all sample maps option - after I edited the sample map to remove the absolute path.

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

                                1 Reply Last reply Reply Quote 1
                                • bendursoB
                                  bendurso @Lindon
                                  last edited by

                                  @Lindon Yes thanks, didn't know it could cause trouble using absolute paths.

                                  @d-healey said in The sampler goes crazy with monolith:

                                  No issue here when using the reencode all sample maps option - after I edited the sample map to remove the absolute path.

                                  I checked again and you're right, no problem with relative paths. Now I have to remake all my samplemaps :(

                                  Thanks guys :)

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

                                    @bendurso said in The sampler goes crazy with monolith:

                                    Now I have to remake all my samplemap

                                    Or do what I do and open them in a text editor and use find/replace.

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

                                    bendursoB 1 Reply Last reply Reply Quote 1
                                    • bendursoB
                                      bendurso @d.healey
                                      last edited by

                                      @d-healey That's a nice one, could save a bit of job, thanks :)

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

                                        @bendurso If you use a text editor that can replace text in multiple files at once it might be a very quick job.

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

                                        bendursoB 1 Reply Last reply Reply Quote 0
                                        • bendursoB
                                          bendurso @d.healey
                                          last edited by

                                          @d-healey I usually use Visual Studio Code and it works really well, but in this case I have multiple folders, and I have to check one by one to match the correct folder

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

                                          11

                                          Online

                                          1.8k

                                          Users

                                          11.9k

                                          Topics

                                          103.9k

                                          Posts