@HISEnberg The fact is that I have the same questioning... I need better rendering and overall performances. I disregarded shaders, and honestly I don't really understand what settings I should use for which system.
Posts made by ustk
-
RE: Open GL on Mac - deprecated?
-
RE: Close Welcome Screen with ESC
@aaronventure +1
and load last with enter -
RE: Record audio of unknown length
@tomekslesicki The way I do it is from the
processBlock
callback of a scriptFX (note that you must not create a scriptnode graph, otherwise it overwrites the callback, so you need a script just for that purpose)HiseSnippet 1921.3oc6X80aaibDmz1LIR2eZyg6g93hfVT4jTcRI9bRf6cQ9uWM5YGAKWiCvv0XE4RoElZW1kKsstCF3dnOzuE8s94neU52f7MnclcIMIsTbr04KEEn1NAbmcFt+lYm42rK6pj9rjDoxws99iiYNterWuwB8v0GR4Bms2vw8S81glnYJhUzZiioIIr.GW24+FTfasEbL+71WuFMhJ7YEhbbNPx8YeKeDWWHsam+HOJZKZ.ae9nRZuTms8kh0kQxT.Oy60xIl5eBc.aWJp1bdN+AZxPG2G605KWlwdwyCCBnO+4AKu7xu5kuZoW0lF1ZIZ+1K+pkd1Ru3Yu7EgNt2ay.tVp5ooZVhi6BqICF2an7LgcANfmv6GwvAsc5AqrU7Vxn.zEQoNqOjGEzMOPk33350sHrMuMr84d6vC3WJuH78KMSPJrnb.zctpva9JvqcY30pD7lBjbKAoErP5gd87U7XcwLHd9HusEvtYHE1mJCEqtNy8aVvacIngP2bD8D1VJXvkVzX4VsdJA9uEWodcXuJQSNkpH6w7kp.xWQxsb.SutbTrT.CZ7H6zOBsYPjrOMhL3XUtIgznD1JESP88SGkFQgnBL6gGAFoXCHxTcbpdszvPlBDUuNWDwELRXpvWykBhTXWFDBJYTC+70+o.DiRYKV+GpWqz5ZDtR8Z0qwCIMxToFnSMS9eSZPvtRM6MhFsAOdI6+P+9pJDFlqQ6VsLQlZWTuFC7J6qCWQHPoR80PvbzpE9WCqtW.9y0G3ZlfhM905znn9PUQiq3uKZBJSDUttEGCHkCqPPw9PSeECxGaTYynYDSLPOj7XxlhAvZfP0pdO92yZr3hlXYHr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jYNGXOA.3Y36zF7rvEU8S7BAO63XHMDV0JNvmANfh0r77SB4p1eaPMNEj0eddAZoBmxiflDaimJN+EtIjRG.s2LlkkirCWj4kVc1gddkwNcoJ.svYmw28BWNB1BKLsnsag4WJqSOMKFqJKebhdmvNyFwJK094Bv5Z7JJ6fg5IVgMXgzzH8Dxct8PCfwsBZ2CN0jdBH81WOcH81W+dfzRcl.Rc96SIZAU0uSH8K71SJgqlw9KoPM13qfse7G5LUrAxctC1I67u99+50Dt9HODW6gTIyRLCyyWSJOYD0va8StezCrSdeuck7DlgQ4yrOS9Fl.uanT09t3ySEei+7TtyeiOj5s3qKsvOWecoOnm4+m9UTta9XX0xwXONx4to3TVDj2kk+jkFmKsZ9yNRgLusYQJydLniO9QCpTuLMGZUsFnAKj74c1iAWsOoHm5W+O57sPWRpxvUNawh125OL3T2u9UdV3Rvjdx++pk+W4pk2MP4CwQS+PrFin9J4w91Szi4xOvHA7ag4.X071AGSZO4m5YDvJdrue0W0DF9rY0vmOqFtzrZ3WNqFt7rZ3KlUCe462Pro0poZ4HaIKbZktaZOUq6lBJjwapNb9OKp.ZQ.
I am not proud to iterate over each sample to reconstruct the final buffer, but I haven't found a way to
referTo
when target buffer is bigger than reference...
Usually I do the opposite (I know the length of my recording in advance)
So if someone has an idea how to copy a smaller buffer anywhere in a bigger one!Now, there might also be a solution through scriptnode, but I have no idea and the "full script way" of the example isn't hard so...
EDIT: We need a
Buffer.copyFrom
method -
RE: Defaults / Presets?
@clevername27 it happens with sliders too, and without LAF as well
-
RE: Defaults / Presets?
@clevername27 said in Defaults / Presets?:
Default Values
If I set a vdefault alue, and then reload my project, the default value shows correctly in the property editorโbut the control isn't set to that value. (For example, if I set the Default to '1', then when I reload the project, the button does not appear to be on.)
If the control is
saveInPreset
then it's normal behaviour since the last value is kept and recalled.
But if it's not then you have found an issue, because to my opinion a control should be reset to default value at compile time.Also, the HISE menu item "Reset UI Controls to Default Values" has the same issue.
It works if the control is
savedInPreset
, but not the opposite so yes, bug confirmed for non-saved in preset items -
RE: Melatonin Blur?
@aaronventure Oh wait, this SC is from an external screen. Effectively the rendering of the gradient is fine on the mac's retina
The blur doesn't improve though -
RE: Masks aren't following zoom factor
@aaronventure Yeah you're right, and this has been reported years ago already.
I'm adding this thread to your report -
RE: Benchmark paint routines? C++ nodes?
@d-healey Oh yes I tried it once but didn't dig far enough. I'll try that
-
Benchmark paint routines? C++ nodes?
Would there be a way to benchmark paintRoutine/LAF within Hise or in XCode?
AFAIK the console benchmark is reporting the timing for the painting call, not the duration of the procedure itself (which is part CPU and part GPU, right?)
I'd also like to benchmark my C++ nodes. I have seen something about the
chrono
library, but is there a tool or a procedure already in XCode? -
RE: Help with iteration
@VirtualVirgin You might want to check this out
https://forum.hise.audio/topic/7049/my-tooth-hurts?_=1731938031853
But I don't guarantee the snippet will load because it's quite old...
-
RE: Rounding the sharpness of the display buffer graph
@orange Yes I did, but I don't see where this path has been modified, the width is still the one from the panel with no reduction
p1 = gr_peakreduct.createPath([a[0], a[1], a[2], a[3]], [0,1,0,-1], 1.0);
[a[0], a[1], a[2], a[3]]
this is equivalent to just writea
-
RE: Bit confused: How to load a json file?
@d-healey But in this case that would mean delivering the file in question along with the binary, right? I am not sure it is "appropriate" for a neural model.
@griffinboy Why not simply paste it in an included script file that only serves this purpose? After all, having an include line or a variable you load a json into, there are not much differences in terms of code weight
-
RE: Rounding the sharpness of the display buffer graph
@orange Oh yes
The function does not return a new path but modifies the existing one. so just drop the
p1r
And to reduce the number of points:
p1 = gr_peakreduct.createPath([a[0], a[1], a[2]*0.2, a[3]], [0,1,0,-1], true); // a[2]*20%
But although it works, it looks weird when I am testing it.
In my projects I tend to get the raw buffer and create the path from scratch myself instead of callingDisplayBuffer.createPath()
But since I use it essentially for spectrum curves, it might be an issue with the kind of signal you're using :man_shrugging:
-
RE: Rounding the sharpness of the display buffer graph
@orange Oh wait... Can you please make a search in the Hise folder for this function
roundCorners
?I might just have it locally and didn't make a pull-request...
-
RE: Any Idea Why This Clicks Sometimes?
@clevername27 Nothing is apparent enough to my limited mind, especially in Shakespeare glyphs