HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Chazrox
    • Profile
    • Following 5
    • Followers 2
    • Topics 114
    • Posts 924
    • Groups 0

    Chazrox

    @Chazrox

    Music Producer based in Los Angeles. Learning HISE everyday.

    243
    Reputation
    92
    Profile views
    924
    Posts
    2
    Followers
    5
    Following
    Joined
    Last Online
    Age 41
    Location Los Angeles, CA.

    Chazrox Unfollow Follow

    Best posts made by Chazrox

    • RE: More Positive Posts?

      Good Morning! I agree. Here's something I've been doing. Aside from working on my personal plugins, I've been wanting to show my appreciation to the community by designing a set of 3d assets / filmstrips that people can use on their projects.

      There are quite a few regulars in here that always get me going when im stuck. I Love it here!

      This is just a mockup of one of the kits im working on. All of these assets should be available for anyone to use soon. Dont quote me on "soon". Im sure everyone in here has 10 things going at once lol.

      Screenshot 2025-02-02 at 9.14.44 AM.png

      Screenshot 2025-02-02 at 6.44.25 AM.png

      Im still messing around with the faceplate so the actual release might not be exact.

      Much Love to the community!
      Special Thanks to @Christoph-Hart
      and honorable mention to Mr. @d-healey who got me going on all this in the first place!
      Im soaking it all in!

      posted in General Questions
      ChazroxC
      Chazrox
    • FREE DESIGN || Upgrade Your Keyboard!

      Freebie for the community.
      Screenshot 2025-05-11 at 2.08.43 AM.png

      Here's the script:

      namespace LafRealKeyboard
      {
      	const var FloatingTile1 = Content.getComponent("FloatingTile1");
      	const var Laf_RealKeys = Content.createLocalLookAndFeel();
      	
      	//! DRAW WHITE NOTE
      	Laf_RealKeys.registerFunction("drawWhiteNote", function(g,obj)
      	{
      		var a = obj.area;
      		var WhiteUp = Laf_RealKeys.loadImage("{PROJECT_FOLDER}WHITE KEY - UP 11.png", "WHITE KEY - UP 11.png");
      		var WhiteDown = Laf_RealKeys.loadImage("{PROJECT_FOLDER}WHITE KEY - DOWN 11.png", "WHITE KEY - DOWN 11.png");
      		
      		if (obj.down)
      		{
      			g.drawImage("WHITE KEY - DOWN 11.png", a, 0, 0);
      			g.setColour(Colours.red);			
      		}
      		if (!obj.down)
      		{
      			g.drawImage("WHITE KEY - UP 11.png", a, 0, 0);	
      		}	
      	});
      	Content.getComponent("FloatingTile1").setLocalLookAndFeel(Laf_RealKeys);
      	
      	//! DRAW BLACK NOTE
      	Laf_RealKeys.registerFunction("drawBlackNote", function(g,obj)
      	{
      		var a = obj.area;
      		var BlackUp = Laf_RealKeys.loadImage("{PROJECT_FOLDER}BLACK KEY - UP 11.png", "BLACK KEY - UP 11.png");
      		var BlackDown = Laf_RealKeys.loadImage("{PROJECT_FOLDER}BLACK KEY - DOWN 11.png", "BLACK KEY - DOWN 11.png");
      		
      		if (!obj.down)
      		{
      			g.drawImage("BLACK KEY - UP 11.png", a ,0, 0);	
      		}
      		if (obj.down)
      		{	
      			g.drawImage("BLACK KEY - DOWN 11.png", [a[0], a[1], a[2], a[3] + 10] ,0, 0);
      		}
      	});
      	Content.getComponent("FloatingTile1").setLocalLookAndFeel(Laf_RealKeys);
      }
      

      Download these images and add them to your projects 'Images' folder. F5. Enjoy.
      FILES---> CUSTOM KEYBOARD IMAGES

      posted in General Questions
      ChazroxC
      Chazrox
    • CUSTOM TABLE PRESETS Sub-Menu Template || Ready-to-run!

      I've been struggling with this one for a while and finally got a solid working script! I just wanted to share with the community an easy working template.
      Table Preset Browser Working.gif

      Functions:
      Save
      Delete
      Rename
      Back
      Next
      Random
      Combobox presets with custom name save

      Hope this helps someone down the line!

      const var PresetList = Content.getComponent("PresetList"); 
      const var PresetNameToSave = Content.getComponent("PresetNameToSave");    
      const var SaveOk = Content.getComponent("SaveOk");
      const var TableEnvelope1Pro = Synth.getTableProcessor("Table Envelope1");
      
      // File path for saving/loading
      const var presetFile = FileSystem.getFolder(FileSystem.Desktop).getChildFile("myFile.json");
      
      // Declare object to hold presets
      var AttackTablePresets = {};
      var lastRandomPresetName = "";
      
      //------------------------ LOAD existing presets on init ------------------------//
      
      if (presetFile.isFile())
      {
      	AttackTablePresets = presetFile.loadAsObject();
      
      	// Manually extract keys
      	var keyList = [];
      	for (k in AttackTablePresets)
      		keyList.push(k);
      
      	PresetList.set("items", keyList.join("\n"));
      }
      
      
      //------------------------ SAVE PRESET ------------------------//
      
      inline function onSaveOkControl(component, value)
      {		
      	if (!value)
      		return;
      
      	local presetNameNOW = PresetNameToSave.get("text").trim();
      	if (presetNameNOW == "")
      		return;
      
      	local tableData0 = TableEnvelope1Pro.exportAsBase64(0);
      
      	// Add to object
      	AttackTablePresets[presetNameNOW] = tableData0;
      
      	// Save to file
      	presetFile.writeObject(AttackTablePresets);
      
      	// Update ComboBox
      	local keyList = [];
      	for (k in AttackTablePresets)
      		keyList.push(k);
      
      	PresetList.set("items", keyList.join("\n"));
      	PresetList.setValue(keyList.indexOf(presetNameNOW) + 1);
      	PresetNameToSave.set("text", "(Enter Preset Name)");
      };
      
      SaveOk.setControlCallback(onSaveOkControl);
      
      //--------------------------COMBOBOX RESTORE TABLE CONTROLS --------------------------//
      inline function onPresetListControl(component, value)
      {
          if (value <= 0)
              return;
      
          // Get the selected preset name from the ComboBox using the selected index
          local selectedPresetName = PresetList.getItemText();
      
          // Look up the table data in the preset object
          local presetData = AttackTablePresets[selectedPresetName];
      
          // Restore the table if data exists
          if (presetData)
              TableEnvelope1Pro.restoreFromBase64(0, presetData);
      };
      PresetList.setControlCallback(onPresetListControl);
      
      // ---------------------------DELETE CURRENT PRESET CONTROLS -------------------------------//
      const var DeletePresetButton = Content.getComponent("DeletePresetButton");
      
      inline function onDeletePresetButtonControl(component, value)
      {
          if (!value)
              return;
      
          local selectedIndex = PresetList.getValue();
          if (selectedIndex <= 0)
              return;
      
          // Get preset name
          reg presetNameToDelete = PresetList.getItemText();
      
          if (!isDefined(AttackTablePresets[presetNameToDelete]))
              return;
      
          Engine.showYesNoWindow("Delete Preset",
              "Are you sure you want to delete \"" + presetNameToDelete + "\"?",
              function(result) // nested callback
              {
                  if (result)  // IF 'YES' 
                  {
                      var newPresets = {};
                      for (k in AttackTablePresets)
                      {
                          if (k != presetNameToDelete) 
                              newPresets[k] = AttackTablePresets[k];
                      }
      
                      AttackTablePresets = newPresets;
      
                      presetFile.writeObject(AttackTablePresets);
      
                      var keyList = [];
                      for (k in AttackTablePresets)
                          keyList.push(k);
      
                      PresetList.set("items", keyList.join("\n"));
                      PresetList.setValue(PresetList.getValue() - 1); // Clear selection
                  }
              });
      };
      
      DeletePresetButton.setControlCallback(onDeletePresetButtonControl);
      
      //------------------------------------RANDOMIZER BUTTON CONTROLS ------------------------//
      const var RandomizePresetButton = Content.getComponent("RandomizePresetButton");
      
      inline function onRandomizePresetButtonControl(component, value)
      {
      	if (!value)
      		return;
      
      	// Collect preset names
      	local presetNames = [];
      	for (k in AttackTablePresets)
      		presetNames.push(k);
      
      	local total = presetNames.length;
      	if (total == 0)
      		return;
      
      	local randomPresetName = "";
      	local tries = 10; // safety cap to avoid infinite loop
      
      	while (tries > 0)
      	{
      		local i = Math.floor(Math.random() * total);
      		randomPresetName = presetNames[i];
      
      		// Stop if the new name is different, or only one preset exists
      		if (randomPresetName != lastRandomPresetName || total == 1)
      			break;
      
      		tries--;
      	}
      
      	// Find index of selected name in ComboBox
      	local comboIndex = 0;
      	for (i = 0; i < presetNames.length; i++)
      	{
      		if (presetNames[i] == randomPresetName)
      		{
      			comboIndex = i + 1;
      			break;
      		}
      	}
      
      	if (comboIndex > 0)
      		PresetList.setValue(comboIndex);
      
      	// Load the new preset
      	local presetData = AttackTablePresets[randomPresetName];
      	if (presetData)
      		TableEnvelope1Pro.restoreFromBase64(0, presetData);
      
      	// Store the name to avoid repetition next time
      	lastRandomPresetName = randomPresetName;
      };
      
      RandomizePresetButton.setControlCallback(onRandomizePresetButtonControl);
      
      
      //--------------------------BACK BUTTON CONTROLS -------------
      const var BackPresetButton = Content.getComponent("BackPresetButton");
      
      inline function onBackPresetButtonControl(component, value)
      {
      	if (!value)
      		return;
      
      	local currentIndex = PresetList.getValue();
      	local totalItems = 0;
      
      	for (k in AttackTablePresets)
      		totalItems++;
      
      	// Wrap to last if we're at the first
      	if (currentIndex <= 1)
      		currentIndex = totalItems + 1;
      
      	local newIndex = currentIndex - 1;
      	PresetList.setValue(newIndex);
      
      	local presetName = PresetList.getItemText();
      	local presetData = AttackTablePresets[presetName];
      
      	if (presetData)
      		TableEnvelope1Pro.restoreFromBase64(0, presetData);
      };
      BackPresetButton.setControlCallback(onBackPresetButtonControl);
      
      
      //-------------------------------NEXT BUTTON CONTROLS ---------------
      
      const var NextPresetButton = Content.getComponent("NextPresetButton");
      
      inline function onNextPresetButtonControl(component, value)
      {
      	if (!value)
      		return;
      
      	local currentIndex = PresetList.getValue();
      	local totalItems = 0;
      
      	for (k in AttackTablePresets)
      		totalItems++;
      
      	// Wrap to first if we're at the last
      	if (currentIndex >= totalItems)
      		currentIndex = 0;
      
      	local newIndex = currentIndex + 1;
      	PresetList.setValue(newIndex);
      
      	local presetName = PresetList.getItemText();
      	local presetData = AttackTablePresets[presetName];
      
      	if (presetData)
      		TableEnvelope1Pro.restoreFromBase64(0, presetData);
      };
      NextPresetButton.setControlCallback(onNextPresetButtonControl);
      
      // -------------------------RENAME PRESET BUTTON CONTROLS-----------------------
      const var RenamePresetButton = Content.getComponent("RenamePresetButton");
      
      inline function onRenamePresetButtonControl(component, value)
      {
      	if (!value)
      		return;
      
      	local selectedIndex = PresetList.getValue();
      	if (selectedIndex <= 0)
      		return;
      
      	local oldName = PresetList.getItemText();
      	local newName = PresetNameToSave.get("text").trim();
      
      	if (newName == "" || newName == oldName)
      		return;
      
      	// If new name already exists, do nothing (or optionally warn)
      	if (isDefined(AttackTablePresets[newName]))
      	{
      		Console.print("A preset with that name already exists.");
      		return;
      	}
      
      	// Copy data to new name
      	AttackTablePresets[newName] = AttackTablePresets[oldName];
      
      	// Rebuild the object without the old key
      	local newPresets = {};
      	for (k in AttackTablePresets)
      	{
      		if (k != oldName)
      			newPresets[k] = AttackTablePresets[k];
      	}
      
      	AttackTablePresets = newPresets;
      
      	// Save updated object to file
      	presetFile.writeObject(AttackTablePresets);
      
      	// Update ComboBox
      	local keyList = [];
      	for (k in AttackTablePresets)
      		keyList.push(k);
      
      	PresetList.set("items", keyList.join("\n"));
      
      	// Select the renamed preset
      	PresetList.setValue(keyList.indexOf(newName) + 1);
      };
      RenamePresetButton.setControlCallback(onRenamePresetButtonControl);
      
      

      I had the help of @d-healey and @Lindon with making this and a few extra helps from gpt.

      Bless! 🙏

      • ROX

      PS> if anybody wants to make improvements and toss it back, have at it! Together we can make the ULtimate Table preset menu. haha.

      posted in Scripting
      ChazroxC
      Chazrox
    • RE: Software for Animation Sprites....

      @rglides SAMPLE:

      *HISE Logo for fun. Dont sue me. lol

      Screenshot 2025-02-02 at 4.42.00 AM.png

      posted in General Questions
      ChazroxC
      Chazrox
    • RE: Software for Animation Sprites....

      Ok just sharing my first 3d Knob that I made! This is gonna be fun.

      @lalalandsynth how do you get your shadows to show up in the animation? I can seem to get mine to show up on the transparent areas.

      ezgif-4668e059bd8e4.gif

      posted in General Questions
      ChazroxC
      Chazrox
    • RE: Guitar Pedal GUI Kit in the making.

      Screenshot 2025-02-11 at 12.11.02 AM.png

      posted in Presets / Scripts / Ideas
      ChazroxC
      Chazrox
    • RE: Help. Project wont open. Instant crash.

      @Chazrox man I really figured this one out on my own and im proud of myself. lol

      I started digging around and I opened the corresponding .xml file for the project and noticed in one of the lines that it was pointing to a default preset that no longer existed in the expected folder it was supposed to be in. Turns out I DID do something, which was move that folder that the preset was supposed to be in. I deleted that line and everything opened up as normal. fweeww! Sweats! haha.

      this thing...

      Screenshot 2025-03-08 at 9.55.41 AM.png

      posted in Scripting
      ChazroxC
      Chazrox
    • RE: Sliders not responding to "Consumed" MIDI CCs

      @CyberGen I had some wierd bug regarding midi and I found on the forum somewhere that if your buffer settings in your DAW are 1024 or higher it would break the midi in some way...I thought that it sounded bogus until I tried it and it fixed my problem. Just throwing that out there because it seems your out in the deep like I was so it wont hurt to try!

      posted in Scripting
      ChazroxC
      Chazrox
    • GRID HELPER || Free Script

      If you're like me and just need an extra visual helper, you might find this useful.

      Screenshot 2025-05-31 at 4.19.37 PM.png

      Drop a panel in your project and name it "Grid1".

      namespace GridHelper
      {
      	const var Grid1 = Content.getComponent("Grid1");
      	
      	Grid1.setPaintRoutine(function(g) 
      	{
      		drawPandelGrid();
      	});
      	
      	inline function drawPandelGrid()
      	{
      		local a = this.getLocalBounds(0);
      		
      		// Size Controls
      		local NumBarsX = 10; // Number of Vertical Lines
      		local NumBarsY = 10; // Number of Horizontal Lines
      		local BarHeight = 1; // Horizontal Bar Size
      		local BarWidth = 1; // Vertical Bar Size
      		
      		// Colour Controls
      		local BarColour = Colours.withAlpha(Colours.black, 0.5); // Bar Colour
      		local BackgroundColour = Colours.withAlpha(Colours.pink, 0.5); // Optional Background Colour
      		
      		// Spacer Logic
      		local spacerY = a[3]/NumBarsY; // Horizontal Line Spacing
      		local spacerX = a[2]/NumBarsX; // Vertical Line Spacing
      		
      		// Paint Background		
      		g.fillAll(BackgroundColour); // Optional Background Colour
      		g.setFont("ArialBOLD", 12);
      		g.drawAlignedText("GRIDHELPER1.0", [5,5,100,5], "left");
      	
      		// Paint Lines
      		for (i=0;i<=NumBarsX;i++) // Vertical Lines
      		{					
      			local x = i * spacerX - (BarWidth/2); // Center Line ON grid
      			
      			g.setColour(BarColour);
      			g.fillRect([x,0,BarWidth,a[3]]);	
      		}
      		for (i=0;i<=NumBarsY;i++) // Horizontal Lines
      		{			
      			local y = i * spacerY - (BarHeight/2); // Center Line ON grid
      					
      			g.setColour(BarColour);
      			g.fillRect([0,y,a[2],BarHeight]);
      		}
      	}
      }
      

      Its a snippet from @Morphoice that I modified to have both horizontal and vertical lines, made it modular with the all the controls variables and customizable so you can set a different amount of x or y bars/lines. Comes in handy sometimes when I just want to visualize a certain part of my plugin and make sure its equally spaced to my desired paramaters.

      (idk if something like this exists already but I thought it was good excercise regardless). Bless! 🙏

      posted in Scripting
      ChazroxC
      Chazrox
    • RE: Player - I'm going crazy

      @clevername27 agreed. Just resubscribed for my second month and the amount that i've learned so far is insane.

      posted in ScriptNode
      ChazroxC
      Chazrox

    Latest posts made by Chazrox

    • Spectral Analyser / Ever made one?

      Does anybody have any good advice on where to start making a spectral analyzer? I just want to be able to load an audio file and point out dominant frequencies in the spectrum and extract frequency values.

      Something like this :

      Screenshot 2025-08-13 at 11.47.18 PM.png

      posted in Scripting
      ChazroxC
      Chazrox
    • RE: Knob Web Studio

      I don't think Pro is a good option for Knob making since it is a new Web based App for Knob/Sliders. Where already KnobMan, Web-KnobMan, Blender, C4D, After Effects, Figma etc. Exist. And even with LAF we can create Knobs as well.

      @DabDab If you can say that to him......Next time you post what you're working on, there better not be something like it already out and you better not try to charge people to use it or else im ROASTIN YOU buddy. lol. You're logic can work both ways my friend.

      Then very few people will try it ;)

      Sup with the negativity tho? and a bit condescending aye?

      If you want to gain popularity ask for donation rather than forcing user for a small subscription.

      Nobody's forcing you to do anything. Dont pay it. 👍

      posted in General Questions
      ChazroxC
      Chazrox
    • RE: g.dropShadowFromPath got funky on macOS between May 30 and July 02

      @aaronventure NICE!

      posted in Bug Reports
      ChazroxC
      Chazrox
    • RE: Multi Channel Plugin and Multi Channel Routing Flag : Problem: projucer or HISE

      @DabDab

      NUM_MAX_CHANNELS = AMOUNT

      in Project settings in HISE / Extra definitions

      im on mac so..
      Screenshot 2025-08-13 at 6.25.33 AM.png

      posted in General Questions
      ChazroxC
      Chazrox
    • RE: quick audioWaveform/Sampler question

      @rglides works for me too. Behavior is the same as @d-healey ...unless thats not right.

      posted in Scripting
      ChazroxC
      Chazrox
    • RE: HISE Bootcamp - Full Course for Beginners

      @d-healey a strong one at that. haha

      posted in General Questions
      ChazroxC
      Chazrox
    • RE: HISE Bootcamp - Full Course for Beginners

      @d-healey if you see me replying with this on the forum it means "you should definitely check out D.Healey's Bootcamp!". hahaha.

      Screenshot 2025-08-10 at 8.21.25 AM.png

      **Now THATS a T-shirt. 👍

      posted in General Questions
      ChazroxC
      Chazrox
    • RE: HISE Bootcamp - Full Course for Beginners

      @d-healey NEXT LEVEL D.HEALEY! Great production! You already know i've been excited for you to drop this course....but FREE?! 😱

      posted in General Questions
      ChazroxC
      Chazrox
    • RE: ScriptSlider.getMinValue() and ScriptSlider.getMaxValue() // Not Working....

      @d-healey

      I want these values...
      Screenshot 2025-08-10 at 5.23.05 AM.png

      not these 🙏
      Screenshot 2025-08-10 at 5.23.01 AM.png

      Screenshot 2025-08-10 at 5.23.11 AM.png

      If you have a minute?

      HiseSnippet 985.3ocsV0raaaDDdor1lJ05fFfdNfPmjJBLnrrbcPPPXkrUqfqbThbC5sjUjKs1ZxcIVtLUJAFHGZeG5w7XjSE9UomKPQeCZmk+HRYq3DHzRBPf4muY+lYmcVNVJbnQQBIxn9oKBoHiOGOYAWMq+LBiiFdHx313QjHEUZlpp2hPRTD0EYXr02pUXTqJJ44ueTOhOg6PKTgPOSvbneOKfoJzN19Xlu+.hK8TVPIu2ydnif2W3KhA9rE1BERbNmbF8Dh1sJXz2QhlgL9J7t654bfk0Ac5z0hP53RH60l149Tu88b5ZceK2ocsf28QFexQtLkPNQQTzHjQ0dB2ESlI9Yd5B7LVDapOUKzFMAV4T0CD9t5TTqE0eFy2cbdgJBAQYbQYaqzx1WhGwbYK0WT99hDClEHJW.MprJ81ZE50tL8rJQu0PIiRTpZJktCdhijEpJrn4ymgGxgcSOBrOUlJo9hp7WF39BvCtZm.x4zARPXIhl6aYcOytVVsdv100uv9Ujx7kDo4wbwzcMenYN3ynp9hfPAGDZ1HwZibT5WF2mwoldwbGESvME7dwJkf2VG.ovuoSN56Aw2Ol1Z65utdsZLOyloxfvqqCepAHhD9zcBkLXsRVJ8x2rQ.i2nUqGby9Plm3C3zEYT6hDZt9DIijMZsSjVeBU6S78mBcpMuZNTjukRySDJ5i4Maoyl5WT27pl77VqsrP5Skq0r9jj7l.1jGGLkJyKl4NBcKq1Bhe+sfkOg3jVcJ4nfOjyTONjxeemaPYkTncsRFq.WUIMq2NqYMs.hXPOYMbV0DkP4xSUPKgiWE9DelKUl.+V3jc4q.9x286RB+L5n7IWUwn21+xTcj4Zcu6t+5e9jeafM5GFdHQQzGtxHNjLgTohoqSFGReILZK8nVM7gznyUhvjLKqY4Zjas417kTydr8hkBu8E1rnQh.HNDIn1nBpTfq8Ay5Rg8IkBK5mriTKzam2B+TcNifQ6gSXuJuBY+Gu5WdTPow5uY7kAjhn8lisif87SoyU8Dy0CNPWexCLyS3F6STqNHTecQlAn0bkoO5IL7HlZQ4qSt5zwpebSGu4g2erz8N3wLkyr0y2Jqgu5t5+m4a1cMaiOxyi5nJHaU7fe7FuX4+Fp7TQrhwOaDQIYvdO9j3fIvc0NTfIbN0WO9.ZT0PSjszx5JyDJ2MQ3efmLis0xFYFamaDEPbjhm6jd9Vey1mlnA3DO4u.pA+NBHatloBAvEsO2wY0PcMf6to.6ro.2aSA1cSAt+lB7q2TfG7gAp+OnuIVIBRONgPiFeTx.VCii3DnaLoyE8uemg32A
      
      posted in Scripting
      ChazroxC
      Chazrox
    • ScriptSlider.getMinValue() and ScriptSlider.getMaxValue() // Not Working....

      As the title says, I cant get the min and max values from a range slider. I need to create a box slider to choose a sample range. I need to access min and max values.

      posted in Scripting
      ChazroxC
      Chazrox