lilypond-user
[Top][All Lists]
Advanced

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

Re: how to automatically add ovtaves to some pitches


From: Mark Knoop
Subject: Re: how to automatically add ovtaves to some pitches
Date: Sat, 28 Nov 2020 11:22:19 +0000
User-agent: mu4e 1.4.10; emacs 27.1

At 10:51 on 28 Nov 2020, Stefan Thomas wrote:
> Dear community,
> I would like to add automatically an octabe to certain pitches, e.g.
> higher than d''.
> I have in mind something like this:
> %%%%%%%%%% SNIPPET
> \version "2.18.2"
> global = {
> \time 6/8  \clef "treble_8"  }
> okT = #(define-music-function (x) (ly:music?)
>        #{
>  \context Voice <<        $x \transpose c' c { $x } >>
>        #})
> Music =  {
> \global dis'' fis' a' d'' fis' a' dis'' fis' e'' f'
> dis'' fis' a' d'' fis' a' dis'' fis' e'' f' }
> MusicWithOctaves = {
> \global \okT dis'' fis' a' d'' fis' a'  \okT dis'' fis' \okT e'' f'
> \okT dis'' fis' a' \okT d'' fis' a' \okT dis'' fis' \okT e'' f'
> }
> %%%%%%%%%% END SNIPPET
> I thought it could be done with musicMap but I can't get it to work.
> Has someone a hint for me?

http://lsr.di.unimi.it/LSR/Item?id=445


--
Mark Knoop



reply via email to

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