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.
    • 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
          • SteveRiggsS
            SteveRiggs @Lindon
            last edited by

            @Lindon Thanks, mate. I've managed to get the .ch1 files now for all sample maps (I didn't know about the down arrow. Good shout!)

            Still not getting a .hr1 file though when I 'export samples for installer'. I have my target directory set to the main project folder. I assume that's right?

            www.anarchyaudioworx.com

            www.facebook.com/groups/audioworx/

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

              @SteveRiggs post a quick screen shot and we can check.

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon Here you go

                Screen Shot 2019-09-27 at 16.31.20.png

                www.anarchyaudioworx.com

                www.facebook.com/groups/audioworx/

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

                  @SteveRiggs hm look sOK - perhaps try Resume on existing Archive = No, just guessing here.

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon Weird isn't it. I've tried with no selected as well but still no joy.

                    As soon as I hit ok the message pops up saying all samples were exported without errors, but it's as soon as I push ok. No export progress bar or wait. It seems to happen to quick for it to be doing anything, and no .hr1 file is in any of the folders.

                    It says exporting in the status bar, but even if you leave it a while still nothing 🙁

                    Screen Shot 2019-09-27 at 17.22.03.png

                    www.anarchyaudioworx.com

                    www.facebook.com/groups/audioworx/

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

                      Hmm, it somehow can't find the .ch1 samples. They are in your samples directory, yes?

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

                        @Christoph-Hart Yeah they are definitely there now in the samples folder.

                        I've tried changing the target directory to the samples folder, sample maps folder, and main project folder but still no joy.

                        Very weird. It worked last time I tried back in June with this plugin. I was only using 1 sample then to test an export, and I was on HISE 1.6.0 then.

                        Screen Shot 2019-09-27 at 18.37.56.png

                        www.anarchyaudioworx.com

                        www.facebook.com/groups/audioworx/

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

                          @d-healey Sorry to bother you mate. I thought you'd be the best person to ask as you wrote the script :)

                          I just had some feedback from my client now he's had a chance to test the instrument and was wondering if theres a way to add this in...

                          He mentioned that the glide only works if the notes are overlapped. Is there a way to have it so that the glide works without notes having to overlap?

                          I also noticed that monophonic only kicks in if the glide amount is set past 0.01ms. If it's down at 0 then it is still polyphonic. I think in the older version of the script monophonic was on all the time? (I may be wrong though).

                          I thought I'd mention this as I have another project that still uses the old script that I haven't changed yet, and I have a mono to poly button which basically just turns the scrip processor on and off switching between mono and poly. If I swap the new script in then I think that function will be gone.

                          If it has to stay that way for any reason, is there another workaround to switch modes from mono to poly at all? That was the only way I knew of doing it.

                          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

                            Cool, what kind of instrument is it? Synth, sampler, hybrid, something else?

                            Is there a way to have it so that the glide works without notes having to overlap?

                            Of course, scripting :p

                            If it has to stay that way for any reason, is there another workaround to switch modes from mono to poly at all

                            Yeah the time knob at 0 is the same as turning the effect off. You can script a button to control this or you can edit the script so it stays mono even when at 0.

                            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 This one is a sampler instrument.

                              My scripting knowledge is still not great but I'll have a go at working it out here so let me know if I'm close or not. I've got my head around the basics now but I'm still not 100% which parts I'd need to change for this...

                              For a guess at the monophonic thing I'd say that it would be something to do with the oninit callback? Maybe this line below would need the 0.01 removing to fix it?

                              time.setRange(0, 2000, 0.01);
                              

                              For the overlapping notes part I'd guess it was the onNoteon callback and it could be something to do with this part? (but I'm not certain)

                              Synth.addPitchFade(eventId, time.getValue(), lastTuning + Message.getNoteNumber()-lastNote, 0);
                              

                              www.anarchyaudioworx.com

                              www.facebook.com/groups/audioworx/

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

                                I don't think either of those changes will do what you want. I don't have time at the moment to look at it but I'll check it out at the weekend.

                                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 No probs mate. Thank you. I'll try a few experiments with it in a separate project in the meantime and see if I can work anything out

                                  www.anarchyaudioworx.com

                                  www.facebook.com/groups/audioworx/

                                  DanHD 1 Reply Last reply Reply Quote 0
                                  • DanHD
                                    DanH @SteveRiggs
                                    last edited by

                                    @SteveRiggs @d-healey Hey guys, was this mono / poly issue ever resolved in this script?

                                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                    https://dhplugins.com/ | https://dcbreaks.com/
                                    London, UK

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

                                    18

                                    Online

                                    1.7k

                                    Users

                                    11.8k

                                    Topics

                                    102.6k

                                    Posts