Happy to report this has been merged in to develop
branch!
Best posts made by dannytaurus
-
RE: Any interest in a SemiTones control for Waveform Generator?
-
Any interest in a SemiTones control for Waveform Generator?
It would be cool to have a SemiTones control in the Waveform Generator, like the Sine Wave Generator already has. It would allow for easy interval creation and control.
I checked the source code and it seems doable - unless I'm missing something, which I almost certainly am.
@Christoph-Hart would you accept a pull request for this if I could get it working?
Something like this:
-
RE: How are external script files saved?
@Christoph-Hart said in How are external script files saved?:
@dannytaurus wait so youโre saying that recompile all scripts do not save the external files? Because that would be an easy fix and you wouldnโt have to retrain your muscle memory.
From my testing here on
db780f4f
it does not.Video here: https://wmd.d.pr/v/2bfsSz
I edit the external script, then Recompile All Scripts from the Tools menu. The UI flashes and the external script panel flashes, like it's compiling/saving. Then I save HIP with CMD+S and save XML with SHIFT+CMD+S.
Then when I quit and relaunch then reload the XML, the edits to the external file are gone.
If it is indeed a bug and you want me to open a GitHub issue let me know.
-
How are external script files saved?
I moved a bunch of code out of my
onInit
script today to external scripts likeFonts.js
,Laf.js
,PresetBrowser.js
, etc. and including them withinclude("Fonts.js");
inonInit
.After more work I realized that no updates to those external scripts were being saved. I was editing the scripts in the HISE code editor by selecting them from the dropdown at the top of the editor.
When I quit and relaunch HISE the external scripts are back in the state in which I created them - whether I load either the .hip or .xml.
In case it matters - I created the external scripts by selecting the code and using the 'Move selection to external file' context menu item.
While I work I regularly save by CMD+S (confirm twice) then SHIFT+CMD+S (confirm twice) - I still don't really understand the difference but I thought that would cover all bases.
Is this a bug or is there some other save I have to perform when editing external scripts?
-
RE: CSS Discussion
@Fortune Put both sets of box-shadow values on the same line with a space after the comma.
Works for me when I do that.
Looks like there might be something funky with the copy/paste code from neumorphism.io
-
Automation parameter grouping
Is it possible to group automation parameters together so they appear as a hierarchy in the DAW?
At the moment all automation params appear as a single list. My synth might have dozens of params, which will make the list a bit of a pain to use.
I naively tried putting the controls inside a panel and giving the panel a pluginParameterName (since a panel does have that parameter) but it didn't work.
Example: instead of the amp attack and amp release controls appearing as
Amp Attack Amp Release
I was hoping they would appear as
Amp > Attack Release
where Amp is the panel pluginParameterName and Attack and Release are the respective control pluginParameterNames.
@Christoph-Hart Could that be a way to implement it?
I realize that might technically mean duplicated automation param names but if they're prefixed by the panel name that would make them unique.
Bonus question (on the topic of automation) - what is the automationID parameter for?
-
RE: validate 3rd party licence key in HISE plugin?
@Straticah Unless you're already comfortable with the AWS ecosystem it might be overkill for something this simple.
You could check out Trigger.dev or other lightweight serverless function apps.
Or you could roll your own license validation using an automation platform like Make (https://make.com) very easily.
All you really need is a way to make a POST request with the license key, which will return an "active/inactive" response. You should also compare the email associated with the license with the email supplied by the user.
EDIT: looks like you might even be able to do all this within HISE using the
Server.callWithPOST()
function.
https://docs.hise.dev/scripting/scripting-api/server/index.html#callwithpost -
RE: Any interest in a SemiTones control for Waveform Generator?
@Christoph-Hart I created a pull request for this
Works great for me but you'll know if there are any performance implications or bugs in my code.
Latest posts made by dannytaurus
-
RE: How are external script files saved?
@Christoph-Hart said in How are external script files saved?:
@dannytaurus wait so youโre saying that recompile all scripts do not save the external files? Because that would be an easy fix and you wouldnโt have to retrain your muscle memory.
From my testing here on
db780f4f
it does not.Video here: https://wmd.d.pr/v/2bfsSz
I edit the external script, then Recompile All Scripts from the Tools menu. The UI flashes and the external script panel flashes, like it's compiling/saving. Then I save HIP with CMD+S and save XML with SHIFT+CMD+S.
Then when I quit and relaunch then reload the XML, the edits to the external file are gone.
If it is indeed a bug and you want me to open a GitHub issue let me know.
-
RE: LFO Plotter graph not showing in DAW
@Mighty23 That did the trick - thanks!
-
RE: How are external script files saved?
@Christoph-Hart @clevername27 At last I found the root of my problem.
I do have 'Save connected scripts' enabled and I am saving with CMD+S and SHIFT+CMD+S. I also thought I was compiling the scripts every time before saving, however...
I was using the 'Tools > Recompile all scripts' menu item, which apparently doesn't do what I thought it did.
Up until I started working with external scripts it worked fine but maybe that command doesn't compile external scripts?
So, now the mystery of why my scripts weren't saving is solved - and I just need to get used to pressing F5 to compile instead of my Recompile All Scripts shortcut
-
RE: How are external script files saved?
@clevername27 Crikey, no wonder I'm having trouble getting my head around it all!
-
RE: Standard way to make icon buttons?
@clevername27 Ah, nice tip - thanks.
I mean more like what component do I use? Just a button styled with LAF?
Or is there some other trick of using a panel or a label, for instance?
-
LFO Plotter graph not showing in DAW
I'm using a Plotter assigned to an LFO modulator. It works and looks fine in HISE but the LFO graph doesn't show in the DAW.
I know the component is there because I can right click on it and choose Freeze and the time settings.
Is there something extra I need to do to make it show in the DAW?
I read this in the docs:
Be aware, that unlike the analyser floating tile, the plotter will only read the modulation values if the interface is visible (because there are many modulators in a project and this keeps the overhead low).
Not sure what it means but my Plotter is in the UI and visible, as are several of the LFO controls.
This is a fairly simple synth with one 2-voice Sine Wave Generator, Filter, LFO and a couple of FX.
In HISE:
In Logic & Reaper:
-
How are external script files saved?
I moved a bunch of code out of my
onInit
script today to external scripts likeFonts.js
,Laf.js
,PresetBrowser.js
, etc. and including them withinclude("Fonts.js");
inonInit
.After more work I realized that no updates to those external scripts were being saved. I was editing the scripts in the HISE code editor by selecting them from the dropdown at the top of the editor.
When I quit and relaunch HISE the external scripts are back in the state in which I created them - whether I load either the .hip or .xml.
In case it matters - I created the external scripts by selecting the code and using the 'Move selection to external file' context menu item.
While I work I regularly save by CMD+S (confirm twice) then SHIFT+CMD+S (confirm twice) - I still don't really understand the difference but I thought that would cover all bases.
Is this a bug or is there some other save I have to perform when editing external scripts?
-
Standard way to make icon buttons?
What's the standard way to make icon buttons for things like open/close preset browser, save preset, show/hide settings menu, etc.
Is it to use LAF on a regular button and draw a converted SVG path inside it?
-
RE: In LAF function, how to know when control is active?
@d-healey Aha! Found it - seconds after posting of course
I want to change text both when hovering and when updating (being dragged).
I thought there was only a
hover
param but there'sclicked
too which does exactly what I need.Thanks!
-
In LAF function, how to know when control is active?
First of all I need to say how helpful this forum has been. I've been working on my UI all day and every single question has been answered by either the docs or a forum search.
But this one eludes me...
I'm using local LAF for my sliders and I'd like to show the slider text when it's inactive and show the value when it's active (being updated).
Is there a way to know when control is active inside the laf.registerFunction ?
I want hide/show the text and value based on this.
Like the CSS example here: https://forum.hise.audio/post/87540 which is done with a simple 'active' state.