lilypond-user
[Top][All Lists]
Advanced

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

Re: writing score in absolute time


From: Jean Abou Samra
Subject: Re: writing score in absolute time
Date: Tue, 7 Feb 2023 14:36:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

On 07/02/2023 14:12, Cordelia wrote:
> Oh, yeah. Thank you very very much. It gives me a lot of ideas!! It’s what I 
> was looking for.
> 
> Do you have just an idea if it could be possible to write just a line (with a 
> lil’ bar at the end maybe) that could represent the duration of the note?
> Something as Grisey you know.
> thanks,


Hi,

Adding back the list, please keep it CCed in replies so everyone can
participate (I suppose the off-list reply was accidental?).

These lines are called "duration lines" and documented here:

https://lilypond.org/doc/v2.24/Documentation/notation/graphical-notation



\version "2.24.0"

\paper {
  page-breaking = #ly:one-line-auto-height-breaking
}

\layout {
  \context {
    \Score
    proportionalNotationDuration = #(ly:make-moment 1/4)
    \override SpacingSpanner.uniform-stretching = ##t
  }
  \context {
    \Voice
    \consists Duration_line_engraver
    \omit NoteHead
    \remove Stem_engraver
    \remove Dots_engraver
  }
}

at =
#(define-music-function (instrument point note) (string? exact-rational? 
ly:music?)
   #{ \context Staff = #instrument \after 1*#point { #note \- } <> #})

<<
  \new Staff = piano { s1*10 }
  \new Staff = violin { s1*10 }
  \cadenzaOn
  \at piano ##e0.5 e'4
  \at violin ##e0.6 e'4.
  \at piano ##e0.75 f'4
  \at piano ##e1.0 g'1
  \at piano ##e2.5 c'8
  \at violin ##e3.0 c''32
>>



Best,
Jean


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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