HISE Logo Forum
    • Categories
    • Register
    • Login

    Channel Aftertouch..still not working

    Scheduled Pinned Locked Moved Bug Reports
    61 Posts 6 Posters 3.4k 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.
    • d.healeyD
      d.healey @DanH
      last edited by d.healey

      @DanH Ha me and Lindon need t-shirts, of course it's not a voice start mod, it's dynamic

      You don't even need scriptnode

      HiseSnippet 1211.3oc6X0saiSDEdbSFzlrPE6OZ0BBjrp3hToppZ1kEDqPMsoIUQroMsNag6Vl5LIYTmLiwdbgHDOG7ZwiREu.vY73Da25sMDn+vJxEUcNm4L9aNy24ymwcCjdzvPY.xpRuI9Tj06icmHTiZLhvDn16frVF2gDpnA1FSaOwmDFR6irrJsq1fUkxn3ems41DNQ3QSMgPGIYdzWwFyToV6V+aYbdKReZO13Ly940a6IEMjbYDfmR3MP9DuSHCo6QzSaILx58Z1mojAtJhhFhrJusr+D2QxeRXl+QrP1wbpdfCxEVHi4VRdeMh0VQMFw386NceGhfEsaZVnjIK7XbGVe1L6oYiOL1gcZDYyGVKkGdkxAOmrvaiLvq.HYkARkMP5AXWu.luJ0iFO2G2V.GNCHPZOKTLyEsDwB2PByPnVeL4DZq.XvrHp8hM1XMa3Oq9xpUgTenx9TRf8tG1w9araJFxDz0GRU6xkGS3GJiTLwvNDAbhDTCBAlm1cCBrmpsxVs5sBXLcY.Ccj8gUpv4Y7tNLcA0S0SZdHfoHNARg0VogdgHBkyJqY6r5KGDI7TLovVJ1Spn6KpsZ0eoZkp+ZU6y6ZvfB8oyCARNWC9Bbq4hAWVf0DQiOlFrFr43QzYSDNfxepie6m5YIkdlikLSTJZKXp88oh2FUEkbVB+2qauCQQzTkDav77oAJlFBV6POEp6LDmJ3cngmnj9Pk2EXU.edZJOKIWWYm3.xA4XVZ1iHjoljsx+eMl+7BwGf6xTdiJFiKU.FgL00AFSzK9.byAC.dbJ.Kia88WOhCYe72y73+X74JezbB.ITiHwml31dle6YSv4RTz+84UQ2etUzsJcYJ3NKnBd46bJ3yKO9QW3nI7FrZK26YpNClP9IUrLFlOzjzRs5b0nbalujSBz9ecHsGIFQo7n1hSA4Jc7o1RW+8h0ZS88C0cGKkpQ44Wr56PGPh3pizRxKXwty0ufTo2sEjl0ZfJf8yvK.gCOWnh2iBOc306b8KEsVRe9ZFugdrNC3RE8iG7mvuDmN5wVINcl5L6VbYyV79XWP.Kta03M3ShGa+cjSo16RAoM8AzMr719dJ3w2KfHB8kg4VXW5XVOoPmoSMBEFsBn+3gZFS9BARPgtNayVvlrvXbIpnfXp2VikQBUNp1+K6dWoCmbZtUlhQW1XeNsInIxg13RzbSD2lZMOWtiTH8GIELurGzGRgZvgCyJcd1lEtg1RofaWkZ4w0Ojxojrj1Oq9q.xFI.xSzELW3729dNEdd8TrAt15BP6+61Y561uHnHp8Cwck7IFhZKFWkzPQErYvkoOiPZctHpvaZ1pd0+32peP1i27TymV+fHB+bY2j9P9ml4uBlb44jd7D7rMk8su9Sx8G9jjtP0UWGQBXv0tmA8XTaOsM035ujoj1y5bzMXZKf5ILs0OfkpMFeUV8G3og4yAnyHVqeY2Z4quP+n2Bc7ooq2sEi9HbB62Vy5tai0kwGbKAvah9WuIdFiIdAx23YJJzk52K1BruEweA0J3N5w1NnSO+8kFCkSuwyK+Rcg.+7EMvmsnA97EMvuXQC7EKZfe4hF3Wc0ApU61JRIGapMPnNcaZDMsZJzJnwkIn+BHjTykI
      

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

      DanHD 1 Reply Last reply Reply Quote 0
      • DanHD
        DanH @d.healey
        last edited by

        @d-healey nice, but there's an inconsistency as in Scriptnode the midi channel is correct (and labelled correctly in the pop up) but the Midi Controller has it as channel 128 rather than 129...

        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
        https://dhplugins.com/ | https://dcbreaks.com/
        London, UK

        d.healeyD DanHD 2 Replies Last reply Reply Quote 0
        • d.healeyD
          d.healey @DanH
          last edited by

          @DanH Yeah I noticed that too, might be a Christoph goof :p

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

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

            @Lindon said in Channel Aftertouch..still not working:

            I am in fact a bot sent here to generate sales for a T-Shirt company....

            😂

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

            1 Reply Last reply Reply Quote 1
            • DanHD
              DanH @DanH
              last edited by DanH

              @DanH hmmmm.... adding Aftertouch to a filter is going to require a bit more thought. Just slapping it on a filter via a Global Modulator means the filter sits at 20Hz until aftertouch is applied... In scriptnode I can imagine using a pma or equivalent to add to the existing value, but using the stock modules is going to require a bit more effort...

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

              Christoph HartC MorphoiceM 2 Replies Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @DanH
                last edited by

                @DanH said in Channel Aftertouch..still not working:

                @DanH hmmmm.... adding Aftertouch to a filter is going to require a bit more thought. Just slapping it on a filter via a Global Modulator means the filter sits at 20Hz until aftertouch is applied

                That‘s what the default value is for.

                DanHD 1 Reply Last reply Reply Quote 0
                • DanHD
                  DanH @Christoph Hart
                  last edited by DanH

                  @Christoph-Hart Aaaahhh... I forgot I had eyes, apologies 😆

                  So I set this to half way, play a note with some after touch and then the value falls down to zero - is it meant to stay at the default value?ezgif.com-video-to-gif-converter.gif

                  DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                  https://dhplugins.com/ | https://dcbreaks.com/
                  London, UK

                  DanHD 2 Replies Last reply Reply Quote 1
                  • DanHD
                    DanH @DanH
                    last edited by

                    @DanH using a min max node gets around this.... I feel like the default value (or min value) should be ridden by the existing value of the filter frequency (or whatever you're modulating)...

                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                    https://dhplugins.com/ | https://dcbreaks.com/
                    London, UK

                    DanHD 1 Reply Last reply Reply Quote 0
                    • DanHD
                      DanH @DanH
                      last edited by

                      @Lindon How are you using aftertouch?

                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                      https://dhplugins.com/ | https://dcbreaks.com/
                      London, UK

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @DanH
                        last edited by

                        @DanH said in Channel Aftertouch..still not working:

                        @Lindon How are you using aftertouch?

                        in exactly the way Dave's snippet uses it above.

                        HISE Development for hire.
                        www.channelrobot.com

                        DanHD 1 Reply Last reply Reply Quote 0
                        • DanHD
                          DanH @Lindon
                          last edited by

                          @Lindon on a filter?

                          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                          https://dhplugins.com/ | https://dcbreaks.com/
                          London, UK

                          1 Reply Last reply Reply Quote 0
                          • DanHD
                            DanH @DanH
                            last edited by

                            @DanH said in Channel Aftertouch..still not working:

                            @Christoph-Hart Aaaahhh... I forgot I had eyes, apologies 😆

                            So I set this to half way, play a note with some after touch and then the value falls down to zero - is it meant to stay at the default value?ezgif.com-video-to-gif-converter.gif

                            So is this working correctly or?

                            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                            https://dhplugins.com/ | https://dcbreaks.com/
                            London, UK

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

                              @DanH has the aftertouch issues discussed here been resolved?

                              Usually you'd have a filter envelope that adds on top of your set filter cutoff, the aftertouch would then just mix between the current envelope value and the maximum intensity of the aftertouch of fully open filter. since you may want to use aftertouch for other things, i'd probably not run the filter cutoff into the default value, but that depends on your synths design.

                              is the polyphonic aftertouch also applied to the "Aftertouch" cc channel in the midi_cc node?
                              or do I need to enable MPE to get it as "pressure" ?

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

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

                                @Morphoice said in Channel Aftertouch..still not working:

                                @DanH has the aftertouch issues discussed here been resolved?

                                Usually you'd have a filter envelope that adds on top of your set filter cutoff, the aftertouch would then just mix between the current envelope value and the maximum intensity of the aftertouch of fully open filter. since you may want to use aftertouch for other things, i'd probably not run the filter cutoff into the default value, but that depends on your synths design.

                                is the polyphonic aftertouch also applied to the "Aftertouch" cc channel in the midi_cc node?
                                or do I need to enable MPE to get it as "pressure" ?

                                ok just so we are all on the same page about this sub-question:

                                There is NO polyphonic aftertouch in HISE
                                however there is channel aftertouch, with caveats:

                                1. Channel After touch is sent as CC 129 by every MIDI controller I've ever used, BUT its not in the MIDI spec to do this I think - so it might not be sent as this
                                2. HISE's implementation of Controller callbacks is patchy for CC129 - it works fine in some cases (e.g. the onController callback in your interface) and not in others (e.g. a MIDI Controller wired up as a macro control component - where CC128, Pitch Wheel, is actually wired up to CC129, and CC129- Channel Aftertouch- is wired up to CC128 )

                                Link Preview Image
                                MIDI Controllers not responding to CC128 & CC129 correctly · Issue #666 · christophhart/HISE

                                The MIDI Controller Modulators dont respond to CC129 and CC128 correctly, sadly there are a couple of variants: A MIDI Controller used as a modulator in an FX (e.g. Filter Freq Modulation) If you set the CC Number = 129 then the pitch wh...

                                favicon

                                GitHub (github.com)

                                If you want Poly aftertouch you will need to use some sort of MPE approach. But I'm of the opinion the MPE stuff need s some love - YMMV.

                                HISE Development for hire.
                                www.channelrobot.com

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

                                  @Lindon so what exactly does the "Enable MPE" button in that scriptnode do?

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

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

                                    @Lindon also these funtions in the docs?
                                    https://docs.hise.audio/scripting/scripting-api/message/index.html#getpolyaftertouchpressurevalue
                                    don't they work?

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

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

                                      @Morphoice Well I have never been able to get them to work....

                                      HISE Development for hire.
                                      www.channelrobot.com

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

                                        @Lindon that's very bad, that's an integral functionality - without it I can aswell quit what I#ve been doing for the past few weeks. can't do a CS-80 emulator and not have polyphonic aftertouch, it's what the thing was famous for.

                                        it can't be that hard to get it to work, maybe we have to get @Christoph-Hart a keyboad capable of polyphonic aftertouch ;)
                                        we really should get this sorted asap

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

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

                                          @Lindon I can confirm channel aftertouch works fine, if I send a poly pressure message though if sounds like just all notes instantly get 100% aftertouch all over the place

                                          @Christoph-Hart can you get us more info on how to get polyphonic aftertouch to work properly? in theory it could work like normal after touch just check if the transmitted note number in the message matches the played note before outputting it on the midi_cc node and otherwise ignore it, please let me know if I can assist in figuring this out, apparently it's important to many of us and not working properly for some years

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

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

                                          28

                                          Online

                                          1.7k

                                          Users

                                          11.8k

                                          Topics

                                          102.7k

                                          Posts