HISE Logo Forum
    • Categories
    • Register
    • Login

    Scripting sample maps

    Scheduled Pinned Locked Moved C++ Development
    scriptsamplemaps
    3 Posts 3 Posters 727 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.
    • J
      jukea
      last edited by jukea

      Hi!

      I'm looking for a very specific workflow and I was thinking about coding my own sampler using JUCE, but that's very much reinventing the wheel, right..! Now that I found HISE, I'm hoping I can bend it to my needs, even thought they are not run of the mill 'sampler' workflows.

      Essentially, I need to script the sample map, but i've not seen this possibility so far.

      The idea I want to try is composing using pieces of songs. You start with randomly assigning a bunch of .wavs to keys, with random start position for each.

      After 'testing' the random sample map by playing with it, you could then choose to rerun the randomization for all the keys you don't like .

      Is that possible ? If not, what would be the best pattern to extend HISE to support that ?

      ex :

      • Fork the sampler module ?
      • Add scriptability to the existing one ?
        • Where would that task take place exactly ? Would it make sense to simply add new functions in ScriptingApi.cpp, which I could use in some handlers, like OnController/OnInit ?

      Amazing software by the way, I'm baffled this kontakt alternative even exist !

      Cheers,
      Julien

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

        You can already change sample properties using scripting calls. Check this topic: https://forum.hise.audio/topic/64/fun-with-regex.

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

          I think all you need to do is generate a random array that will remap each key press, rather than changing the sample map itself

          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

          57

          Online

          1.7k

          Users

          11.7k

          Topics

          101.8k

          Posts