• This topic is deleted!

    Unsolved
    3
    1 Votes
    3 Posts
    50 Views
  • Granulator Envelope

    4
    1 Votes
    4 Posts
    384 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
    187 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
    65 Views
    No one has replied
  • Snex Function - return an array

    6
    0 Votes
    6 Posts
    151 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
    100 Views
    griffinboyG

    @ustk
    Thanks for looking

  • SNEX - reading external files

    4
    0 Votes
    4 Posts
    159 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
    205 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
    212 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
    208 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
    277 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
    128 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
    174 Views
    MorsM

    @Christoph-Hart you absolute king

  • Mid device post 2

    6
    0 Votes
    6 Posts
    233 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
    130 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.

  • How do you get the sample rate in SNEX?

    Solved
    6
    0 Votes
    6 Posts
    198 Views
    griffinboyG

    @griffinboy

    The working answer:

    // Get sampleRate inside a snex node double sr = 0.0; void prepare(PrepareSpecs ps) { sr = ps.sampleRate; }
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    25 Views
  • How to bypass a mod container when a parameter value is zero?

    13
    0 Votes
    13 Posts
    406 Views
    HISEnbergH

    @CyberGen @d-healey Can't you use pma and add a value of 0.49?

    HiseSnippet 2058.3oc0Z8zaibaEmijo10d2jrI0YSNpC8fCvBCKksIAHGrrsr2XzHaAOtNAAAvgdFJKVMyvoyPYa0hdpWxsbN8TuzOD8TKZO2dIGJJPAR+HrWJ5wzGGNRC4nQZkzZqj3EXWOO9He+d+kORtsi3Nz3XdDxZ0SGDRQVODaOHPzcutDV.5vlHKL1m6h1cPHINl5hrrJ+L4PVqtBJ4mmu8tDORfCMiDBcFm4P+XlOSjQscieNyy6.hK8TluF2OswgN7f83d79.LJi2BERb5QtjdDQxVILxpx9tLAOxVPDzXj0J6xcGX2kecfh+yXwrK7nxOpgrgERQ9.tmqDwRpn85x7baOTciQfh0NS4KqT90wsXtrQzyLBOJYfpYyP2dXUxDdkMfWMc3skF7J.RVZPZEEjdcrsSDKTjMhDOO.eXffF0g.lccnn3EY8Wv6wAFBDa5S5QOHB9XzD1381ZqmTE9q24C6zOvQv3AU4AGwEziC13cV62r1pq8aWqZ9g5zovwjhIh64QiJbXomNZZSbif99WPidR0qHd8oiXDTeSaJdx1TcWtiRq0XjGbX.SbbHMXRABnTSE7a+hCaRDDoiHkFvWHMRvjPvpI8JHpV4VVE2jF2SvCg35w7YPzB2suGQXFBIyaRG.rAF9MoyIHlIFnmWcqEWMqP70w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+Z4O+osGWzOMun+CR9FSzM9c9+8sUMEePD8W0GZvVqGhgK+b0OSAfYq4zN7vDvT8DYagycGMy5VXS2Q7LPcuyD8z28rcWR77DDb6I6JI2.x3p8D23FZqicYcn1Rt8NdULvd2MSGbdxoKYjSOwVWprTac44aqqz2CGRI8x0IvCTExjiLOp6JK3YgtO9W5RghYlc88.bSIwj88uqqGNkOzrUivogw5U.pwgalNzsSzQo4N5nwW0XlhN9heRyuIM5Pcg4isLyep4bKacW6rddykeGkSNLHhdEM5h74LctYyzAtcBBJe2WhXUbSheHXKx6F9OKmcG9DlKX699P1UvI7NEQeKd.yos67nSjO8Mpxc3YzhzM6jKwnN0DTwFc6asGM0Oy8C+1ia8u2N+8.TtvMEJ7ZDM1fH6tLJbAxcCfEeKaENSiN7MlWZOEn71tJX4sseWZ7d7+5e7+r+aey1y1knLYMPu0XztbdOeRxUf+R+XTuoZvGf+DxUzjG0M49oeyju6vi7q9LJb1MIhpMo228K16e9Gm022Mblee2icD.DNMhDDGxio0zW4biUWerlTQ+.S1UjL3RpdG.pmFe2uwPh00I1lDXrXv2FqTK4adjUIZ+.xEdTaJnMtGm4M0BNZ22KllTBsl9DyHWWm7GQhbA+hiw6oUdZO0csE7otqbW8T2qLau21zg2OBdAUimGb0gXzlI6Ad+fqndPlYBFeCHUrCoumXHUyTqV7.9vmnJyoeBUDwt7Rp4VQEoP6HDDmdYTVuwITOp7.ciH8Sa7wr.JIJ4r9Klsn1b+ToE5udarBtUk0Cp9x32VpgYS8UvKOSuB9sNdW7WDeImgBkL+wim9svPY75USb2U+92euLdr8kgL7INQ7ySe4MYAi6mPAz6fj+GcsJtk76p0PWku2LeXqmycbLWpwlX8Echu6hNwmtnS7msnS78VzI99K5D+fW7DkcFjdHHYdBzgT68UWgikp4njTFz+G.zGFop
  • using setModValue and Snex Node Macros / Variables

    Solved
    6
    0 Votes
    6 Posts
    266 Views
    griffinboyG

    @Christoph-Hart
    Thanks! Apologies for the dumb question : )
    I am still figuring out what everything does.
    I see, P is parameter πŸ‘

19

Online

1.7k

Users

11.6k

Topics

100.5k

Posts