Re: Music functions and markup

2016-12-22 Thread Br. Samuel Springuel
On 2016-12-22 8:24 AM, Simon Albrecht wrote: hold = #(define-music-function (note) (ly:music?) (withMusicProperty 'duration (ly:make-duration -1 0) note)) This revised function works marvelously for me. I did have to look up the arguments to ly:make-duration in order to figure out w

Re: Music functions and markup

2016-12-22 Thread Simon Albrecht
On 22.12.2016 00:51, Thomas Morley wrote: hold = #(define-music-function (note) (ly:music?) #{ \withMusicProperty #'duration ##{ \breve #} $note #}) Wow! Always so much to discover in LilyPond :-) And look how much the function definition can be simplified: hold = #

Re: Music functions and markup

2016-12-22 Thread David Kastrup
Thomas Morley writes: > 2016-12-22 0:34 GMT+01:00 Klaus Blum : >> Attention, >> >> Thomas Morley-2 wrote >>> hold = #(define-music-function (note) (ly:music?) >>> #{ >>>$note \breve >>> #}) >> >> produces two notes: >> >> $notewill exactly produce the note given as parameter

Re: Music functions and markup

2016-12-21 Thread Thomas Morley
2016-12-22 0:34 GMT+01:00 Klaus Blum : > Attention, > > Thomas Morley-2 wrote >> hold = #(define-music-function (note) (ly:music?) >> #{ >>$note \breve >> #}) > > produces two notes: > > $notewill exactly produce the note given as parameter, > \brevewill add an additional

Re: Music functions and markup

2016-12-21 Thread Klaus Blum
eers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/Music-functions-and-markup-tp198287p198313.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu

Re: Music functions and markup

2016-12-21 Thread Thomas Morley
2016-12-21 16:30 GMT+01:00 Br. Samuel Springuel : > I'm typesetting a bunch of chant in modern notation (i.e. stemless without > timing, etc.). These pieces are being pulled from different sources which > have different conventions for a hollow note. In some cases it's a stemless > half-note, in

Re: Music functions and markup

2016-12-21 Thread Klaus Blum
ot; } { \new Voice = "mel" {\voiceOne \global \music} } % Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/Music-functions-and-markup-tp198287p198298.html Sent from the User mailing list archive at Nabble.com.

Re: Music functions and markup

2016-12-21 Thread Klaus Blum
27; g' f' \bar "|" } \new Staff \with { \remove "Time_signature_engraver" } { \new Voice = "mel" {\voiceOne \global \music} } % -- Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.

Music functions and markup

2016-12-21 Thread Br. Samuel Springuel
I'm typesetting a bunch of chant in modern notation (i.e. stemless without timing, etc.). These pieces are being pulled from different sources which have different conventions for a hollow note. In some cases it's a stemless half-note, in others a whole note, and in still others a breve (with