How to change velocity to 0 on KSlider with key and keyup

    Aug 01 2020 | 1:20 pm
    Hello, Sorry if this has been asked before, I'm trying to make a patch where if I hold down a letter (such as C) it'll play a C chord for as long as I hold the button down, and then stop when I let go. I have the chord and note on functioning but I am at my end trying to figure out how to make the velocity change to 0 after the kslider. KSlider totally ignores my keyup toggle. Any help would be incredibly appreciated. Thank you!

    • Aug 01 2020 | 1:32 pm
      Try changing the display mode to Touchscreen in the kslider inspector. Should give a velocity 0 when you lift the key then.
    • Aug 01 2020 | 1:41 pm
      use flush message to kslider, it is sooo visible in the help file.
      A look in the help file might also lead to much simpler chord playing then in the patch you posted.
    • Aug 01 2020 | 2:08 pm
      @Matt - Hi Matt That didn't work for me but thank you for the suggestion. @Source Audio - I've been doing this for a week so forgive me if I don't catch everything in the help file. I'm following along in a book and this was given to me as a challenge. I can't use things like flush or pack. I have to use key and keyup. Same with the chord stuff - it was showing how to use + The problem I'm seeing is after my bang messages go into the Velocity input of KSlider, they aren't being transmitted through to the Noteout input.
    • Aug 01 2020 | 2:24 pm
      would the 'makenote' object be any use?
    • Aug 01 2020 | 2:28 pm
      whateve challenge is , it should be helping to learn and not oposite. As first it is totaly wrong to form note messages like that. you need reliable pairs on note and velocity values. sending flush on keyup is not allowed ?
    • Aug 01 2020 | 2:37 pm
      in case the use of a kslider was mandatory, too, the question is without question questionable. if i was him amd i needed to use kslilder, i would use 3 keysliders, one for each note of the chord, that would make more sense.