HISE Logo Forum
    • Categories
    • Register
    • Login

    Multiple instrument plugins

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 1.1k 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.
    • K
      Ksn
      last edited by

      Is it possible to create, for example, a "guitar" plugin where one of the presets is represented as classic guitar, and the other one - with banjo samples? In case it's possible, could I get some hints on how-to do this or there is a need for an individual plugin for each instrument?

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

        Hi,

        yes, this is possible. In fact, HISE has included some architectural features that makes this kind of instrument pretty straightforward.

        The core of this system are dynamically swappable sample sets called SampleMap which can be loaded into a Sampler module via scripting. A sample map is just an XML file that contains the mapping of samples that can be loaded into a Sampler. You can create SampleMaps with the save button in the sampler interface. They can be stored independently from the instrument (that's why there is a SampleMaps subfolder in each Project directory.

        If you want to swap samples, just use the Sampler.loadSampleMap() scripting method with the filename (you can use Sampler.getSampleMapList() for a list of all available sample maps).

        If you need more details, I'll add a example instrument in the HISE repository which uses this feature.

        1 Reply Last reply Reply Quote 0
        • K
          Ksn
          last edited by

          Thanks for the reply,
          and yes, I will deeply appreciate if you could add a corresponding example instrument in the repository.

          1 Reply Last reply Reply Quote 0
          • J
            jhonder04
            last edited by

            My samplemap's name is "solo campana" how I Call this samplemap

            {
            Sampler.loadSampleMap(solo campana);
            }

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

            50

            Online

            1.7k

            Users

            11.7k

            Topics

            102.1k

            Posts