HISE Logo Forum
    • Categories
    • Register
    • Login

    Populate samplers after plugin launches

    Scheduled Pinned Locked Moved General Questions
    14 Posts 3 Posters 780 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.
    • Dan KorneffD
      Dan Korneff
      last edited by

      Hey guys!
      I have a VSTi with a large amount of samplers. I'm finding that the plugin can take up to 50 seconds to launch (I believe) because it's loading the samples in the background before the GUI shows up.
      Is there a quick way to populate the samplers AFTER the plugin launches?

      Dan Korneff - Producer / Mixer / Audio Nerd

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

        Yes.

        Sampler.loadSampleMap();

        But first, rename the folder that contains the samples, so the plugin can't find it, and then reopen your plugin and see how long it takes. If it still takes 50 seconds you know the samples aren't the reason.

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

        Dan KorneffD 1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff @d.healey
          last edited by

          @d-healey good call. Removing the sample folder cuts load time down to 20ish seconds.

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            @dustbro Are the samples in .ch format?

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

            Dan KorneffD 1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff @d.healey
              last edited by

              @d-healey yes

              Dan Korneff - Producer / Mixer / Audio Nerd

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

                How many gigs of samples?

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

                Dan KorneffD 1 Reply Last reply Reply Quote 0
                • Dan KorneffD
                  Dan Korneff @d.healey
                  last edited by

                  @d-healey about 3GB

                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                    Not a huge sample amount. Have you tried a different host?

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

                    1 Reply Last reply Reply Quote 0
                    • LightandSoundL
                      LightandSound @Dan Korneff
                      last edited by

                      @dustbro any particular reason for that many samplers? Can't consolidate down to less samplers with more RR groups or layers instead?

                      Dan KorneffD 1 Reply Last reply Reply Quote 1
                      • Dan KorneffD
                        Dan Korneff @LightandSound
                        last edited by

                        @LightandSound said in Populate samplers after plugin launches:

                        any particular reason for that many samplers?

                        The samplers contain multi mic samples, and every time I put more than one instrument with multi mics into a sampler, the instrument act weird or there are conflicts.
                        I'm in too much of a rush to trouble shoot now... but I will try to consolidate in the future

                        Dan Korneff - Producer / Mixer / Audio Nerd

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

                          You have multiple instruments loaded at once?

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

                          Dan KorneffD 1 Reply Last reply Reply Quote 0
                          • Dan KorneffD
                            Dan Korneff @d.healey
                            last edited by

                            @d-healey It's a drum instrument, so I consider each drum a different instrument.... but also, different articulations of each instrument get funny if I put them in the same sampler.
                            I have 5 articulations of a Hi-Hat (3 mic positions for each). When they are put into the same sampler and assigned to different midi notes, things get strange.
                            Maybe it's a file naming structure? I'll investigate further when I have more time.

                            Dan Korneff - Producer / Mixer / Audio Nerd

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

                              Yeah things can get tricky with that kind of thing. Are you using HISE's built in multi-mic handling?

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

                              Dan KorneffD 1 Reply Last reply Reply Quote 0
                              • Dan KorneffD
                                Dan Korneff @d.healey
                                last edited by

                                @d-healey said in Populate samplers after plugin launches:

                                Are you using HISE's built in multi-mic handling?

                                Yup. Merge multi mic

                                Dan Korneff - Producer / Mixer / Audio Nerd

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

                                50

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                101.9k

                                Posts