There is this thing one can press a key on piano and then fast scroll hands toward another one. So you have fast succesion of all keys between first and last.
Is it possible to do that with the Audacity automatically?
Audacity is an audio editor. It doesn’t “generate” music.
You’ll want to use a [u]Digital Audio Workstation[/u] application which will support [u]MIDI[/u] and virtual instruments.
That’s normally done as a MIDI effect that generates a series of note commands for a MIDI synthesizer. Audacity does not support MIDI synthesizers.
There is a similar audio effect, which is to use the Delay effect with pitch shift. See: Delay - Audacity Manual