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
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 = #
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
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
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
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
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.
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.
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