HISE Logo Forum
    • Categories
    • Register
    • Login

    Multiple instruments?

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 943 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.
    • alexaudio10A
      alexaudio10
      last edited by

      Hello,
      My question may seem a bit silly, but I had not made it here.

      In fact I quietly start the development of a new bank of his. I wanted to know, how does the management of presets in Hise ...?

      Let me explain: If I have several instruments that are already samples, do I create a .HIP file each time I use user presets?

      For the moment, I have the impression that the user presets do not store the identity of the samples ... when I change the preset the samples remain the same ...

      I guess there is a way to do it, but I can not find it. I suspect that I do not have to create a VST file for each instrument, otherwise it would be heavy.

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

        This might be of interest to you

        Link Preview Image
        Multiple instruments, single project or multiple projects?

        I'm currently working on a collection of woodwind instruments, they will all use the same instrument setup and scripts with a few differences like key range,...

        favicon

        Forum (forum.hise.audio)

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

        1 Reply Last reply Reply Quote 0
        • alexaudio10A
          alexaudio10
          last edited by

          Yesss! Really.

          Thansk!

          1 Reply Last reply Reply Quote 0
          • staiffS
            staiff
            last edited by staiff

            showing samples in the GUI (to select it and save it in preset):

            include("SettingsButton.js");
            include("UserPresetWidgets.js");
            
            const var ComboBox = Content.addComboBox("ComboBox", 721, 3);// [JSON ComboBox]
            Content.setPropertiesFromJSON("ComboBox", {
              "text": "Presets",
              "width": 189,
              "bgColour": 4278190080,
              "itemColour": 4278190080,
              "itemColour2": 4211081216,
              "pluginParameterName": "Presets",
              "items": ""
            });
            // [/JSON ComboBox]
            
            const var Sampler = Synth.getSampler("Sampler");
            const var sampleMapList = Sampler.getSampleMapList();
            ComboBox.set("items", sampleMapList.join("\n"));
            inline function onComboBoxControl(component, value)
            {
            	Sampler.loadSampleMap(sampleMapList[value-1]);	
            };
            
            ComboBox.setControlCallback(onComboBoxControl);
            
            
            
            const var presetDecButton = UserPresetWidgets.createPresetButton("presetDecButton", 379, 8, false);
            const var presetIncButton = UserPresetWidgets.createPresetButton("presetIncButton", 575, 9, true);
            
            const var presetDisplayPanel = UserPresetWidgets.createPresetDisplay("presetDisplayPanel", 405, 6);
            UserPresetWidgets.setPresetBrowserLookAndFeel(presetDisplayPanel, "Digital-7 Mono", 15, "0xFFAAAAAA");
            
            
            const var settingsButton = SettingsButton.createSettingsButton("settingsButton", 5, 5);
            
            const var PerformanceLabel = Content.addFloatingTile("PerformanceLabel", 31, 2);
            // [JSON PerformanceLabel]
            Content.setPropertiesFromJSON("PerformanceLabel", {
              "width": 186,
              "height": 32
            });
            // [/JSON PerformanceLabel]
            const var perfData = {
              "Type": "PerformanceLabel",
              "Font": "Digital-7 Mono",
              "FontSize": "12.0",
              "ColourData": {
                "textColour": "0xAAFFFFFF"
              }
            };
            
            PerformanceLabel.setContentData(perfData);
            
            const var Tooltips = Content.addFloatingTile("Tooltips", 1128, 2);
            // [JSON Tooltips]
            Content.setPropertiesFromJSON("Tooltips", {
              "width": 453,
              "height": 26,
              "itemColour": 4294901760,
              "itemColour2": 4294901760
            });
            // [/JSON Tooltips]
            
            Tooltips.setContentData({"Type": "TooltipPanel", 
                                     "FontSize": 13.0, 
                                     "ColourData": {"bgColour": "0x000000"}});
            

            i used it for a multisample/library rompler. Of course all set "save in preset" = yes

            Excuse me i'm French.

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

            49

            Online

            1.7k

            Users

            11.7k

            Topics

            101.8k

            Posts