HISE Logo Forum
    • Categories
    • Register
    • Login

    [Solved] Sampler Glide Script Broken

    Scheduled Pinned Locked Moved General Questions
    45 Posts 5 Posters 2.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
      last edited by

      Strange, maybe make a blank .hip file with a single sampler in it (in the same project) and see if you can export your sample maps from there.

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

      SteveRiggsS 3 Replies Last reply Reply Quote 1
      • LindonL
        Lindon @SteveRiggs
        last edited by

        @SteveRiggs I get this a lot. Theres a really simple work around, if you have a sampler called "Sampler" then add another (with nothing in it) called "Sampler1"

        HISE Development for hire.
        www.channelrobot.com

        1 Reply Last reply Reply Quote 1
        • SteveRiggsS
          SteveRiggs @d.healey
          last edited by

          @d-healey @Lindon Both very clever ideas!

          I just made a new blank .hip in the same project folder and tried saving as monoliths and exporting samplers for installer, but I can't seem to find either a new .ch or .hr1 file anywhere.

          It said all samples were exported without errors, and the target directory is the project folder. I'm pretty sure the .ch file went to the samples folder last time, and the .hr1 file was in the main project folder? Neither have gone in there this time though.

          www.anarchyaudioworx.com

          www.facebook.com/groups/audioworx/

          1 Reply Last reply Reply Quote 0
          • SteveRiggsS
            SteveRiggs @d.healey
            last edited by

            @d-healey @Lindon

            Hmmm, just checked every folder in the project folder and neither of the .ch or .hr1 files have been created

            www.anarchyaudioworx.com

            www.facebook.com/groups/audioworx/

            1 Reply Last reply Reply Quote 0
            • SteveRiggsS
              SteveRiggs @d.healey
              last edited by

              @d-healey @Lindon is there any reason why HISE wouldn't create the 2 files? I can't find them anywhere ☹

              www.anarchyaudioworx.com

              www.facebook.com/groups/audioworx/

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

                @SteveRiggs No idea, I would expect them to be in the Samples folder.

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

                SteveRiggsS 1 Reply Last reply Reply Quote 0
                • SteveRiggsS
                  SteveRiggs @d.healey
                  last edited by

                  @d-healey Thats what I thought. Should be the same as last time. Weird.

                  It's saying there are a couple of files with the wrong ID as well. Not sure if that could be the reason why, or how I'd go about fixing them.

                  Sorry about all this! This is my first sampled instrument so I've not exported one before thats finished.

                  Screen Shot 2019-09-26 at 20.44.33.png

                  Screen Shot 2019-09-26 at 20.44.48.png

                  Screen Shot 2019-09-26 at 20.44.56.png

                  www.anarchyaudioworx.com

                  www.facebook.com/groups/audioworx/

                  1 Reply Last reply Reply Quote 0
                  • SteveRiggsS
                    SteveRiggs
                    last edited by

                    My guess would be that there shouldn't be spaces in the names of the sample maps?

                    I'm not sure how to fix an absolute path though, or what that is?

                    www.anarchyaudioworx.com

                    www.facebook.com/groups/audioworx/

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

                      Your raw samples (wav/aiff) should be inside the Samples folder. In your sample map they should have the {PROJECT_FOLDER} wildcard in the path, this will make them relative and not absolute. This is the default behaviour of HISE when you map samples by dragging them in from the Samples folder.

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

                      SteveRiggsS 1 Reply Last reply Reply Quote 1
                      • SteveRiggsS
                        SteveRiggs @d.healey
                        last edited by

                        @d-healey Ah, the drum samples had a different path. Fixing that now. Thank you!

                        Any idea why the ID is wrong for the .xml file though? I'm sure what would be classed as wrong. Do the spaces make a difference?

                        www.anarchyaudioworx.com

                        www.facebook.com/groups/audioworx/

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

                          @SteveRiggs I don't think spaces make a difference

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

                          SteveRiggsS 1 Reply Last reply Reply Quote 0
                          • SteveRiggsS
                            SteveRiggs @d.healey
                            last edited by

                            @d-healey Damn. Not sure what to do about that bit then. I wonder what it means by 'the correct ID'? 🤔

                            www.anarchyaudioworx.com

                            www.facebook.com/groups/audioworx/

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

                              Oh have you checked the id property in the xml, I noticed sometimes that gets reset to ""

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

                              SteveRiggsS 2 Replies Last reply Reply Quote 0
                              • SteveRiggsS
                                SteveRiggs @d.healey
                                last edited by

                                @d-healey

                                Not too sure where I'm looking. This is whats inside the xml...

                                <?xml version="1.0" encoding="UTF-8"?>
                                
                                <samplemap ID="" RRGroupAmount="1" MicPositions=";">
                                  <sample Root="60" LoKey="12" HiKey="108" LoVel="0" HiVel="127" RRGroup="1"
                                          FileName="{PROJECT_FOLDER}808 BASS 1 C3 .wav" Duplicate="1"/>
                                </samplemap>```

                                www.anarchyaudioworx.com

                                www.facebook.com/groups/audioworx/

                                1 Reply Last reply Reply Quote 0
                                • SteveRiggsS
                                  SteveRiggs @d.healey
                                  last edited by

                                  @d-healey I'm assuming something needs to be inside the 2 quotaion marks after samplemap ID.

                                  Would I need the full file name in there? as well as the .xml extension on the end?

                                  www.anarchyaudioworx.com

                                  www.facebook.com/groups/audioworx/

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

                                    @SteveRiggs Just the file name I think, without the .xml

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

                                    SteveRiggsS 2 Replies Last reply Reply Quote 0
                                    • SteveRiggsS
                                      SteveRiggs @d.healey
                                      last edited by

                                      @d-healey Thanks mate. I'll try it now. It looks like every samplemap .xml needs changing. All are reset to "". Joy!

                                      www.anarchyaudioworx.com

                                      www.facebook.com/groups/audioworx/

                                      1 Reply Last reply Reply Quote 0
                                      • SteveRiggsS
                                        SteveRiggs @d.healey
                                        last edited by

                                        @d-healey Wow that was a tedious job. All 35 .xml file ID's changed and no more errors there. Thank you.

                                        It's still not outputting any .ch or .hr1 files though, even though it says its done it without any errors. They are nowhere to be seen.

                                        Is there another way? I remember last time when I exported the test version in June, when I opened it in Ableton there was a pop up on the plugin window that said it needed the .hr1 file before it would work that wouldn't go away until you directed it to the .hr1 file, stopping the plugin from opening properly.

                                        If I added a settings menu to the plugin with the sample library redirect option, and then my client/users will be able to put the samples where ever they want? .. and the pop up menu on over the vst version wont be there then?

                                        www.anarchyaudioworx.com

                                        www.facebook.com/groups/audioworx/

                                        1 Reply Last reply Reply Quote 0
                                        • SteveRiggsS
                                          SteveRiggs
                                          last edited by

                                          Ok, so that kinda works, but it's a bit of a clunky way to have it.

                                          I opened the exported plugin in Ableton now and clicked the 'choose sample folder' and it does redirect them. This pop-up message comes up first though which could be confusing for users.

                                          It would be great to find out why the .hr1 and .ch files aren't exporting though so that it can be done the proper way. This will be ok for now for testing and until I get my client to sort his licences, but I don't think it's ideal for a released plugin when it gets to that point.

                                          Screen Shot 2019-09-26 at 23.07.19.png

                                          www.anarchyaudioworx.com

                                          www.facebook.com/groups/audioworx/

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

                                            @SteveRiggs setting up Sample Maps is a fragile business. You just about MUST put your samples in the Samples folder FIRST, before doing anything else.

                                            If I were you I'd start with a clean (empty/new) sample map, having put all my samples in the Sample folder, and then re-map them, once done I'd press the Disk icon and save as my new name, go check this has been done by looking in the SampleMaps folder, then press the "down arrow" to make the .ch file, then I'd double check I had the ch file in the Samples folder.

                                            Do this for all your sample maps, and only then then Export>Export Samples for Installer to make the hr1 file - BEFORE you just press OK, make sure your have the correct Target Directory set up.

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            24

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.6k

                                            Posts