HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Lumi283
    L
    • Profile
    • Following 1
    • Followers 0
    • Topics 32
    • Posts 99
    • Groups 0

    Lumi283

    @Lumi283

    18
    Reputation
    26
    Profile views
    99
    Posts
    0
    Followers
    1
    Following
    Joined
    Last Online

    Lumi283 Unfollow Follow

    Best posts made by Lumi283

    • Vertical + horizontal slider script

      Hello, for those who want to save time, here's a simple script for a horizontal slider in Look and Feel, as I didn't find one in the forum. It's up to you to customize this script and assign your own colors.
      cf267046-d82e-4879-bb68-f5384668dc49-image.png

              //horizontal slider
      	laf.registerFunction("drawLinearSlider", function(g, obj)
      	{
      		var a = obj.area;
      	 	g.setColour(Colours.blue);
      	 	g.fillRoundedRectangle([0, 10, a[2], 12], 6);
      	 	var x = obj.valueNormalized * a[2];
      	 	g.setColour(Colours.red);
      	 	g.fillRoundedRectangle([0, 10, x , 12], 6);
      	 	g.setColour(Colours.green);
      	 	g.fillRoundedRectangle([x - 6 , 0, 12, 30], 6);
      	});
      	
      
             //vertical slider
      	laf.registerFunction("drawLinearSlider", function(g, obj)
      		{
      			var a = obj.area;
      		 	g.setColour(Colours.blue);
      		 	g.fillRoundedRectangle([9, 0, 12, a[3]], 6);
      		 	var x = obj.valueNormalized * a[3];
      		 	g.setColour(Colours.red);
      		 	g.fillRoundedRectangle([9, 0, 12 , x], 6);
      		 	g.setColour(Colours.green);
      		 	g.fillRoundedRectangle([0 , x - 6, 30, 12], 6);
      		});
      
      posted in Presets / Scripts / Ideas
      L
      Lumi283
    • RE: Timestretching/Pitchshifting

      Thank you Christoph Hart for this feature. My project was stuck, but now the problem is solved! Don't you think @d-healey that it would be interesting to offer a tutorial on your YouTube channel to explain how to properly implement time stretching? It could help more than one person.
      Thanks,
      Remi Dufeu

      posted in General Questions
      L
      Lumi283
    • Use tags

      Hi,
      When I was looking for information on the doc, i have found this command about tags, but there is no doc about this :

      Engine.setUserPresetTagList(var listOfTags)

      How can i link a preset to a tag, and how can i show in Hisescript the tags on the UI interface without the preset Browser Floating Tile?
      Thanks,
      Abyss

      posted in Scripting
      L
      Lumi283
    • RE: show bpm

      @yall

      function onNoteOn()
      {
         var bpm_host = Engine.getHostBpm();	
      }
      
      
      posted in General Questions
      L
      Lumi283
    • RE: Tagging Presets?

      to do this, I have included my tags in the preset name. Then, I coded a loop in the UI to display only the presets that match the selected tags. You can modify the preset name using the following code:

      string.replace("someTag", " ");
      

      This will allow you to display only the preset name. To rename a preset, you can use "file.rename."
      Example :
      "Godin cinematic orchestral violin.preset"

      posted in General Questions
      L
      Lumi283
    • RE: Vertical + horizontal slider script

      @d-healey Thank you, I am taking notes!

      posted in Presets / Scripts / Ideas
      L
      Lumi283
    • How do I create a visual midi preview?

      Hi, I've integrated a midi browser into my VST, and I'd like to add a midi preview. Is there any way to generate this visual preview via a script? Look and feel? A floating tile?

      posted in Scripting
      L
      Lumi283
    • RE: Get expansion list in macOS

      @d-healeyI've figured it out because you have to restart hise to update Link Expansions To Project (it's strange but it only works once it's been deactivated.
      Thanks a lot

      posted in Scripting
      L
      Lumi283
    • RE: How to rename Userpreset

      @Casmat said in How to rename Userpreset:

      FileSystem.getFolder(FileSystem.UserPresets).getChildFile(presetname + ".preset")

      it's working thank you!

      posted in Scripting
      L
      Lumi283
    • RE: Who Wants My Plugin Code?

      Amazing! Great job. The animations are insane.

      posted in Scripting
      L
      Lumi283

    Latest posts made by Lumi283

    • RE: How to load Sample maps after init ?

      @d-healey said in How to load Sample maps after init ?:

      ExpansionHandler.refreshExpansions()

      Thank you

      posted in Scripting
      L
      Lumi283
    • RE: How to load Sample maps after init ?

      @Lumi283 Note: I am even forced to reload the workspace to see the new sample maps.

      posted in Scripting
      L
      Lumi283
    • How to load Sample maps after init ?

      Hi, I have a problem.

      My VST downloads the expansion automatically and unzips it automatically. However, when I want to map my sample maps, the new sample maps are not updated in the content and sampler interface.

      How can I upload samples in HISE after initialization?

      Thank you.

      function redrawComboBox() {
          var SampleMaps = Sampler.getSampleMapList();
          var expansion = Engine.getExpansionList();
          var all_sample_maps = [];
      	
          for (a in SampleMaps) {
              all_sample_maps.push(a);
          }
          for (e in expansion) {
              var expansion_SampleMaps = e.getSampleMapList();
              for (i in expansion_SampleMaps) {
                   all_sample_maps.push(i);
              }
      }
      	
      
      posted in Scripting
      L
      Lumi283
    • Save a custom file path in AppData

      Hi, is there any way to save a folder path in AppData? (To set the default download folder).

      The problem is that the Server.downloadFile method needs a File type variable for destination folder, and we can't save a File variable in a JSON or TEXT file in AppData. How can I keep this value in AppData? Thank you.

      			Server.downloadFile(path, {}, locations, function()
      			{
      			    if(this.data.finished)
      			       drawPopup("Downloaded successfuly", true );
      			});	
      
      posted in Scripting
      L
      Lumi283
    • Convert complex SVG in HISE

      Hi, do you know how it would be possible to convert a complex SVG in Path Array?

      For example, the in hise converter doesn't work for this svg:

      da65110b-2f21-4fad-96be-68f3d219aa42-image.png

      This is to preview midi files in my VST midi browser.

      posted in General Questions
      L
      Lumi283
    • RE: Offline password protection in plugin

      @goldee
      I recommend that you create an external API that checks each connection (unfortunately, it doesn't work offline).

      posted in General Questions
      L
      Lumi283
    • RE: Multi-column comboboxes

      @d-healey not working with develop branch ...

      9caeb208-2574-4232-94d9-33e537f1d94f-image.png

      7f942035-013f-4541-9f29-086a3a957476-image.png

      d301695d-25ca-44f2-813f-b8aad88daa0d-image.png

      posted in General Questions
      L
      Lumi283
    • RE: Multi-column comboboxes

      @d-healey I use the default HISE installer

      336d9758-6d9d-425a-8423-89d4727e93db-image.png

      posted in General Questions
      L
      Lumi283
    • RE: Multi-column comboboxes

      @d-healey ! I tried the snippet, but i have this result ? How to setup a correct multicolumn combobox with this method ? Thanks

      72efcf8d-218a-4e3b-98ae-5f7f0070ce15-image.png

      posted in General Questions
      L
      Lumi283
    • Looking for scriptnode scripts๐Ÿ‘€

      Hi,

      I'm looking for script nodes for my VST (I don't have the skills to code them myself). Is anyone interested in selling their scripts? I am looking for:

      High-quality chorus
      Kickstart
      Half-time
      Creative reverbs
      Other effects for guitars, or other ...

      It would be great to share your talents among us!

      Thank you

      posted in ScriptNode
      L
      Lumi283