HISE Logo Forum
    • Categories
    • Register
    • Login

    Need help with sampler...

    Scheduled Pinned Locked Moved General Questions
    knobsopenassignpresetbrowser
    12 Posts 3 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.
    • Dark BoubouD
      Dark Boubou
      last edited by

      Hello!
      (I am a beginner)
      I am creating a rompler. (Here is my GUI project: https://img15.hostingpics.net/pics/808633PREVIEW.jpg )
      I have some .hip presets I did with samples.
      Now I would like to make an interface that allows users to open the presets, and modify some basic things: ADSR, Filter, Add FX...

      I have opened a sampler unit and an AHDSR mod. I would like to display them on a GUI. So I opened a window, but there is my problem: what do I do now?
      Also, what do I insert to able the sampler open presets? And how do I represent it on the screen?

      Thank you for people who would take time to explain me :)

      D.B.

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

        How familiar are you with Javascript?

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

        1 Reply Last reply Reply Quote 0
        • Dark BoubouD
          Dark Boubou
          last edited by

          I do programming but not in Java, neither C++ or Python.
          I guess this is a problem? :D
          But I would be ready to try understand the code I should adapt/insert.

          Tell me please D.Healey!

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

            Yeah you'll need to learn the scripting language that HISE uses, it's very similar to Javascript - click the Documentation link on the homepage (http://hise.audio/) to find relevant info.

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

            1 Reply Last reply Reply Quote 0
            • Dark BoubouD
              Dark Boubou
              last edited by

              So the art part is only possible by code? I go learn the code :D

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

                You can do it without writing code using the interface designer which will write code behind the scenes for you. However if you run into any issues you might struggle to solve them if you don't understand what is happening in the code. The manual has some info about using the interface designer and there are some blog posts about it I believe - my advice is to read all of the info available about HISE and then experiment.

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

                1 Reply Last reply Reply Quote 0
                • Dark BoubouD
                  Dark Boubou
                  last edited by

                  Thank you so muck D.Healey!

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

                    Hi Dark Boubou,

                    welcome to the forum! David is right, I tried to make designing interfaces as easy as possible (and for simpler interfaces you might get away without even touching the code once), but the foundation of this remains to be Javascript (or my customised version of it). So in the long run, it's pretty impossible to build instruments in HISE without knowing Javascript - or pay someone who does :)

                    I'd advice to start with the video tutorials from David, and then grep through the written documentation (which is a unfortunately a bit outdated in certain areas).

                    In general, you create one .hip with your module structure (modulators, effects, samplers), then add a ScriptProcessor in the main container and build the interface that connects to those modules (see how far you get with the Interface Designer).

                    The different sample sets will be created as SampleMaps and can be swapped using scripting callbacks:

                    // Creates a reference to the Sampler with the name "MySampler"
                    const var mySampler = Synth.getSampler("MySampler"); 
                    
                    // loads a sample set into the sampler (use this from a UI callback)
                    mySampler.loadSampleMap("FunkyMoog2");
                    
                    1 Reply Last reply Reply Quote 1
                    • Dark BoubouD
                      Dark Boubou
                      last edited by

                      Wow so these lines alow me to open .hip files in a sampler from the interface, that's it?

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

                        Almost. These lines open a SampleMap (which is a dedicated .xml file that contains the mapping data for each sample). The SampleMap must be within the project subdirectory (take a look at David's Project Management Video Tutorial to get more information about this).

                        You only have one .hip file after all.

                        1 Reply Last reply Reply Quote 0
                        • Dark BoubouD
                          Dark Boubou
                          last edited by

                          so the final .hip will be able to open sample-maps, saved as .xml, that's it? :)

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

                            Almost :) The final hip will be turned into a plugin / standalone application / iOS app which is able to load different sample sets previously saved as xml (they will be embedded in the binary).

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

                            66

                            Online

                            1.7k

                            Users

                            11.7k

                            Topics

                            101.8k

                            Posts