lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generate pitches between pitches


From: Urs Liska
Subject: Re: Generate pitches between pitches
Date: Fri, 29 Nov 2019 07:47:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]