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: Cordelia
Subject: Re: writing score in absolute time
Date: Tue, 7 Feb 2023 14:58:46 +0100

Amazing, really.
I lastly just wonder now, if it’s possible to write the duration in seconds.. 
But I understood that’s not the way of working of lilypond.
Thank you!



> On 7 Feb 2023, at 14:36, Jean Abou Samra <jean@abou-samra.fr> wrote:
> 
> 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
> 
> 




reply via email to

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