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

    Posts

    Recent Best Controversial
    • 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
    • script & panel

      Hi, I have a question. What command should I use to set a component inside a panel in hise script? Thanks.

      posted in Scripting
      L
      Lumi283