Hello Paolo,
what you want is doable in a Scheme "music function" that takes the two
pitches as input and returns a completed music expression.
However, for someone to help you out with that you should give more
clear indications how that result should look like, especially with
regard to durations/rhythm.
Urs
Am 29.11.19 um 00:26 schrieb Paolo Prete:
Hello,
given two pitches, for example: c' and c'', is there a way to
automatically generate all the pitches between them? In three
different ways:
1) all the "white keys" between them: d' e' f' g' a' b'
2) all the "black keys" between them: des' ees' ges' aes' bes'
3) all the pitches: des' d' ees' e' f' ges' g' aes' a' bes' b'
This feature would be very useful for simulating (piano) glissandos
with MIDI.
thanks.