• This topic is deleted!

    2
    0 Votes
    2 Posts
    27 Views
    No one has replied
  • Best Practices For Automatic Gain Compensation

    4
    0 Votes
    4 Posts
    520 Views
    A

    @Noahdeetz said in Best Practices For Automatic Gain Compensation:

    What are generally considered the best practices for getting RMS in script node?

    Since scriptnode doesn't have a memory node that updates on each block, your options are SNEX or Faust. Default block size is 8, so if you want true peaks which means per-sample processing, wrap your stuff in a framex node.

  • Scriptnode Envelope - Hardcoded Use

    Unsolved
    1
    0 Votes
    1 Posts
    105 Views
    No one has replied
  • Moving DSP Networks Around

    6
    0 Votes
    6 Posts
    346 Views
    NatanN

    @d-healey Just moving some of Older Networks to new projects🙏

  • Random LFO ( Scriptnode ) Anyone got an example?

    4
    0 Votes
    4 Posts
    324 Views
    A

    @Christoph-Hart

    The readme says

    Be aware that the modulation nodes have a compile channel count of 1, so only put them into a modchain container if you reuse them in a FX network.

    Can you please explain this in more detail? Thanks.

  • S.N. Convolution sampleLength / range parameter.

    4
    0 Votes
    4 Posts
    124 Views
    d.healeyD

    @RastaChess Might be possible with snex but I don't know

  • Create Simple Saturation Effect

    Solved
    10
    1 Votes
    10 Posts
    1k Views
    CasmatC

    @DanH Lets take a look at soft sat for example, the musicdsp dsp was this:

    x < a: f(x) = x x > a: f(x) = a + (x-a)/(1+((x-a)/(1-a))^2) x > 1: f(x) = (a+1)/2

    There is also a note that is important to consider that is also posted by the author of the dsp above:

    This only works for positive values of x. a should be in the range 0..1

    We'll use that later

    Now after creating a snexshaper file and creating the amount parameter (with range 0-1 as said in note) and in the snex code editor of the shaper, you'll see that there's already a base template that is provided. This template basically takes care of most of the stuff you'd need.

    In the dsp, there's three values x, a, and f(x). Now a is commonly used as a variable for gain, and x is input while f(x) or y is the output. Next I initialized two variables gain for a and out for f(x). We don't need an input variable since there's a input parameter in the template that we can use. I created a separate method saturate(input) to separate things out to fix the problem mentioned in the dsp note. From there, you can see the code in the saturate method is exactly the same as the dsp but the dsp variables swapped out plus the return statement at the end.

    Next in the getSample(input) method that was provided in the template, I made an if statement to solve the problem in the dsp note where only a positive value worked for the input, which wouldn't result in complete waveshaping. If the input was greater than 0, then saturate using the input, otherwise make the input negative and run it through the saturate function and then reverse the output to affect negative values as well.

    Everything is set except the parameter linking. To link the parameter, I looked up on the forum for some snex shaper problems and someone had a video and I used the code they used. I don't know why it's not included in template but its the same for everything, create an if statement and if P (parameter?) is equal to 0 (index position of parameter), then link it!

    That's pretty much it, the hard sat is the same but without the needing to make sure negative values of input are factored in

  • ScriptNode Can't Compile (Part 2!)

    4
    0 Votes
    4 Posts
    275 Views
    CasmatC

    @d-healey ahh that’s it! Thanks!

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    9 Views
    No one has replied
  • Embedding audio file Error

    3
    0 Votes
    3 Posts
    266 Views
    A

    @Casmat

    Have you tried to isolate the networks and build then in individual projects? Which one is causing the issue? Are others building fine? What system are you on? Is it happening on other systems as well? Have you tried eliminating nodes to see which one is causing the issue?

    If none of that still works, consider posting a minimal project as a snippet.

  • Convolution Predelay

    3
    0 Votes
    3 Posts
    266 Views
    Christoph HartC

    I’ve noticed in scriptnode that the convolution predelay doesn’t really function.

    Just put a delay node in front of the convolution node then, this will get you much better control anyways.

    when I turn the damping knob while playing a sounds,

    No, it has to recalculate the IR and this introduces discontinuities in the audio signal. It's a take-it-or-leave-it feature.

  • How to reference a hardcoded Master FX (convolution) as an audio sample?

    3
    0 Votes
    3 Posts
    148 Views
    CyberGenC

    @d-healey Super, Thank you!

  • Delete Parameter Knob in Scriptnode?

    3
    1 Votes
    3 Posts
    145 Views
    CyberGenC

    @d-healey Right. Thank you. That makes sense. Sorry for that one mate, I must have tried everything else.

  • 0 Votes
    4 Posts
    301 Views
    Dan KorneffD

    @Christoph-Hart said in error C2666: 'snex::hmath::pow': ove rloaded functions have similar conversions:

    The yellow light also indicates that there is a compiler warning and if you click on the debug symbol

    I hadn't noticed this before. Very handy!

  • Is there a bandpass filter?

    3
    0 Votes
    3 Posts
    224 Views
    Dan KorneffD

    @DanH Thanks! I just found it in scriptnode. bpf.png

  • Oversampling a One Pole Filter Limits Frequency Range?

    8
    0 Votes
    8 Posts
    567 Views
    ustkU

    @aaronventure To my understanding,

    oversampling a filter won't remove the zero at nyquist but simply push it further to the new nyquist where nothing is audible (for instance with an OS x2, from 22050 to 44100 if original SR = 44.1kHz or 24000 to 48000 if original SR = 48Khz). What you call the "log cramp that increases" is simply a zero in the filter design, it's more a drawback due to discretisation of filters rather than something anyone wants. There no aliasing if you don't have a zero at nyquist, because filters don't produce sound. There will be aliasing only if the signal that enters the filter already has harmonics above nyquist. To my opinion, if the zero at nyquist is an issue in your design (which I assume it is for many designs) then you've chosen the wrong filter. Some filters are designed to compensate for this issue (I have no precise example in the top of my head except generally for all virtual analog filter designs)

    Oversampling is one of the solutions, but to me if the zero is an issue then the filter choice is wrong in the first place

    That been said, there shouldn't be any issue when oversampling a filter so I don't know if Hise handles it properly

  • very high CPU in scriptnode

    8
    0 Votes
    8 Posts
    345 Views
    Oli UllmannO

    @Straticah
    ah ok. Thank you very much! :-)

  • Copy container from one network to another

    5
    0 Votes
    5 Posts
    148 Views
    DanHD

    @Christoph-Hart aha! I think this should be perfect, thank you!

  • The cable_expr Node Doesn't Like Division

    1
    0 Votes
    1 Posts
    78 Views
    No one has replied
  • Merry Christmas: Polyphonic FLEX Envelope

    2
    5 Votes
    2 Posts
    440 Views
    D

    Very nice @aaronventure ! Thanks for sharing.

19

Online

1.7k

Users

11.6k

Topics

100.5k

Posts