• Distressor

    ScriptNode
    5
    1 Votes
    5 Posts
    66 Views
    clevername27C

    @griffinboy Cheers, mate - I was being more informal…I wanted to make a multi-band Distressor for some friends. It sounds like you know exactly what you're doing—impressive, and I'd love to know more about your process. Given my relationship with EL, I can provide some formal assistance, but it would need to be under the rubric of an official license (which I can certainly help with).

    How well can you model amplifiers? I work with a lot of guitarists, and it might be interesting to model their amps, so they can work on the road. If you get them right, I can provide an official endorsement from them and myself.

  • Glsl shader doesn't work when exported

    General Questions
    2
    0 Votes
    2 Posts
    5 Views
    A

    @elemen8t go to the app data folder of the plugin ad set open gl to 1 in the general settings.

    Or is that something you already did?

    You also need to call Settings.enableOpenGl and set it to true in the script, and then restart your plugin.

  • Sorry for the code dump...

    General Questions
    4
    12 Votes
    4 Posts
    49 Views
    clevername27C

    @Christoph-Hart Thanks and I love the energy, but respectfully and personally, would much rather have existing things fixed that don't work well or at all. Just my $0.02.

  • How to create True Peak (soft clipping)

    General Questions
    2
    0 Votes
    2 Posts
    29 Views
    griffinboyG

    @micione90

    I'm not sure you can do true peak using only the standard script nodes. I might be wrong. You can definitely do it with a custom node, or snex though.

    I'm pretty sure true peak requires a specific upsamplimg algorithm

  • Programmatically Assign Macro Connections?

    Scripting
    4
    0 Votes
    4 Posts
    7 Views
    iamlampreyI

    Okay for anyone else wanting to do programmatic macro assignment for GUI elements:

    // First you need to setup some stuff: const mh = Engine.createMacroHandler(); Engine.setFrontendMacros(["a", "b", "c", "d", "e", "f", "g", "h"]); reg obj; // this will be what we pass to the function as an object // To see the full JSON object: inline function getObject(component, value) { // This button fetches our existing Macro connections object obj = mh.getMacroDataObject(); Console.print(obj); // Insert a breakpoint here and inspect the ScriptWatchTable "obj" element. }; Content.getComponent("Button1").setControlCallback(getObject);

    The object looks like this:

    { "MacroIndex": 0, // zero-based macro index "Processor": "Interface", // the script processor we're working in (usually "Interface") "Attribute": "Knob1", // the name of the UI control "FullStart": 0.0, // the UI control's "min" value "FullEnd": 127.0, // the UI control's "max" value "Inverted": false, // invert the connection "Interval": 0.0, // no idea "Skew": 1.0, // skew "Start": 0.0, // the macro control's "min" "End": 127.0 // the macro control's "max" }

    Finally to assign your own custom macro stuff:

    inline function assignMacro(componentName, index, fMin, fMax, min, max) { local obj = { "MacroIndex" : index, "Processor" : "Interface", "Attribute" : componentName, "FullStart" : fMin, "FullEnd" : fMax, "Start" : min, "End" : max } mh.setMacroDataFromObject(obj); }

    NOTE: This will likely crash and brick your project if you do it INSIDE HISE. Compile it / export it to Rhapsody before trying to use the actual assignment function.

    If you do brick your project, open the Preset.xml file and delete all the data in the Macro section

    Eg:

    <controlled_parameter id="Interface" parameter="155" parameter_name="knbFilterCutoff" min="20.0" max="20000.0" low="20.0" high="20000.0" skew="0.266319563348789" step="0.01" inverted="0" readonly="0" converter="37.nT6K8CBGgC..VEFa0U1Pu4lckIGckIG.ADPXiQWZ1UF.ADf..."/>
  • Preset Browser Tag Question

    General Questions
    1
    1 Votes
    1 Posts
    9 Views
    No one has replied
  • 0 Votes
    1 Posts
    8 Views
    No one has replied
  • Keeping Track of Time for OpenGL - Engine Uptime and iTime

    Scripting
    1
    0 Votes
    1 Posts
    17 Views
    No one has replied
  • File.copy locks UI thread - how to show progress?

    Scripting
    5
    0 Votes
    5 Posts
    44 Views
    A

    @d-healey BackgroundTask is amazing, it unlocks a whole new world with e.g. python access.

  • Limiter Help Me

    General Questions
    6
    0 Votes
    6 Posts
    42 Views
    M

    @aaronventure Perfect, now it works... Now the problem is with the compressor, it clips my audio

  • 0 Votes
    5 Posts
    66 Views
    CatABCC

    @Christoph-Hart I think I succeeded, thanks

    const d = BigInt('0x' + dHex); const n = BigInt('0x' + nHex); const modulusBits = n.toString(2).length; const modulusBytes = Math.ceil(modulusBits / 8); const requiredHexLength = modulusBytes * 2; const messageBuffer = Buffer.from(machineCode); const reversedBuffer = Buffer.from(messageBuffer).reverse(); let value = BigInt('0x' + reversedBuffer.toString('hex')); let result = 0n; const modulus = n; while (value > 0n) { const remainder = value % modulus; value = value / modulus; const encryptedChunk = modExp(remainder, d, modulus); result = result * modulus + encryptedChunk; } let hexStr = result.toString(16).padStart(requiredHexLength, '0'); const finalBuffer = Buffer.from(hexStr, 'hex'); return { activationCode: finalBuffer.toString('hex') }; function modExp(base, exp, mod) { let result = 1n; base = base % mod; while (exp > 0n) { if (exp & 1n) result = (result * base) % mod; exp = exp >> 1n; base = (base * base) % mod; } return result; }
  • 1 Votes
    1 Posts
    16 Views
    No one has replied
  • Compiling DSP Networks failing on Windows

    Bug Reports
    14
    0 Votes
    14 Posts
    68 Views
    DanHD

    @ustk I had a fail, compile report complained of non existent connections, deleted the unused nodes and it worked. However it seems all over the place. I'm using RNBO, custom c++, SNEX and Faust in the same project 😆

    It's a lottery if it compiles successfully! Each time it is different 🤷

  • AAX compile error - Develop branch

    Bug Reports
    9
    0 Votes
    9 Posts
    1k Views
    ustkU

    Digging this very old issue.

    I get the exact same problem.
    Tried building from VS2022 directly (and checked the Runtime Library is set to /MT), same issue

    Setting the Runtime in the projucer as DLL allows for compiling successfully, but then I get a separate dll file.

  • Audio Spike when loading a Neural Network node.

    ScriptNode
    6
    0 Votes
    6 Posts
    116 Views
    S

    @aaronventure
    I placed the neural network node in a soft_bypass node and for the life of me, I can't seem to get a reference to the soft_bypass node. I am really struggling here....

    My network is called "theAmp" and the ID of soft_bypass node is "wrapneural1"......could you please show me how you would code the references?

  • Ventura - UI lag

    General Questions
    4
    0 Votes
    4 Posts
    66 Views
    ustkU

    @HISEnberg Not on Ventura but Sonoma for me, and it's not just the blur, I tried a layer with a desaturate and it was just like a PANIC_MODE=1 flag was activated. Even UI buttons going ON and OFF like crazy once the plugin was loaded in DAW and similar issues in Hise itself... Go figure...

  • Modulate Gain with a control.sliderbank

    ScriptNode
    1
    0 Votes
    1 Posts
    11 Views
    No one has replied
  • Regarding - Auto detecting loop Points.

    General Questions
    9
    0 Votes
    9 Posts
    25 Views
    WaterSpoonW

    @d-healey And that is why you are the G.O.A.T. Thank you truly!!!

  • 0 Votes
    14 Posts
    42 Views
    d.healeyD

    @Lindon said in Callbacks and Broadcasters Executing on Init; Global Variable Space as a File:

    on the generic problem?

    I don't see a generic problem as such, I see a structural issue with your project - but it could be that that is the only way to structure your project and then there would be a generic problem. It's difficult to say without real examples to work with.

  • Zak Sounds Particles animation

    General Questions
    11
    0 Votes
    11 Posts
    118 Views
    bendursoB

    @aaronventure Mm, yes I think for all shaders you have to call repaint in the timer callback.