Continuous Messages

Pitchbend, aftertouch, and controllers, such as modulation wheel, sustain pedal, volume, etc. are considered continuous MIDI events, as opposed to the momentary key down and key up messages.

You can record continuous messages with or separate from the notes, that is, afterwards or before.

You can record continuous messages on their own tracks, separately from the notes to which they belong. As long as you set the two tracks to the same output and MIDI channel, the MIDI instrument identifies them as two simultaneously created recordings.