• Faust not working inside compiled scriptnode

    10
    0 Votes
    10 Posts
    1k Views
    A

    @whoopsydoodle Post an issue on Github, provide as much data as possible (snippet, compiled VST, LICEcap gifs etc.) and add a link to this thread as well.

    https://github.com/christophhart/HISE/issues

    Lest it gets lost in the flood.

  • Getting Panel Value to Change Knob

    2
    0 Votes
    2 Posts
    346 Views
    HISEnbergH

    @Natan I think you can set this up quite easily in the mouse callback:

    pnlMenu.setMouseCallback(function(e) { var value = parseInt(e.x / this.getWidth() * myColours.length); if (e.mouseUp) { Console.print(value); this.setValue(value); this.repaint(); Knob1.setValue(value); Label1.set("text",value); }

    Which means you can also remove your other inline function

    inline function onKnob1Control(component, value) { Label1.set("text",value); }; Content.getComponent("Knob1").setControlCallback(onKnob1Control); HiseSnippet 1679.3oc2X8tSabDD+NfqA6Tm1zlOzOthVEctAYrCPRknQ0fwz3FLXgIoIJJJc4t01qx5cOc2Z.WDp8QqOR8Mnc16O91yXCAqDTSOjv2MyN67alclYmca4KbHAABeCybGNziXX94VsGxk8p0CS4FM11v7NVMwARhOJhzVC8vAADWCSy4+YEAybKXD972+zVXFl6PRIYX7BA0grKsOUlRsU0mQYrcvtjCo80F8ZUa3H30DLw..OyaU1vC67NbWxdX0vlyxv7yp6RkB+1RrjDXXtvVB2gs6INgGM9WPCnGwHpOpXzFlnHx6HXtJDqnZTqGk41JwtCLLLsZk5ElOxKbOqlTW5H5odiuLjAJUBc+g4bYg27YfWEc3UVCdS.RlZPZgHHcWq1N9TOYJGEdtsUCNr3zACtccnDMVi49iaYUS.ifKK0G+NxN9vGijvdsxkWFsZ4xE2nP9B4gGv+GHQGi8QOiKNpB5InDo6Rj0D88Db3C6kB4tTwMzDXW7QD1zkHh8RJMkJiGm0jvGLUgh4mUQ8GFEhD.h85xub80T+sL5xd6Ma.1FZJOExGqlRADYKXgVdfXfjxIH6NC3NRpfa2sXg7mUHbJ5VpCD8tIiYW9zHOWzjn9eGgOxlB3p7FHJ5GQqA+7fGTLhYr7pGkYbJLL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TPJRnVL7PhekODW7g268EezdH2AVdxDiGtlcnOrUEk2UWUJXVmiA62Um7ABgT0wi9EuzF22iQ.unOzDd1QSfNBCxNC6PYw28x2ZcVqC1+WpW6v2ty96tc8CNu1t62t91nmt4gnUK0ggcL5q7IVlJACSGidkAfKTe5DpycS9zb9K6JcpLiWoyB+m6Jc9Dn7QlacJWBFaSUgL04GSXPBRHF+Jn+sN3ALYB0rYGMEbgWOAm5jM.S5S61k3qi8IZPaJkPPdJk6U8.BifCzhj+tp6BmFA6OdNx0vWT4ZeCbSb85arhfKRkRi9zsr+7++trezU50sIFBBU0l1aP+1P0VGBncNzoi5jYPG+JQC+tbR8o1Dta3G+C7Dyrh5ayXlURXdini9XGewachNilJNcwPJfcyCKTmypo5aznCmktV1Gpx8VGmrS0ED7gypfqNqBt1rJ35ypfOZVE7wypf+vUKnZSnMGHE8iRMMLZ1pd3ApMMGs4NzH5+d0MX5M
  • Chained EQ doesn't work

    3
    0 Votes
    3 Posts
    318 Views
    J

    @aaronventure thank you so much, I will try

  • Parameter on gui doesn't sync with stepped parameter in scriptnode

    8
    0 Votes
    8 Posts
    821 Views
    David HealeyD

    @jasonswann Glad you solved it :)

  • This topic is deleted!

    Unsolved
    3
    1 Votes
    3 Posts
    50 Views
  • Granulator Envelope

    4
    1 Votes
    4 Posts
    990 Views
    A

    @Oli-Ullmann did you ever got around to figure this out?
    Would be really great to have control over the release in the granulator. Thanks.

  • Snex: pointers, templates, structures & references

    Solved
    5
    0 Votes
    5 Posts
    589 Views
    griffinboyG

    @Christoph-Hart
    Apologies but I am going to have to ask a rather technical question!

    Is there any way at all for me to store a reference (&) in an array?

    I looked over the docs and ran multiple tests in the SNEX playground that you recommended, but I've had no luck.

    What I am trying to do may be beyond SNEX's capabilities.

    I am creating a virtual circuit. It is modular, you can declare any component and attach it to another.

    I have created classes for each component type, these classes contain dsp .
    These have constructors which allow me to declare new component objects easily.

    But what I need to do now, is create a script which can link these objects together, and then run an audio signal through them. Each object will pass the signal to the next object until it finally reaches the output, having been processed through each of them.

    The issue is, I need to store pointers to these objects in an array.
    This is necessary so that I can link the objects together and create a modular signal path. Each component object has multiple terminals (functions) inside, and these terminals can be linked to any other terminal inside another object, so it's quite important that I can point to them, to store the instructions of how the circuit all comes together.

    Is there any solution to this in SNEX? I have tried all the standard C++ methods to achieve this and have failed. The latest method I tried was to fill a SPAN array with references (&) which it did not accept and gave me a casting error.

    The alternative is to create a bunch of individual functions and a FAT stack of IF statements to create the modular logic. As long as SNEX is able to compile functions down cleverly, then this should run very efficiently. Does SNEX work that way?

    Thanks for your time I appreciate it! : )

  • Is it possible to compile a DSP network with a file_player?

    1
    0 Votes
    1 Posts
    229 Views
    No one has replied
  • Snex Function - return an array

    6
    0 Votes
    6 Posts
    650 Views
    griffinboyG

    @ustk

    Thanks for the recommendation I'm not really familiar with faust.
    I'll look into it.

    Does faust support complex imaginary numbers?
    That's somthing that I would need for sure.

    Edit*
    Yeah faust seems a good route for the future.
    It looks really neat for this kind of thing. But for now I will finish my model in snex, as there is a tight deadline on this project.

    If only I can figure out the snex syntax! The little differences between snex and C++ really trip me up.
    It's maddening lol.

    3cd3dd0b-b351-48a9-b866-73cf02f6182b-image.png

    Pointers not working lol

  • Error: No Property Object Type

    Unsolved
    3
    0 Votes
    3 Posts
    349 Views
    griffinboyG

    @ustk
    Thanks for looking

  • SNEX - reading external files

    4
    0 Votes
    4 Posts
    429 Views
    ustkU

    @griffinboy Well, I care about this too 😀
    This is definitely doable already, it is just a matter of taking the right path...
    I don't think SNEX is made for direct communication with the outside world anyway, so to me ExternalData is the way, until the master of the castle pops in at least... @Christoph-Hart ?

  • RNBO frequency ducking

    2
    0 Votes
    2 Posts
    420 Views
    J

    Hey, that was my first ever Max and RNBO patch. I realized it causes crazy distortion when you move the gain up on the sidechain due to producing negative numbers and feeding those back into the poltocar. I do have a fix for this and will post it later. I’m going to use a multiplier instead and determine a gain reduction factor based on a threshold.

  • What does this snex error mean? (no instruction found for type Negation)

    3
    0 Votes
    3 Posts
    430 Views
    griffinboyG

    @Christoph-Hart

    Yeah that worked! Thanks!

    Edit:
    For those who want to know the solution: avoid using the negative of a variable.

    For example, instead of using (-Variable) use (-1.0f * Variable) instead.

  • This topic is deleted!

    4
    0 Votes
    4 Posts
    26 Views
  • Is there a SUM node in scriptnode? Here is what i need it for.

    Solved
    3
    0 Votes
    3 Posts
    391 Views
    StraticahS

    @ustk intersting didnt know the setup was that easy, thank you for the example!

  • Scriptnode parameter value not changing

    5
    0 Votes
    5 Posts
    734 Views
    J

    @HISEnberg yes everything works correctly, so it’s not a big deal at all. Was just curious if there was something I was not getting.

  • How do you Print to console? in SNEX

    Solved
    3
    0 Votes
    3 Posts
    383 Views
    griffinboyG

    @Christoph-Hart
    Thanks, I'll look into the script watch table.

    I've not used it yet, I'll have a go!

    Edit:
    Yep that's ideal, thank you:

    5d882ec3-7bb7-42ef-9c00-debcbf0d9053-image.png

  • Scriptnode DSP Compile error

    3
    0 Votes
    3 Posts
    409 Views
    MorsM

    @Christoph-Hart you absolute king

  • Mid device post 2

    6
    0 Votes
    6 Posts
    675 Views
    J

    I actually want to run it inside a dsp network linked with other available nodes in HISE

  • Snex node is yellow.

    Solved
    4
    0 Votes
    4 Posts
    363 Views
    griffinboyG

    @griffinboy

    Wait... but then why is it still yellow.

    23a4b9d4-897d-4fa3-9d55-4a112f9c7933-image.png

    The debugger is not showing me any issues.
    That's a little curious. I do wonder if there is actually something wrong.

13

Online

2.3k

Users

13.7k

Topics

118.9k

Posts