Jump to content

Editing Lowest and highest pitch as chord

Revision as of 07:52, 3 May 2026 by Manuela (talk | contribs) (Created page with "This code returns the lowest and the highest pitch of a music expression as chord. The duration of the chord can be chosen arbitrarily. You can easily change the chord to a fixed duration. <lilypond version="2.26.0" > %% This snippets returns the lowest and the highest pitch %% of a music expression als chord %% the duration of the chord is passed as argument myambitus = #(define-music-function (mus dur)(ly:music? ly:duration?) (let* ( (alle-pitches...")
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)
Warning: You are editing an out-of-date revision of this page. If you publish it, any changes made since this revision will be lost.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Please note that all contributions to LilyPond wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Meta:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)