HISE Logo Forum
    • Categories
    • Register
    • Login

    Polyphonic Custom Filters (scriptnode) how?

    Scheduled Pinned Locked Moved Unsolved ScriptNode
    27 Posts 4 Posters 940 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • griffinboyG
      griffinboy @ustk
      last edited by

      @ustk

      I don't believe so, or at least not for my node. It was not producing any audible effect, wheras inside a regular scriptfx (non poly) it was working.

      I have just realised that I may have solved this before, I wrote a pretty bad sampler a few months ago using ai, and had unwittingly used polydata, which I stole the usage of from the regular sampler inside of hise. I'm going to investigate that now.

      ustkU 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @ustk
        last edited by

        Code looks OKish on the first glance, but you need to call updateCoefficients in your prepare callback too though so that it can initialize the coefficients when the sample rate is set (otherwise it might be zero because the parameters might or might not be set before or after the call).

        griffinboyG ustkU 2 Replies Last reply Reply Quote 0
        • griffinboyG
          griffinboy @Christoph Hart
          last edited by

          @Christoph-Hart

          I'll try with a more simple effect.

          1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @griffinboy
            last edited by

            @griffinboy Well in my video above it works, and it is just your pasted code, node inserted in a poly FX

            @Christoph-Hart noticed that the coeff weren't updated as they should but I got lucky having the filter working straight ahead

            Can't help pressing F5 in the forum...

            griffinboyG 1 Reply Last reply Reply Quote 0
            • griffinboyG
              griffinboy @ustk
              last edited by

              @ustk

              Okay maybe I should update my version of hise.
              I'm very surprised that everything seems to be in order lol.

              For me it still only works when used in monophonic.

              ustkU 1 Reply Last reply Reply Quote 0
              • ustkU
                ustk @Christoph Hart
                last edited by

                @Christoph-Hart Jus noticed that when two+ notes are held, changing the resonance makes the freq to be updated to last note value for all notes. What could be done to prevent this?

                Can't help pressing F5 in the forum...

                1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @griffinboy
                  last edited by

                  @griffinboy Strange indeed...

                  Can't help pressing F5 in the forum...

                  griffinboyG Christoph HartC 2 Replies Last reply Reply Quote 0
                  • griffinboyG
                    griffinboy @ustk
                    last edited by

                    @ustk

                    The fact that it works without dependencies means that the ai has removed some of my optimisations, I'll release a proper version of this filter when it's done lol.

                    I'm amused that it's (somewhat) working for you 😆

                    ustkU 1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart @ustk
                      last edited by

                      Yup it works here too, but you definitely need to put the function call into prepare().

                      us noticed that when two+ notes are held, changing the resonance makes the freq to be updated to last note value for all notes.

                      That's intended - any UI interaction will be applied to all voices. If you want to use different values, you have to modulate it, then it will be applied for each voice:

                      HiseSnippet 1763.3oc2Y0zSiaDFdbfIrjkVs6psRcukC8.aEBk.rvh1CD9JaQcCDQnnsmPC1SHSi8Lt1N.YqpTkZOr2548V+azSs+ApTk5uf9Of+AsuiGarcrARLeraaPBxLuy63G+9wy7XSSGgN00U3fzJsWeaJRaJbq9buNq2gv3ns1.o8w3FDWOpSY0Tq02l35RMPZZi8R4DZSNNx+yYqrFwjv0oQSgP6KX5zWwrXdQy1r1WxLMqSLn6wrhs5EpsktfutvTzCvyX3JHahdWxQzsIxkU.i9BhaGj1miq7rEozklusgAY94MVbwEW94KuvxUIsqr.4vpKt7BysvRy87kZizJtoAyS3zxi3QcgMcMgQ+VcDmvUWf8YtrCMoxAUQsfqrZZz5cXlFMCCNtHjFtYTnZLUn5w3FLC14yGExdfugxQdDOnoU3xfT0Q.RZwfz3JH8PbKcGlsWjEIdtOdKNjAaSfbSbnnVKR62wqKfEv8l0hzkV2AFbtCSuXkJyTF90SeQ6dbcOlfWVv2V3Q2gO8SK8cklrz2Wp7flZ2NSaxKiivzj5joYY4fyk43z7dVGRclo7wDydzyWHb6mLlVb3ho5p65XKTv2hy71wlFLttvzPFqjeOcF.ED1fu8UasAwiHSJAyAqyl53wjvQaC5wPafJEMIdCpaWOgMzHjJ+AUNBidlDujkSxFs.CP7HQNTln3tLu9waDGgZrJWZM1vBwGhax7z6jMFKjAFgH0s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lCeIPXdmCIfP7BgzD3lcjBeRs04rt5l.SE8UnNBgoXLLkvviSonGSvu73XrmmuhzTLwb+1jSTKFhKhg3ocRzdeEanugzfLviq.fimfALRS1dDmindtnDOravYNaYHUM0PHN5f5LSYN97rszzivq2ySztc4n99acp0wtj5Me9oT0a094giGKFeQSpCSX3+rno1qrq595Z2AMB2G+JgvFTY438AWCZ93wjkhwp8m.aAqmgtPgNJyoaABcbjTAD18UHABxfrHsTqrPvcKMAb8fGQc.USSgsf+NqxRlXz2xUfwBIhRW3qa6V6DH0FjiB7AplRxbkHP8IXaGw2.bcyFeIoiXI2h7G2JDKtcubp95JDSjAYbxcrvukM2EvosJ3IT4n9+cbSPXT6ueyOsxkQjsK0Uv8e0f4LOmXPr2wZ9dCn2EO2oEQ2Qbft5UUJKJtm+L.m.2uVaRbC43xUQGO3stEyfcftdxsJkiykWGmOuNtPdc7Y40wEyqiKkWGe9U6n704FzBI0NAcHM2TofQaSN4PSEiB5eoxNyhG
                      
                      griffinboyG 2 Replies Last reply Reply Quote 1
                      • ustkU
                        ustk @griffinboy
                        last edited by

                        @griffinboy Well, if you could develop things that are working for me and not for you, I can be nothing less than grateful... 🤣

                        Can't help pressing F5 in the forum...

                        griffinboyG 1 Reply Last reply Reply Quote 1
                        • griffinboyG
                          griffinboy @ustk
                          last edited by

                          @ustk

                          Hahaha, okay I'm going to make a fresh build of hise and hopefully close this topic if it works after that

                          1 Reply Last reply Reply Quote 0
                          • griffinboyG
                            griffinboy @Christoph Hart
                            last edited by

                            @Christoph-Hart

                            Okay I've gotten it to work in a fresh project - this seems to be a recurring theme to me! I've got a few projects where features are completely broken, but work perfectly in fresh projects. I should do an investigation and find out why. It might be something to do with the way I use c++ nodes.

                            1 Reply Last reply Reply Quote 0
                            • griffinboyG griffinboy has marked this topic as solved on
                            • griffinboyG
                              griffinboy @Christoph Hart
                              last edited by

                              @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

                              1 Reply Last reply Reply Quote 0
                              • griffinboyG griffinboy has marked this topic as unsolved on
                              • First post
                                Last post

                              33

                              Online

                              1.7k

                              Users

                              11.9k

                              Topics

                              103.5k

                              Posts