Ableton's Grace Notes transformation adds ornamental notes before or after each MIDI note in a clip, demonstrated here on a bassline. Pitch direction is configurable, either higher, matching, or lower than the source note, and you can dial in position, velocity, probability, and how many extra notes get introduced.
It's a compact but expressive tool for adding melodic detail to bass parts without redrawing every note by hand.