• the limiter in scriptfx can't brickwall

    3
    0 Votes
    3 Posts
    65 Views
    Dan KorneffD

    There are some helpful notes in the source code:

    /* REGARDING THE MAX PEAK: This method assumes that the only important * sample in a look-ahead buffer would be the highest peak. As such, * instead of storing all samples in a look-ahead buffer, it only stores * the max peak, and compares all incoming samples to that one. * The max peak has a hold time equal to what the look-ahead buffer * would have been, which is tracked by a timer (counter). When this * timer expires, the sample would have exited from the buffer. Therefore, * a new sample must be assigned to the max peak. We assume that the next * highest sample in our theoretical buffer is the current input sample. * In reality, we know this is probably NOT the case, and that there has * been another sample, slightly lower than the one before it, that has * passed the input. If we do not account for this possibility, our gain * reduction could be insufficient, resulting in an "over" at the output. * To remedy this, we simply apply a suitably long release stage in the * envelope follower. */ /* REGARDING THE ATTACK: This limiter achieves "look-ahead" detection * by allowing the envelope follower to attack the max peak, which is * held for the duration of the attack phase -- unless a new, higher * peak is detected. The output signal is buffered so that the gain * reduction is applied in advance of the "offending" sample. */ /* NOTE: a DC offset is not necessary for the envelope follower, * as neither the max peak nor envelope should fall below the * threshold (which is assumed to be around 1.0 linear). */ /* REGARDING THE GAIN REDUCTION: Due to the logarithmic nature * of the attack phase, the sidechain will never achieve "full" * attack. (Actually, it is only guaranteed to achieve 99% of * the input value over the given time constant.) As such, the * limiter cannot achieve "brick-wall" limiting. There are 2 * workarounds: * * 1) Set the threshold slightly lower than the desired threshold. * i.e. 0.0dB -> -0.1dB or even -0.5dB * * 2) Clip the output at the threshold, as such: * * if ( in1 > thresh_ ) in1 = thresh_; * else if ( in1 < -thresh_ ) in1 = -thresh_; * * if ( in2 > thresh_ ) in2 = thresh_; * else if ( in2 < -thresh_ ) in2 = -thresh_; * * (... or replace with your favorite branchless clipper ...) */ }
  • Convolution Node - Loading sample maps?

    3
    0 Votes
    3 Posts
    118 Views
    BrianB

    @Christoph-Hart I had a feeling but I did have to ask πŸ˜†

  • Scriptnode FX Plugin does not load outside of HISE

    10
    0 Votes
    10 Posts
    204 Views
    T

    @HISEnberg Thank you for the help, it's working using the HardcodedMasterFX

  • Polyphonic Custom Filters (scriptnode) how?

    Unsolved
    27
    0 Votes
    27 Posts
    474 Views
    griffinboyG

    @Christoph-Hart

    I think there might be a glitch here somewhere. Another one of my projects has suddenly stopped working with my polyphonic filters. I'll do some investigations

  • xSIMD and hise? Is it integrated already

    3
    0 Votes
    3 Posts
    60 Views
    griffinboyG

    @ustk

    Oh no way, thanks.

    It's funny I had plans to integrate it myself and was very surprised to find it had been sneakily introduced.

  • DSP Compilation Failing

    3
    0 Votes
    3 Posts
    76 Views
    MorsM

    @HISEnberg Ah, there was a random parameter control with no name on it, that fixed it, cheers!

  • Reference Multiple Convolution Nodes in ScriptNode

    Solved
    11
    0 Votes
    11 Posts
    238 Views
    bendursoB

    I’ve encountered another related issue. I want to use setSampleRange for each convolution.

    However, it doesn’t work when referencing the audioslot, for example:

    const var first = ConvolutionReverb.getAudioFile(0);

    Has anyone managed to do this successfully?

  • ScriptNode Feedback After a Month of Heavy Use

    36
    6 Votes
    36 Posts
    1k Views
    A

    @Christoph-Hart Would it please be possible to make it so that the compare node (and logic_op) can be plugged into soft_bypass node's switch?

  • 0 Votes
    3 Posts
    74 Views
    A

    @Christoph-Hart It is very useful to be able to do this when crossfading different chains for example - if you move the crossfade dry wet knob all the way to 0 (or 1) you want the other network to be bypassed.

    So... how about them logic operators? πŸ˜„

  • Is the normalizer node working as intended?

    2
    0 Votes
    2 Posts
    75 Views
    modularsamplesM

    @aaronventure

    I've wondered the same. Here's the relevant code (I think) :

    https://github.com/christophhart/HISE/blob/085d1a38b916fe7b8601a7a55e79991446dccc8b/hi_dsp_library/dsp_nodes/CableNodes.h#L1077C2-L1098C4

    I'm guessing the important bit is:

    void setValue(double input) { if (this->getParameter().isConnected()) this->getParameter().call(input); }

    Compared to similar nodes, this looks a bit light. Where's the conversion? or is this what double input is for?

  • TempoSync parameter in DSPNetwork compiles to delay(ms)

    3
    0 Votes
    3 Posts
    53 Views
    MorphoiceM

    @ulrik oops, thank you. didn't see that there

  • changes in faust code messes up knobs...

    1
    0 Votes
    1 Posts
    49 Views
    No one has replied
  • Any Idea Why This Clicks Sometimes?

    Unsolved
    6
    0 Votes
    6 Posts
    131 Views
    ustkU

    @clevername27 Nothing is apparent enough to my limited mind, especially in Shakespeare glyphs πŸ˜€

  • SNEX Shaper Sliders *SOLVED*

    10
    0 Votes
    10 Posts
    188 Views
    B

    @Lindon

    yep, i GUESS thats the problem. Kind of unstable, it seems, as sometimes it crashes hise. Anyways, SNEX is AWESOME!

    Thank you !

  • Change Phase of Modulation Signal in Script FX

    13
    0 Votes
    13 Posts
    482 Views
    ShelestS

    @Matt_SF As far as I understand, you meant something like this...

    HiseSnippet 1298.3oc2X8raaTDFeV6rI3zlpVTEhi6ANjJEhrgRAINDm3DWrnNwJqan2hlr633Qd2YVlc1jXPbhK8Un230fa7BfDR7hz2.36a10d2swM3XBoh5HE4u+Ly766uy23dJoGKNVpHV05ONhQrtqs6XgdXqgTtfzYWh08r6Ri0LkSJqcFGQiiY9DKqpOEYXUaIh4yq2ZGZ.U3wxYQHGI4drmwC45bt8Z9s7ff1TeVedXAsebyNdRQKYfLAvSU65jHp2H5or8onZUrIVKumOWKUtZplEC5rizer6P44hT8OhGyOIfgDMHtvFkxlzZHOvu2DaMlPrr6ka4USs7GZ2k6ymxO2Cbei.m7UTzGXU4pfTiqAjrJ.okRgzCrc8T7HctDDO2wti.BHCnfqtHTR0kX8a1sjfBB8lgzQr1JfX5BV+I0qugC7uG80CRDdZtT3HE6K0rCDq+nU+wUqs5OspyaJZvfYJCOFkLHfoloXL5ptpEttHI7DlZCmynAIroJBleYe5xymO0K0pKnnTzQv0GDwxnaKC7QeE98KGAHYtM3aOuytTMECJY7.8hXJMGgi0tryfr5zPTM6cYwizxHHu9RwOHyQ5mDP0kSmv5lLAf+nTLDCThXtdbw5pqQNV8qLGadg3Cr6w0dCmMFqLCLBdp+KvXVk4Z16MX.ySmCvkra+hEsLr90tLb0rxP3LwC+tYjNseQiYV.9R67j8HEKhpX8k8BniWOlFFEvNDv3FNmDH8F4x+A1kqPhRgvNnFq6MjJDrf3EoPZ4anlSjCkIZt3ztTsheAz9b+jPWnMsGqUF5.dVUvZnT55HMlW3xD9Fh+B9jIrARakIrwDgEJ+1moOWpFYBGYemXsB56WCJ2.G4wQCowLx1AAxyaICi3YooPPvvqmLXbzPof6grR0XBT2NTl.mRFd+FZbeJO.yqcShgNE9GHbAkM2iYU8HlJ1rwqXWeS3OHOeeoOHZ41TOvyNtGUODKXvlOP1ISso2zrzxfsXlBtGStnK0OAXLDMd7ZNLB0ipfa8ft1XCmJVUKz.JMGEofJvJoYjchOBk5QCHGg4.3hH3oj5CMP1FUcE6T78O.+4Gr2jPKLIPye6PKU7hBsomYkBm4Z1lfyw9Xfp7Iee6AWrYQoWiCtRoCtPrDcPSnfjntbQlOIeHntzKJy6k+YSWMKBaUjw6Wd0q90sbGwNOEvYba9yg+9VoCHzVw99DHGdL4RaEof0euhVeiacyek2v7suEL+sSzxPnan4lrRP6sSTNlklpZprI27Fvk1NyHHBloieb1DIYjYoxc7uTjbJdQYE8GjcjxQgTSu0+0S4buTg2w1EJOMOavz16iLzNeG8LlySYPgKNbQiq3kC+w79xgn49kCG3ogiuuhJhijwk1XWVHuuTf1XNymGyPmzg30HE42RRUyTzq2pMXjybMtTchxbezjqZJLlT0x2Huz7cib4IFKn+LFfYo2AOs4lYry2gSFWZruZSvnKGGWaOwYr.nvvfwODpDFPgKhlvsbhcWoPNYvi7n9gLXroSOkoJh8YZPaq0vady47vlGxBXzhYveRymAYdTUWSe7ExWb8eI5LiWercJbcvpQm++9hlpuW+hlakY2uMNiPpmRdrW5Sdv7zOvvArag4GHplcWj1oA4rzKQswY1IgPGti87PW7mBMLm8Z9rEXMe9BrlGu.q4KVf07jEXMe4Brlu5JWCd4R1.WXIGvn2dlQNrr1SPgrWSlN4uwNSJhH
  • Why are oversample nodes disabled in Poly chains?

    1
    0 Votes
    1 Posts
    35 Views
    No one has replied
  • jCompressor just distorts?

    3
    0 Votes
    3 Posts
    135 Views
    DanHD

    @orange figured out it was the sound source. Apparently a Rhodes piano sounds terrible through a compressor πŸ˜†

    Extremely long release might make it possible

  • How to sidechain my FXs with the dry signal source ?

    3
    0 Votes
    3 Posts
    153 Views
    B

    @HISEnberg thank you for this info ! I will check this ASAP :)
    Have a good day

  • 0 Votes
    7 Posts
    182 Views
    Matt_SFM

    @Lindon said in ScriptNode based filters - and envelopes.....and polyphony whilst we are here...:

    @Matt_SF thanks for this - its a solid start in the right direction, of course theres no way to set the frequency and no way to set the depth of the envelope.

    Oh, my apologies. I made the network between two chores πŸ˜… , I was sure you got your grasp on this part.

    To display the envelope you'll have to paint a panel (see Scriptnode Visualization 101 in the snippet browser)

    HiseSnippet 3788.3oc6as0baabEFTRKkEsbSxDml9HFMclRUqx..dud5DZcyVMRhLhxWZ83nABXIIFABf..JIlTOsSmoyj25ys+O5C8o5Yxef9XeL+D5+.2ytKtrfDzhhVVNI0HyDSr2Ne64b1yMrpkqsF1yy1UHStCG5fExrLp8PK+dazS0vRXmMEx7dnMF34a2eaCSerqmv5CcT87v5BYxL+8ICJyRKHPe9ue55plpVZ33lDDdjsgFdWi9F9ws1pwmYXZtspN9Pi9bitTiczrs1v1zd..n4QRBNpZmn1EuuJYXygDdfpWOgL+RjZwh5cpToVccsRkkq2Qspt1wEqWFqqTpHtNVWuZQ8i6zQHS1szM7sca6q5i8Dxrv515Ca2y9LKFAdjgmwwlXxKxBsAJyZdaaScxVjzpvF8LL0aExo7DDxfZEy2lmw2tMZOCcin1i4euOsCw3Yvy.yLWR3MeB3IyCOIN3kBjxvAoEXP5CPs0bMb7i6gfmah1wBDjcTA4DOTXiUXt+ABsgMLBK+B8UOAusK7RzLxWQRZMQ3+s5cykCjUd9hmp5Jp6H9aDo5ME5h82zvywTc35C5zA61Fjkv7Vgs7ha+D4Uf4FOU2igop6L17xOBIV+gau8VGbztas+8O7AvTjkTJkX.Nt1NXWeCrGz6WmSTbE1BsK1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2iIZK.u0J39HuG4cwT9CrlbmfORSK4RM1DUl0IVbVmXoYchkm0IVYVmX0Ych0t3IR79DTjPx4OvKbqsXWWgLgUcBNJJ7+.DF6.fC
  • Switch two chain nodes from parallel to series?

    11
    0 Votes
    11 Posts
    254 Views
    MorphoiceM

    @Matt_SF thank you I'll have a look at this asap

26

Online

2.0k

Users

10.9k

Topics

95.3k

Posts