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