snex_shaper - argument amount mismatch...
-
@Christoph-Hart This happens as soon as you insert a snex_shaper in a project
-
I think that's a side-effect of the MIR backend rewrite - I haven't enabled the MIR backend in the current state, but I had to change the function calling convention so the old JIT backend doesn't compile anymore.
Three options:
- Enable the MIR backend: Change
SNEX_MIR_BACKEND
to 1 inhi_snex.h
, but there might be a few issues (the compiler test suite succeeds at ~95% of the tests but it's not completely finished). - Use another module (
snex_node
) - Don't use SNEX but a C++ node (I'm considering ditching the SNEX compiler altogether since we have so many other options for DSP development now (Faust / C++).
- Enable the MIR backend: Change
-
This post is deleted! -
@Christoph-Hart So I guess this acts as a negative answer for my other thread about having a snex_filter node with a curve display...
SNEX is not here for long and ditched already, that's a shame because it is quite easy to use.
-
How to get the curve appearing on the interface?Using the magnitude function of the algorithm... -
Is a C++ node as easy as using SNEX?It seems to, when I'll be able to get no crash... -
Is there any templates for a C++ node?Thanks @d-healey !
-
-
Is there any templates for a C++ node?
-
@d-healey Alright so it seems to be as easy as in SNEX
-
@ustk yeah it‘s basically the same API but you can use the full power of C++ and the native IDEs.
-
@Christoph-Hart It seems that I don't get the whole picture...
Is it possible to test the node in real time like a snex node? Or should it be compiled first?
Because then it would make it, much, much more cumbersome when you just want to go through tiny changes, trials, and tests... I thought it would appear instantly in the node browser. Or did I do it wrong? -
@ustk you need to recompile the dll project but in debug mode that should take only a few seconds (at least on my machine).
But you get a proper breakpoint debugger with step through and so on.
I find myself using the SNEX nodes just for trivial stuff and resort to the C++ node template for more complex stuff.
-
@Christoph-Hart Yeah that's what I was thinking about using snex for simple real time stuff. So that might worth keeping it around in the end :)
-
@ustk Yeah, I'm not throwing away 2 years of work out of spite, I just hate the sunken cost fallacy here...