The only way I know to do this is to turn the MIDI channel volume down, but then this makes impossible to play back to my keyboard something I recorded before while I'm recording something else with the same keyboard.

If you want it to play the sound on your keyboard but not double strike note, you need to turn the Local command to Off. Tell me the brand of your keyboard and I will tell you how to shut it off (if it can be done).