Re: Alternative notes display
Thanks a lot Simon for the suggestion! Here is what I’ve been able to obtain: % \version "2.19.55" global = { \time 3/8 } regularMusic = \relative c'' { \global c4. } alternativeMusic = \relative c'' { \global \shiftOn d8 c4 } \score { \new Staff << \context Voice = "regular music" { \regularMusic } \context Voice = "alternative music" \with { fontSize = -3 \remove "Note_performer" } { \alternativeMusic } >> \layout {} \midi {} } % The output is legible: and the midi contains only « regularMusic ». The \shiftOn command was suggested by LilyPond itself. Problem solved! JM > Le 3 juil. 2017 à 15:49, Simon Albrecht a écrit : > > On 03.07.2017 14:49, Kieren MacMillan wrote: >> Hi JM, >> >>> I’d like to have the eighth and quarter notes displayed smaller, as an >>> alternative to the dotted quarter note, and them not being included in the >>> midi output. >>> >>> How can that be done? >> This is probably an excellent use-case for using the \tag mechanism. > > Another idea: create a VisualVoice context which is exactly like Voice but > with \remove "Note_performer" &c. > > HTH, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux
Has this app ever been compiled on Windows (MINGW or Visual Studio)? --- Knute Snortum (via Gmail) On Mon, Jul 3, 2017 at 3:36 AM, Stjepan Horvat wrote: > cool app. > Thanks > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Alternative notes display
On 03.07.2017 14:49, Kieren MacMillan wrote: Hi JM, I’d like to have the eighth and quarter notes displayed smaller, as an alternative to the dotted quarter note, and them not being included in the midi output. How can that be done? This is probably an excellent use-case for using the \tag mechanism. Another idea: create a VisualVoice context which is exactly like Voice but with \remove "Note_performer" &c. HTH, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Alternative notes display
Hi JM, > I’d like to have the eighth and quarter notes displayed smaller, as an > alternative to the dotted quarter note, and them not being included in the > midi output. > > How can that be done? This is probably an excellent use-case for using the \tag mechanism. Hope this helps, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Alternative notes display
Hello folks, I’d like to have the eighth and quarter notes displayed smaller, as an alternative to the dotted quarter note, and them not being included in the midi output. Merely making them smaller won’t solve the midi part of the problem, as won’t \cueDuring, since: > LPNR: The music from the corresponding measures of the quote name is added as > a CueVoice context and occurs simultaneously with the music, which then > creates a polyphonic situation. How can that be done? Thanks for your help! JM ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux
cool app. Thanks ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: dynamic text spanner after breaking
2017-07-03 11:42 GMT+02:00 Thomas Morley : > %% A procedure as argument does not work > \new Staff > \with { >\override DynamicTextSpanner.bound-details.left-broken.text = > #(lambda (grob) "foo") > } > \test Looks like a limitation while setting nested properties. Though: %% Restoring the entire list for bound-details works %% (taken from define-grobs.scm) \new Staff \with { \override DynamicTextSpanner.bound-details = #(lambda (grob) `((right . ((attach-dir . ,LEFT) (Y . 0) (padding . 0.75))) (right-broken . ((attach-dir . ,RIGHT) (padding . 0.0))) (left . ((attach-dir . ,LEFT) (Y . 0) (stencil-offset . (-0.75 . -0.5)) (padding . 0.75))) (left-broken . ((attach-dir . ,RIGHT) (text . ,(ly:grob-property grob 'text)) } \test Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: dynamic text spanner after breaking
2017-07-03 2:46 GMT+02:00 Shevek : > For some reason, TextSpanners by default repeat the text at the beginning of > a line after breaking, while DynamicTextSpanners do not. I became very > confused by this inconsistency when I wanted to make my crescendi and > diminuendi show text after line breaks, because for the life of me I > couldn't figure out where in the Lilypond source code that behavior > originates. I also couldn't understand why this wouldn't work: > > test = { > c'1\cresc > \break > c' <>\! > } > > \new Staff \with { Looks like applying a procedure here does not work. Don't know why ... > \override DynamicTextSpanner.bound-details.left-broken.text = #(lambda > (grob) (ly:grob-property grob 'text)) > } \test > > In the end, I succeeded in getting cresc. and dim. to be reprinted after > line breaks by writing the following: > > crescCautionaryEngraver = #(make-engraver > (acknowledgers >((dynamic-text-spanner-interface engraver grob source-engraver) > (ly:grob-set-nested-property! grob '(bound-details left-broken text) > (ly:grob-property grob 'text)) > ) >) > ) > > Boy, that feels like overkill for what should have been a simple override or > context property. > > Why was this so hard to do? Am I missing something obvious? %% NB %% the example returns %% programming error: bounds of this piece aren't breakable. %% because of ending the spanner at the end of the music-expression %% (not discussed here) test = { c'1\cresc \break c' <>\! } %% A procedure as argument does not work \new Staff \with { \override DynamicTextSpanner.bound-details.left-broken.text = #(lambda (grob) "foo") } \test %% A string as argument does work. %% Though, "cresc."/"dim" are set via the %% crescendoText/decrescendoText-context-properties %% hardcoding them like below will not do you a favor. \new Staff \with { \override DynamicTextSpanner.bound-details.left-broken.text = "cresc." } \test %% To apply a procedure, use 'after-line-breaking %% 'before-line-breaking would work as well, though you would have to keep %% the default-setting for it (without example) \new Staff \with { \override DynamicTextSpanner.after-line-breaking = #(lambda (grob) (ly:grob-set-nested-property! grob '(bound-details left-broken text) (ly:grob-property grob 'text))) } \test Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user