HISE Logo Forum
    • Categories
    • Register
    • Login

    Polyphonic Aftertouch?

    Scheduled Pinned Locked Moved General Questions
    38 Posts 4 Posters 793 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.
    • ulrikU
      ulrik @ulrik
      last edited by

      @ulrik I forgot to tell that it's working as a compiled dsp as well

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      1 Reply Last reply Reply Quote 1
      • MorphoiceM
        Morphoice @ulrik
        last edited by

        @ulrik brilliant! you are the absolute goat ;))) I'll study this and hopefully will be able to apply it to my synth. thank you

        https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

        ulrikU 1 Reply Last reply Reply Quote 0
        • ulrikU
          ulrik @Morphoice
          last edited by

          @Morphoice Let us know how it goes!

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

          MorphoiceM 2 Replies Last reply Reply Quote 2
          • MorphoiceM
            Morphoice @ulrik
            last edited by

            @ulrik I integrated everything, I cant test it in HISE only with the plugin compiled, and that seems to crash cubase (Crashed Thread: 116 Javascript Thread) during a poly pressure message, only if the plug GUI is open though. if I leave it closed, it plays a sound - however no change in filter upon pressure. weird. any Ideas where I should start looking?

            https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @Morphoice
              last edited by

              @Morphoice said in Polyphonic Aftertouch?:

              only if the plug GUI is open though

              Have you put the code in your deferred UI script?

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              MorphoiceM 1 Reply Last reply Reply Quote 0
              • MorphoiceM
                Morphoice @d.healey
                last edited by

                @d-healey yes does it have to go extra into a seperate script?

                https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @Morphoice
                  last edited by d.healey

                  @Morphoice Yeah any "realtime" stuff should be in a separate, non-deferred, MIDI processor.

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  MorphoiceM 2 Replies Last reply Reply Quote 0
                  • MorphoiceM
                    Morphoice @d.healey
                    last edited by

                    @d-healey aye, will carry it over and retry

                    https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                    1 Reply Last reply Reply Quote 0
                    • MorphoiceM
                      Morphoice @ulrik
                      last edited by

                      @Lindon given you've been trying to get polyphonic aftertouch to run too, here's a working solution from @ulrik . I'm trying to get it running on my side, maybe you want to give it a try too and let us know how it goes.

                      https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                      LindonL 1 Reply Last reply Reply Quote 0
                      • MorphoiceM
                        Morphoice @d.healey
                        last edited by Morphoice

                        @d-healey I can confirm from a seperate script it no longer crashes. However it still doesn't do the aftertouch, so I might have made a mistake somewhere else... I do see the pressure values in the console if I output them, so the problem must be in the scriptnode

                        https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                        1 Reply Last reply Reply Quote 0
                        • MorphoiceM
                          Morphoice @ulrik
                          last edited by

                          @ulrik so this is what I did

                          Screenshot 2025-02-25 at 17.55.13.jpg
                          the poly pressure event data is coming into HISE just fine

                          Screenshot 2025-02-25 at 17.55.48.jpg

                          it should be passed to globalRouting

                          Screenshot 2025-02-25 at 17.56.30.jpg
                          however, in the scriptnode I can't get a readout. Did I miss a step?

                          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                          ulrikU 1 Reply Last reply Reply Quote 0
                          • ulrikU
                            ulrik @Morphoice
                            last edited by ulrik

                            @Morphoice I made a smaller snippet, works here, compiled as au instrument, loaded in Logic

                            Things to check:
                            SlotIndex should be the same in the scriptnode fx as in your script

                            Skärmavbild 2025-02-25 kl. 20.08.24.png

                            GRM.setEventData(eventId, slotIndex, value);
                            

                            Differences: you have the clear and add, I don't have them
                            I don't think the peak node will show anything, you are in the mod.chain

                            Try my snippet, it's easy to compile
                            VIDEO

                            HiseSnippet 2753.3oc6ZssaaibFlxNiOnca2DD2lBTzsDF8B4EoNjTm6hhHGeHwMw1pQdyt.EsFiIGYMvTCUIobr1hbeun2WrW09ZzqZA5KPA5KPeD12f1+YFdXnLkshpCb1cs7MjyL++y2+g4+vP212ylDD34qUn3giFPzJ7gnNiXg81rGlxz1cKsB+DTaO2QazMj3en2P6d6PcgG06P6Ovkn8jQCvAADGsBEl+obRJr7czD+95G+DrKlYSRGRS6UdTaxKn8ogoi1t0yott6fcHGR6qr5Js101isomq2P.dyiLzFfsOEeBYeLeYygzdFNnmVgOAY08Xaqt0K2vroYy5UZZZVswwULrrcp1rb4Zkc5Z0.WqAPzBa6PC876DhCIAZEtyS7bF0om2qYxM3Uz.5wfTAuXp0A1Y4v6345vEQ9nZa1i55zNVuEnoU.0NUKNuTKtBZOpCMY7Ts4cESnmRgpBrvbYg27YfmoJ7LTfWNPpfBjtiDR2C0w1mNHLcFNd9.ztLvb1Eam0VJWqVg+IZSOXArv06iOkriO7RBAkJaX7PcSCi09zhEK1cHyNj5wz8X66ERNfUZsh+ghKW7ME0GeptcycN9N4645R7ycZt2g+kQXI1v9GS7en9YX2gjjEBZfrpUzjUqpVcaofqrPO1tLZ3ACHrI4KnEos.SvbQnBVZnv.78iL.cboNDeMJnmWB7FXOmcrl.wIt9+C+VZSG03yuH0s9Ksz9rc2BGh4NBQ.B.4.heHkK+E1hbFbLT5VrLZKRvogdCDHt+.OFG9Et6Ui4yUOpNJ8keVqWScB6kNvuqUOB8jdJG42sUH4b3cDpObtnumCg6ItiO42OjvrGo0WMPRkV8wo60e7e2JHjLnC8KIpwZBF1sK8bNG0e1WBz633RZ6EP4dHIqavetkCoKdna3qFWeOH1HtqCOFX6MNTOPdDX.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a1nRy5FlwID564E1CRGFuU+PN2LZJ+UuN+HZ0FVyxoPQ+GWumBWFI+3MNiGhXRGBylzjyB42SdZhOlXlJKdMOKqZBk21j7oAx0xAivpeKv3RhAd2.xn7CyT3rY4JWl1N19Pj7qqw6q78vFJ+Pj7a7cCBuGHg2Gf9b7YDwksJP1OP7dWO+95Ok.0iyw8k8IX+WS6mfcvT+IXOvNDfvg9XVv.u.hoJm6P5SOziQBxL5XTXkKEYFU5cXdwgxrJtpXGPUnrtkZEOnk5fswrLLCdOCm1ip78g+OOVFnR9EcOHvFTLXQr3Tad6gtAjOm++1goJgoCaoN7yv9NfMLy0F8t46Buv6ceW3uq7eGx7em4+NjK2JBGkd+91Be.BNRaoKLk52L1xjO8cnu3902eX+NP7U636dJH9Zmhd2HtCfNDli3k+K7KZRyjqqClzLdxYLWh0s4RtMWxs4RtMWxs4RtMWRRtjusrG8w19dGEcQ0h+MJEi.5Vl3t23cLCuqaN1+ABxuqN8Ha6rr5BDZMqDVdVIrxrRX0YkvZyJg0mUBab0Dxy9Dc0h7yePV31aKt9hBEhu0I3nn1+CzZhXEE
                            

                            Hise Develop branch
                            MacOs 15.3.1, Xcode 16.2
                            http://musikboden.se

                            MorphoiceM 3 Replies Last reply Reply Quote 0
                            • MorphoiceM
                              Morphoice @ulrik
                              last edited by

                              @ulrik yet slot index is 0. that shouldn't be the problem.
                              I tried replacing the peak node by a minmax node like your snippet, but still no movement....

                              https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                              1 Reply Last reply Reply Quote 0
                              • MorphoiceM
                                Morphoice @ulrik
                                last edited by

                                @ulrik could the tree be a problem? there are quite a few networks, maybe the global routing info isn't passed all the way to the Polyphonic Script FX1? It doesn't work if I rearrange them either, though... I'm sure its a simple mistake but I cant see it rn

                                Screenshot 2025-02-25 at 20.47.14.jpg

                                https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                                1 Reply Last reply Reply Quote 0
                                • MorphoiceM
                                  Morphoice @ulrik
                                  last edited by

                                  @ulrik I tried moving the aftertouch script into the synthesizer group, but then eventID gives me -1 every time

                                  https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                                  ulrikU 1 Reply Last reply Reply Quote 0
                                  • ulrikU
                                    ulrik @Morphoice
                                    last edited by

                                    @Morphoice said in Polyphonic Aftertouch?:

                                    @ulrik I tried moving the aftertouch script into the synthesizer group, but then eventID gives me -1 every time

                                    You moved the whole script processor?
                                    The eventId = -1 should not happen if you have moved the whole script., meaning with the onNoteOn, onNoteOff, onController etc... callbacks.

                                    Have you tried my snippet?

                                    Hise Develop branch
                                    MacOs 15.3.1, Xcode 16.2
                                    http://musikboden.se

                                    MorphoiceM 2 Replies Last reply Reply Quote 0
                                    • MorphoiceM
                                      Morphoice @ulrik
                                      last edited by

                                      @ulrik I got the eventID back now, it conflicted with another script, that's fixed, but I'm still missing something there is still no output in the scriptnode. I did exactly what I could deduct from your snippet, unless I oversaw something

                                      https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                                      1 Reply Last reply Reply Quote 0
                                      • MorphoiceM
                                        Morphoice @ulrik
                                        last edited by

                                        @ulrik HEUREKA. Got it to work, there was a Message.ignoreEvent(true) somewhere else in the script apparently creating havoc. I removed it and there it went

                                        https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                                        ulrikU 1 Reply Last reply Reply Quote 3
                                        • ulrikU
                                          ulrik @Morphoice
                                          last edited by

                                          @Morphoice I'm glad you got it up and running!

                                          Hise Develop branch
                                          MacOs 15.3.1, Xcode 16.2
                                          http://musikboden.se

                                          1 Reply Last reply Reply Quote 2
                                          • LindonL
                                            Lindon @Morphoice
                                            last edited by

                                            @Morphoice said in Polyphonic Aftertouch?:

                                            @Lindon given you've been trying to get polyphonic aftertouch to run too, here's a working solution from @ulrik . I'm trying to get it running on my side, maybe you want to give it a try too and let us know how it goes.

                                            you mistake me for that person I'm afraid - all I've been trying to do is get channel aftertouch working correctly and consistently across HISE modulators...

                                            HISE Development for hire.
                                            www.channelrobot.com

                                            MorphoiceM 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            31

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.8k

                                            Posts