About after touch controller number
-
I have tried to get midi controller number of after touch and range of its value. Here is code snippet that I have tried.
When I change pitch scroll, the value for midi CC number 129 is changing. But I can't guess its exact value range.
And also I can't be sure CC number 128 is just for after touch or not and how much its value range is.
Please let me know about these things asap.
HiseSnippet 835.3oc4W0saSCCF0osQZsigfAWg3hbYqDT0zMfgPSr0teTEzsJRWE2MbSbVslqcUhSGko8NxiBuAfcR6bZWVooZLPhbU74ye1Ge99wIs7X1HeelGPa01iFf.ZOP2ZDk2qdOHlBZrGP6g5Mg9bjmQDTsQCf99HGflV1Ck.Z4yABe9w6qAIPpMRAA.cXXazGw8wbE5W14CXB4.nCpMterYu4NMrYz5LBKPvmr5U.Cf1mCOCcDTNsL5fgXzE9.sJ5aTsr24lc+1tkm4g0t1tkccmFGXG34gn7NB2AZ5Z+T7nouuCly7r3PNRrl4pwbFY0icAMZq6f8wcIH4.SfkfSQvGvHNxCu7cP8dXhSqIRnOPr1sTBZ1HA8o5MwN3qwUB6iBMXn7HtzpkYdzybIomVL5kKhdOV2x1COfqrH415iQuE1EYDj4DMc2.pMGynFL5QLN5XZwREtrP9BWUXVKttIYpNix8XDBxKxJ10nXSwNJB6kOCwUlOJneW4jL1daCypaUx3x0JjOuvtOifJOvCS4I6XGHI.UrTo2UH+UqsvavaWtMX5CmL+1aNm5hzv87EFCkKwj4IBeSG7WcwB9hhGtHKO1DYzFTL+3AnwI0ShQ2.w0MNj5nMAUtTgGlDllBRk8YlP1GndD+DucyzPQw.yIf.4SWgH6vL1fP3lJGrgbw7w7Qw6.khxlJIV1jHwWP59X8VXtcuj4alD3qnh7OMeG2DZM88ccQ1bEYyoevmW1NNKGUVIhJOS+PBqKjnDPQZgfUnnNOOerYiqsanlvse4y2u6u7Y1pv6lVv49KbCQkEldKZp9StQTx+Ns3LEBZlXTN+0TVnaptXiqNCEyXn+VBehOpMLjQpbpFzgHOtzIE1r2gDOaypOiw6MctFdm8Ptv.BO7li40OH6hIQyOPNOUY8YUkp2Cxhw+DxxR2JO6+msx+DKfiom0Dx8veU7othfpknYoMRvDJEQ7keZcFYbOZbE4XoxXgnNUl7c2iMZJGqM1n4Di2K6QensG6T6njSYGjUBQDmaZ3+YjW7COhwFlfgQ4gRsounJ4TaaoX+Rg5jrGUSsGajZO1L0d7pT6wqSsGuI0dr0b7P1RZ2.NqeToG.7K.bSu6WB -
I just took a look at the HISE source code and it's definitely number 128 (and it receives both channel pressure as well as polyphonic aftertouch, however it converts the polyphonic aftertouch to a monophonic signal by taking the max value from each key).
Not sure what you mean with range, it maps the standard 0...127 MIDI range to the default modulator range.
However I have rewritten the MIDI handling some time ago so it might be possible that the aftertouch messages do not get passed through properly. I don't have a MIDI controller that sends aftertouch with me.
-
I can find that the value of MIDI CC 129 goes near 16384 as maximum when I change pitch wheel. How about the maximum value of MIDI CC 128?
-
yes, the pitch wheel uses 14bit resolution = +16384. Aftertouch is 7 bit.