@d-healey Thank you so much, this has been a huge help. I’ll keep learning so that I can become someone who helps others someday as well.
Best posts made by DAEN
-
RE: having trouble triggering each button
Latest posts made by DAEN
-
RE: having trouble triggering each button
@d-healey Thank you so much, this has been a huge help. I’ll keep learning so that I can become someone who helps others someday as well.
-
RE: having trouble triggering each button
HiseSnippet 3238.3oc6bs8aaacFmxNTIVMoqWA1irtunr43JIamj1hTKecUawWlkSP2J5boIORh0TjpjTNVIH.snt.AscncawHwXIc9g00hgN.2ViszhNfBrW6.FP+KXOM.KYf1+B59NWnHoHorLsSZVWT.BDOmy2462461424PkLqgtDxzT2fKVh4qUAwE6n74qoYUZrRhJZb4FG2vXkPRKIbNgm8hbiVqhnoIRlKVrt+I3QDqmCwQ970COpnpnlDxoINtyqqHgNqRYEKmVmM6OSQUcRQYz7JkcM5AylSRWaLcU8p.Z5lOEWEQokDKhlVDOrt34dVQyRbw9Q7YxTP5zoRc5AFXnThhCHKJNXZz.OIpvIKHMTpmLk7hCkB9yI4hEeBYEKci7VhVHStXGZTc4Z4KoeAMpBNuhoxhpH7Co4xCZl17j5px3kHtUtwJonJOqsYxjClkYcLZcSMZOB+TJxJMa2w38.jNDbjvsALVWdgW2dfWZ2vKkK3E.jh4BRGhBoGjOujgREKmdv3493yoYgLJHB9I2PgNVttVrG9m3IDNWtikXLcXfZV8WVbIzjFvCMEL4PmZn9DN0oSc7mNQBvkYZIrXUKKcMrixT3LBOeBA3SuiN0H4lt29fubt4meloS670L8l3E.YAMU+iWcm23yE1dya13i2p9684BM13UZ7tu2NqsgP8M2rw01xiBvS9ktrGIar0U19Vaty5WEF+aKT+pWEZe6O80STP2PHoCrDTzbCxiKbIBFYS6y6z0K.pvdoWDYMld4J5ZvCtlKXYikEFkotJp+JFJP28NkXkJJZEYS4SIzqvO1kFgG5U3DOiqV8nT1TpTvFys.oyHTUSFUPQCIaC8.fvDyM2Ly8TBiRjLH.noaITPGlpGqWlFubhKSrlMdsWcmW6FBM9qWswFupP8O4UZbkqmv.U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92+ier57u4f63X04GfUHfMBtlQ00WprH4G5Zj92mycjeVtjeT9KvtON7h6HjV.amF6h3H+F8ERysbq1ZXqWkEjj7NU9DLSTEbfnJ3fQUvghpfmLpBdpnJ3o2cAw+WS.auMbrNj.M6DjfvXwruoZ7Y++uhw5To.
I’d like to explain it that way, but since it’s written quite extensively, I tried creating it separately on my own.
-
having trouble triggering each button
In the initial version, I used radioGroup to activate buttons and prevent duplicate execution. However, after receiving feedback from colleagues who used it, they mentioned experiencing slight inconvenience.
I reset the radioGroup to 0 and rewrote the code to allow each button to be triggered independently. The console log indicates that there are no issues with compilation, but the buttons are still being triggered in a duplicated manner.
Should I use something other than the buttons created with "New Button"?
It’s really simple, but I didn’t realize that implementing this part would be so complicated and difficult. The more I study, the harder it gets.
The behavior I want is as follows
Initial state: MAIN activated, the rest deactivated.
Press button1 -> button1 activated / MAIN and the rest deactivated.
Press button1 again -> button1 deactivated / MAIN activated, the rest deactivated (I wanted the default state to have MAIN activated).Press button2 -> button2 activated / MAIN and the rest deactivated.
Press button2 again -> button2 deactivated / MAIN activated, the rest deactivated..const buttonNames = [ "MAIN", "BUTTON1", "BUTTON2" ]; // Array to store button objects const buttons = {}; // Initialize and Debug the Button for (buttonName in buttonNames) { buttons[buttonName] = Content.getComponent(buttonName); Console.print("Mapping button: " + buttonName + " -> " + buttons[buttonName]); if (buttons[buttonName] == undefined) { Console.print("ERROR: Button " + buttonName + " not found!"); } } // Status Tracking Variables reg currentActiveButton = "MAIN"; // Function that activates only the specified button after deactivation of all buttons inline function setActiveButton(activeButtonName) { Console.print("Setting active button: " + activeButtonName); for (btn in buttonNames) { Console.print("Deactivating: " + btn); buttons[btn].setValue(0); buttons[btn].changed(); // UI Force updates } Console.print("Activating: " + activeButtonName); buttons[activeButtonName].setValue(1); buttons[activeButtonName].changed(); currentActiveButton = activeButtonName; } // Define callback function by button inline function onButtonControl(component, value) { Console.print("Button clicked: " + component.getId() + ", Value: " + value); if (!value) return; // Ignore when the button is off (only works when clicked) local buttonName = component.getId(); // Get the id of the button Console.print("Current active: " + currentActiveButton + ", Clicked: " + buttonName); if (buttonName == "MAIN") { Console.print("BMAIN clicked, no action"); return; } if (buttonName == currentActiveButton) { Console.print("Deactivating " + buttonName + ", activating MAIN"); setActiveButton("MAIN"); } else { Console.print("Activating " + buttonName); setActiveButton(buttonName); } } // Connect callback to all buttons for (buttonName in buttonNames) { buttons[buttonName].setControlCallback(onButtonControl); Console.print("Callback set for: " + buttonName); } // Initial Status Settings (MAIN Activation) setActiveButton("MAIN");
-
RE: Need Advice on macOS Compilation for My Plugin
@d-healey Thank you for your detailed response!
I understand that since I started development relatively recently, releasing a VST2 plugin doesn’t apply to me.
To resolve this, I should release my plugin as VST3 and obtain Steinberg’s VST3 license, which is required as a standard step.
Regarding the macOS installer, I learned that an Apple Developer Account is required. However, upon looking into it, I initially thought it was only available for corporations, but now I understand that as an individual plugin developer, I can’t do that part.
Thank you for clarifying!
While developing, I’ve come to realize that every plugin involves a tremendous amount of hard work and dedication.
I’ve also become incredibly aware of how terrifying it is that there are so many people out there who hack programs, :) -
Need Advice on macOS Compilation for My Plugin
Hello everyone in the HISE forum,
I’ve recently developed a plugin, and I wanted to share my progress and ask for some advice. I’m not very fluent in English, but I’ve received so much help from this forum, and I’m truly grateful for that. Thank you all!
I’ve successfully got the plugin running on Windows and even implemented a simple anti-piracy system. (I realized that while integrating with a server might be a good idea, it’s ultimately a matter of time and resources.)
I also managed to create an installer using Inno Setup, allowing users to specify the installation paths for VST2 and VST3. So far, everything works great on Windows!
Now, I’m planning to create a macOS version as well. From what I’ve researched:
On Windows, I can compile VST2, VST3, and standalone versions, but these are only usable on Windows.
To create a macOS version of the plugin, I need to transfer the project I built on Windows to a Mac and compile it as an AU (Audio Unit).
Here’s what I’ve done so far:I transferred the project from Windows to a Mac (running macOS Sonoma 14.7.4).
I installed Xcode (version 16.2) and HISE on the Mac.
I launched HISE and attempted to compile the project.
However, the DAW Vst isn’t working.
During the process, I encountered the following message:Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
I found a post from 2023
https://forum.hise.audio/topic/8331/export-issue-building-targets-in-manual-order-is-deprecatedBut I’m not sure if I’m understanding everything correctly. Could there be an issue with my setup?
If anyone has had a similar experience, I’d really appreciate your advice.I’ve also realized there’s still a lot more to do—creating promotional images, demo videos, setting up a website, and so on. It’s a challenging journey to tackle alone, but seeing everyone here working hard, developing, and sharing knowledge has been truly inspiring. I’m always grateful for this community.
Thank You Everyone