@Casmat @Matt_SF haha I'd take that Math master class too. I'm looking at them thinking "why are there so many?"

alhug
@alhug
composer/producer and very new to HISE
Best posts made by alhug
-
RE: Modulating Oscillator
-
RE: Default User Preset not working in compiled plugin
@Christoph-Hart Got it.
I have a label displaying the current preset name and also buttons to load next and previous presets on my UI. I wanted to have the "Default Preset" loaded on startup and the name displayed in the label. Right now I just write a string to the label since there's no preset actually loaded. When I click on my LoadNextPreset button it loads the first preset, which is the "Default Preset", so nothing actually happens from a user's perspective.
I want the "Default Preset" to be included in the preset library so that the user can always go back to the init state when using the plugin.
I was thinking of just loading that default preset on init but what happens if the user manually deletes this preset from the folder?
-
RE: Draggable and clickable toggle switch
@d-healey took me a minute to figure it out using a panel, but watching your tutorial on how to create an XY pad really helped.
This is what I came up with
Content.makeFrontInterface(600, 600); const var Panel1 = Content.getComponent("Panel1"); const var Knob1 = Content.getComponent("Knob1"); Panel1.setMouseCallback(function(event) { if(event.clicked || event.drag) { var xpos = Math.range(event.x / this.getWidth(), 0, 1); Console.print(xpos); if (xpos <= 0.33) Knob1.setValue(0); if (xpos > 0.33 & xpos < 0.66) Knob1.setValue(1); if (xpos >= 0.66) Knob1.setValue(2); }; });
@Dan-Korneff thanks for the suggestion, I haven't yet looked into broadcasters at all as I'm still very new to all this.
-
RE: HiseScript Questions
@Casmat love your sound design videos! Everybody should go check those out. I started playing around with HISE about three weeks ago and @d-healey s videos and this forum have been really helpful. I had zero programming experience before I started with HISE and still managed to build a sampler instrument with Reverb, Delay, Saturation and started using scriptnode. I'm still far from having a plugin that I feel comfortable distributing but I'm slowly getting there. My screentime has gone up a lot in these three weeks but I'm here for it.
Latest posts made by alhug
-
RE: ScriptNode: problems when compiling network to dll
@Christoph-Hart ohh I see. you made the changes to the develop branch. Well, thank you sir, it's highly appreciated.
-
RE: ScriptNode: problems when compiling network to dll
@Christoph-Hart fantastic. For some reason I had to recompile HISE. But now everything's working perfectly. Thanks.
-
RE: ScriptNode: problems when compiling network to dll
@ulrik unfortunately, that didn't work either.
-
ScriptNode: problems when compiling network to dll
Heyhey,
I've been working on this tape machine style delay in ScriptNode. It's become kind of a messy project because I've been trying out new things. Within ScriptNode, everything works fine. When I try to compile as dll, HISE crashes. I tried removing some of the containers, to figure out which ones are causing problems. There are some combinations with which HISE compiles the dll (for example by removing the bottom EQ/ToneControl), but when I open it in the HardcodedMasterFX, it crashes again. After a crash, HISE wont let me open that project again and I have to create a brand new one.
Can someone help me understand why this is happening?
HiseSnippet 3870.3oc6cs7ibbTFumccM6CuNNI1FhDbX.4CNhjQ8iY5tGgfc8tq23Uwq83cbrCmLsmtlc6r8zcmt6YWuAAH3DGxk.RfP4BRHNfDH3e.D9u.H4.hCPfHdbgS4BRvInp9Y08z8L0zyic2XOVxZ6pptpe02q5qpupptosYaniioMSokt2wVPlRq.Zcrg69aruhlAy1axT5BfMg5JG2z1z0TfY8isTbbfpLkJM+qgKRokNGi2uOY00UzULZCiShg49lZsg2RqqlabpMW600z02RQEdOstDkt1Za21zXCScydH3LOfkwRo8AJ6AusBtXyAXJU9FpZtl1sbUbgNLkN25lpG2ZeyiL7K+80bzdjND+.GSKTE4m7Vl5pXDiSkYi80zUaF1scXXJAZFSDl2mHbYvNZpZQoGSLdduLpD+FjziRykDdym.dbjvik.dY.oRDP5b9P5E.sZaqY4FmCFOmGrsgKztiBhrSBE+xxT5IfMLQEvvsZWkCfaYidH5EtlHK6qTA8eu7WtSOi1tZlFULMtsoK7NFW6kW9ar7RK+MWtR5r5zIy7vMisotNzNyrwbZ6A8hWynW2GAsekJGpn2CFUPT2OIMEjOMkjk21uWSTPSisMzbuiEzHOAAl.RE5udis2TwUAyHBRCUNKnsqFFBk1DdHRp1msrDR6v4.WSKjbce7LjzhoZOcE2jhPX8lfLPzfD7MLywvQy8XR8pIlbEsP7E.M0baue1XbtLvHhRMMvXf13E.2nSGXa2X.dNvVu4rS0a4.UOTaha7UBdrxVuIWlJceOPr.tkMzRwFdOylHanWyQoqkNbWDFekJOR2r8AszdGX+Z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kPya3G9kRgqJNR7m4+yPmgqR
I'm using the most recent develop branch.
Thanks
-
RE: Normalizing Audio in Convolution Node?
@Christoph-Hart what a great tool and thanks for the example. if file_analyser could also do LUFS or RMS that would be amazing. Analysing a longer audio file for true peak, like a noise layer sample for example, is not that useful.
-
RE: Normalizing Audio in Convolution Node?
@Casmat have you tried using the file_analyser node?
-
RE: Default User Preset not working in compiled plugin
@Christoph-Hart Got it.
I have a label displaying the current preset name and also buttons to load next and previous presets on my UI. I wanted to have the "Default Preset" loaded on startup and the name displayed in the label. Right now I just write a string to the label since there's no preset actually loaded. When I click on my LoadNextPreset button it loads the first preset, which is the "Default Preset", so nothing actually happens from a user's perspective.
I want the "Default Preset" to be included in the preset library so that the user can always go back to the init state when using the plugin.
I was thinking of just loading that default preset on init but what happens if the user manually deletes this preset from the folder?
-
Default User Preset not working in compiled plugin
It's working within HISE, but when I compile the plugin, the defined DefaultUserPreset is not being loaded. I tried standalone and also AU/VST.
I don't use any subfolders for my presets. They're all just sitting in the UserPresets folder. Therefore I just put the name of the preset (Default Preset) in the settings. It's working within HISE so I assume this is correct, but I'm not sure why it's not working outside of HISE.
-
RE: How to rename Userpreset
@Casmat Just the info I needed to get it to work. Thanks. The preset browser list updates quite slowly. A lot slower than if I'm using the built-in rename button. Is there a way to get it to update faster?
Here's the code I'm using:
Content.makeFrontInterface(600, 600); const uph = Engine.createUserPresetHandler(); reg presetName; uph.setPostCallback(function(presetFile) { presetName = Engine.getCurrentUserPresetName(); }); inline function onbtnRenameConfirmControl(component, value) { if (value) { local file = FileSystem.getFolder(FileSystem.UserPresets).getChildFile(presetName + ".preset"); file.rename("Rename"); } }; Content.getComponent("btnRenameConfirm").setControlCallback(onbtnRenameConfirmControl);
-
RE: Modulating Oscillator
@Casmat @Matt_SF haha I'd take that Math master class too. I'm looking at them thinking "why are there so many?"