HISE Logo Forum
    • Categories
    • Register
    • Login

    BAD BAD BAD HISE!

    Scheduled Pinned Locked Moved General Questions
    52 Posts 5 Posters 3.8k 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 @Lindon
      last edited by

      @Lindon What version are you using? Save as an xml as well as .hip. Use GIT to keep working versions. Did you get the sampler as a child synth? If so you need to use SamplerName.asSampler().loadSampleMap()

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

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

        @d-healey
        I have same issues though my project isn't based on samples, just a synth with synth modules.

        https://www.kontakthub.com/label/Imagik-Sound/
        https://mirtklaar.bandcamp.com/

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

          @ossian1961 Can you post a snippet?

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

          ossian1961O 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @d.healey
            last edited by

            @d-healey I'm on 2.0 build 650

            HISE Development for hire.
            www.channelrobot.com

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

              @d-healey I must still be doing something wrong - where is the documentation???

              heres my init call back (I have a sampled called Voice1):

              Content.makeFrontInterface(635, 310);
              Voice1.asSampler().loadSampleMap("{PROJECT FOLDER}/SampleMaps/XylophoneVoice1");

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon Yeah that's not quite right. Not sure if it's specifically documented but it will be hidden away on the forum somewhere. I keep thinking we need a wiki :)

                So first you have to get the sampler in a variable - right click on the sampler and select Create script variable declaration and then paste into your script.

                Then you will have a variable called something like Voice1 in your case.

                To load a sample map you'll use Voice1.asSampler().loadSampleMap("XylophoneVoice1"). When loading sample maps HISE automatically uses the SampleMaps folder.

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

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

                  @d-healey said in BAD BAD BAD HISE!:

                  asSampler()

                  Sigh so this means then that the API documentation on the web is wrong/incomplete and the api documentation in the instrument itself is wrong/incomplete - WTF!

                  really "asSampler()" appears precisely nowhere.... Ok well moveing on...

                  So when I deploy my vst how do I structure the folders?

                  the dll alongside two folders called "Samples" and "SampleMaps"

                  Will that suffice to make the dll start and automatically load the sample maps - so I dont have all this .hp1 silliness??

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon
                    There will be a reference to it somewhere because I think Christoph told me on this forum.

                    So you only need to use asSampler if you use getChildSynth to store the sampler reference in a variable. If you use getSampler instead then there is no need. However I prefer to use getChildSynth because sometimes you'll want to treat it as a childSynth and sometimes you'll want to treat it as a sampler.

                    The sample maps will be embedded in the exported VST, all you need to supply is the ch monolith files, assuming you've converted your samples to monoliths. If you want to be fancy and include an installer then you'll want to use the Export >> Export samples for installer tool which will compress the samples into an HR archive. This is a delivery format only which provides a smaller download for your customers. Once the user opens the instrument they will be asked to give the location of the hr1 file which will then be extracted to their chosen location, after which they can delete the HR files. Here's some detailed user documentation for this process - https://librewave.com/knowledge-base/sample-library-installation-guide/#Installing_the_samples

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

                    1 Reply Last reply Reply Quote 0
                    • ossian1961O
                      ossian1961 @d.healey
                      last edited by

                      @d-healey said in BAD BAD BAD HISE!:

                      @ossian1961 Can you post a snippet?

                      D'you mean about the bug?

                      https://www.kontakthub.com/label/Imagik-Sound/
                      https://mirtklaar.bandcamp.com/

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

                        @ossian1961 I mean open your project go to Export >> Export as HISE Snippet and post it here. Then I can open the project and see if I can find the problem.

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

                        ossian1961O 1 Reply Last reply Reply Quote 0
                        • ossian1961O
                          ossian1961 @d.healey
                          last edited by ossian1961

                          @d-healey I'll do if it fails again, I mean, it happened four times on twenty and more times I opened it... it's like that sometimes the automatic preset saving gets trouble, though it's the XML that fails and return same message that it's unable to load the interface.

                          https://www.kontakthub.com/label/Imagik-Sound/
                          https://mirtklaar.bandcamp.com/

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

                            @ossian1961 XML is much easier to fix because we can view it in a text editor.

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

                            ossian1961O 1 Reply Last reply Reply Quote 0
                            • ossian1961O
                              ossian1961 @d.healey
                              last edited by

                              @d-healey said in BAD BAD BAD HISE!:

                              @ossian1961 XML is much easier to fix because we can view it in a text editor.

                              Anyway I hope it doesn't happen, it's a quite annoying thing ;)

                              https://www.kontakthub.com/label/Imagik-Sound/
                              https://mirtklaar.bandcamp.com/

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

                                Urg mine's broken again now...

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

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

                                  Now HISE is being even more strange

                                  Screenshot from 2019-01-29 18-06-36.png

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

                                  1 Reply Last reply Reply Quote 0
                                  • ossian1961O
                                    ossian1961
                                    last edited by

                                    Awwww! :O

                                    https://www.kontakthub.com/label/Imagik-Sound/
                                    https://mirtklaar.bandcamp.com/

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

                                      I just converted all of my sample maps to monoliths and so far (fingers crossed) everything seems to be working. So maybe HISE is having some problems with wav files...

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

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

                                        I've been having no luck with the sampler in the latest build. Check this thread for more:
                                        https://forum.hise.audio/topic/1121/sampler-issues-latest-build/15

                                        Dan Korneff - Producer / Mixer / Audio Nerd

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

                                          Could be a CPU issue... I can't make monoliths on my PC, but can on my mac. Either way, I get errors on both when creating monoliths

                                          Dan Korneff - Producer / Mixer / Audio Nerd

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

                                            @dustbro said in BAD BAD BAD HISE!:

                                            I've been having no luck with the sampler in the latest build. Check this thread for more:
                                            https://forum.hise.audio/topic/1121/sampler-issues-latest-build/15

                                            Yeah I've been following that thread. No idea what the cause is, I'm not using the latest build though.

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

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

                                            49

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.9k

                                            Posts