Re: How can we obtain ties across voices in parallel music?
Hello Abraham and Urs, LP is great, and so is its users list! Thanks for your help, and a nice day! JM Am 04.09.2014 um 20:59:59 schrieb Urs Liska u...@openlilylib.org: The only thing I dislike about this is the use of \hideNotes. \hideNotes makes Notes _transparent_ but doesn't remove the stencils. This often results in strange output issues, sometimes striking, sometimes subtle. The problem is that the ties or slurs will still try to avoid the hidden items, which is particularly annoying with hidden notes with flags. http://lilypondblog.org/2013/07/voice-contexts-in-temporary-polyphonic-sections/ treats this issue from a slightly different perspective. Writing a post about cross-voice ties has been on my todo-list for a very long time. Best Urs Am 04.09.2014 20:26, schrieb Abraham Lee: On Thu, Sep 4, 2014 at 11:23 AM, Jacques Menu imj-...@bluewin.ch wrote: Hello folks, I’d like to obtain the tie between the cis’s in beat 1 and 2 in the attached, from a version of BWV 508 (3/4). The best I could find is: % \version 2.18.2 { \clef treble \key b \major \time 3/4 … \tieDown cis ~ ais fis4 ) {fis8 --} {\hideNotes cis8 \unHideNotes} fis8 ( [ ais fis ] | } % Problem: \hideNotes applies to fis8 too, leading to the following, in which the tie applies to ais’s and not cis’s by the way: Thanks for your help! JM -- Jacques Menu Ch. de la Pierre 12 1023 Crissier mailto:imj-...@bluewin.ch Jacques, You are really close. The way that I do it is to use explicit parallel voices like this: %%% \version 2.18.2 pianoRH = \relative c { \clef treble \key b \major \time 3/4 \new Voice { \voiceOne { fis ais cis4 fis'8\noBeam fis ais fis } \new Voice { \voiceTwo \once \hideNotes fis, ais cis ~ 4 ais cis4 q } } } { \pianoRH } %%% I have yet to run into a problem with this approach. Actually, this kind of syntax solves a lot of other problems, too. HTH, Abraham ___ 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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Syntax change with tremolo and articulation
Hi, I'm experiencing a syntax change: { bes8:16- } This doesn't compile with 2.18.2 because error: expecting string as script definition It does compile with 2.19.4 (which is the oldest one 2.18.2 I have available). Can anyone tell me when this was changed, i.e. what I should use as version requirement? TIA Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Use my roman font digits for time signature
Hello, how about: \version 2.19.12 \new Staff \with { \override TimeSignature.font-name = #Garamond \override TimeSignature.font-size = 1.5 } { \time 3/4 r4 r r \time 7/8 r r r r8 } It helps if you include some working example code. HTH, Simon Am 05.09.2014 um 07:51 schrieb Jayaratna: Dear members, I'd like to use my roman font digits for proportional symbols in a Renaissance score. Ho do I replace the Feta font digits with my Roman Garamond ones? I've looked at this post, but it does not work with replacing my font: http://lilypond.1069038.n5.nabble.com/Change-time-signature-font-td146251.html Thank you, A -- View this message in context: http://lilypond.1069038.n5.nabble.com/Use-my-roman-font-digits-for-time-signature-tp166073.html Sent from the User mailing list archive at Nabble.com. ___ 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
Chord with notes of different lengths
I want to display the following chord in a common time bar. I cannot find this in the documentation. bottom note crotchet d (above middle c) next up crotchet a next up semibreve f sharp next up semibreve d This is to be played on the violin with the bottom two notes being played at the start of the bar and the top two held to the end of the bar. Can someone help please? Thanks Alistair Edinburgh ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Chord with notes of different lengths
You can use two voices. I made two variants but I don’t like the second (because semibreves don’t belong on a stem). \version 2.19.13 \relative { % my preferred version: fis'' d'1 \\ d, a'4 % IMHO ugly version: \once \override NoteColumn.ignore-collision = ##t fis' d'1 \\ d, a' \tweak #'transparent ##t d'4 } Am 05.09.2014 um 13:00 schrieb millar alistair: I want to display the following chord in a common time bar. I cannot find this in the documentation. bottom note crotchet d (above middle c) next up crotchet a next up semibreve f sharp next up semibreve d This is to be played on the violin with the bottom two notes being played at the start of the bar and the top two held to the end of the bar. Can someone help please? Thanks Alistair Edinburgh ___ 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: Use my roman font digits for time signature
Dear Simon, thank you for your answer. Your suggestion works, but I need to insert the change in the middle of a part. If I put your override code in the \with part, it overrides also my neomensural initial time signature. \version 2.18.2 \new Staff { \relative c' { %Tenor \override Staff.TimeSignature.style = #'neomensural \time 4/1 \hide Staff.BarLine \set Staff.timeSignatureFraction = 2/2 \scaleDurations 2/1 { \clef alto g\longa } \set Staff.timeSignatureFraction = 2/1 \scaleDurations 1/1 { d\breve } } } -- View this message in context: http://lilypond.1069038.n5.nabble.com/Use-my-roman-font-digits-for-time-signature-tp166073p166085.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Adjusting overall vertical spacing (in general)
Hello everyone, When it comes to adjusting vertical spacing using the flexible variables and/or properties: http://lilypond.org/doc/v2.18/Documentation/notation/flexible-vertical-spacing-paper-variables http://lilypond.org/doc/v2.18/Documentation/notation/flexible-vertical-spacing-within-systems LilyPond gives you a lot of fine-grained control, a lot of dials you can turn, and each of those dials is actually four dials. For example: \paper { score-system-spacing = #'((basic-distance . 12) (minimum-distance . 6) (padding . 1) (stretchability . 12)) } This is great but it can be overwhelming. Even if you only want to adjust one of these dials, you probably want to do one of these: x = x + y x = x * z rather than just: x = w and that requires accessing the current value or default for any given dial. But often you may just want to adjust the vertical spacing overall (in general), rather than specifically needing to adjust only one single aspect. To do this would basically mean changing every vertical spacing dial by the same amount, in order to preserve the proportionality of the spacing. (You'd probably want to leave stretchability alone and only adjust basic-distance, minimum-distance, and padding?) And that seems like a job for a (user-defined) function that would provide a single dial that would allow you to adjust the overall/general vertical spacing, in an automated way, without distorting the default spacing proportions. Or perhaps two functions/dials, one for paper variables and one for vertical spacing within systems? I didn't see anything like this in the LSR or in a quick search through the mailing list archives. I'm curious whether anyone has already gone down this road? I still need to give it a try to see if it can be done. Thanks, -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Adjusting-overall-vertical-spacing-in-general-tp166087.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Use my roman font digits for time signature
\once \override Staff.TimeSignature.font-name = #FontName -- Phil Holmes - Original Message - From: Jayaratna jayara...@gmail.com To: lilypond-user@gnu.org Sent: Friday, September 05, 2014 12:15 PM Subject: Re: Use my roman font digits for time signature Dear Simon, thank you for your answer. Your suggestion works, but I need to insert the change in the middle of a part. If I put your override code in the \with part, it overrides also my neomensural initial time signature. \version 2.18.2 \new Staff { \relative c' { %Tenor \override Staff.TimeSignature.style = #'neomensural \time 4/1 \hide Staff.BarLine \set Staff.timeSignatureFraction = 2/2 \scaleDurations 2/1 { \clef alto g\longa } \set Staff.timeSignatureFraction = 2/1 \scaleDurations 1/1 { d\breve } } } -- View this message in context: http://lilypond.1069038.n5.nabble.com/Use-my-roman-font-digits-for-time-signature-tp166073p166085.html Sent from the User mailing list archive at Nabble.com. ___ 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
fermatas in parentheses
Hi, the following code snippet typesets a fermata in parentheses by defining a custom articulation definition which modifies the default fermata articulation: %- \version 2.19.5 parenfermata = #(let ((m (make-music 'ArticulationEvent 'articulation-type fermata))) (ly:music-set-property! m 'parenthesize #t) (ly:music-set-property! m 'tweaks (acons 'font-size -1 (ly:music-property m 'tweaks))) m) \relative c' { \once\override ParenthesesItem.font-size = #0 c \parenfermata } %- There remain 2 questions: 1. Is there a way to move the override for the font-size in the into the definition of parenfermata or should this get achieved with a markup command definition instead? I'd like to keep the syntax as close to the original definition of a fermata as possible (e.g. without directional signs before the \parenfermata). 2. Can this be achieved that it applies to multimeasure rest fermatas as well? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Use my roman font digits for time signature
Dear Phil, this is simple and perfectly working. I'm also trying to magnify it a little adding part of Simon's code \once \override TimeSignature.font-size = 3 , but my proportion does not show any increase in size. Thank you, A -- View this message in context: http://lilypond.1069038.n5.nabble.com/Use-my-roman-font-digits-for-time-signature-tp166073p166089.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cello fingering indications
On 04/09/14 01:46, MarcM wrote: Anyone knows why the following snippet does not print the spanner with version 2.19.10 ? fingering_restez.ly http://lilypond.1069038.n5.nabble.com/file/n166031/fingering_restez.ly Colin Campbell-8 wrote On 11-10-31 08:33 PM, David Nalesnik wrote: Hi Colin, On Sun, Oct 30, 2011 at 9:50 PM, Colin Campbell lt; cpkc@ gt; lt;mailto: cpkc@ gt; wrote: Further Googling gives http://lsr.dsi.unimi.it/LSR/Snippet?id=616 which is closer in appearance, but I haven't the Scheme fu to modify the stringNumberSpanner function to incorporate the startTextSpan and number of notes. Ideally, one would wind up with something like a8\fSpan {5 4} which would extend a line for 4 of the note value of the starting note. This seems to do the trick: \version 2.14.2 stringNumberSpanner = #(define-music-function (parser location StringNumber music) (string? ly:music?) #{ \override Voice.TextSpanner #'style = #'solid \override Voice.TextSpanner #'font-size = #-5 \override TextSpanner #'(bound-details left stencil-align-dir-y) = #CENTER \override TextSpanner #'(bound-details left text) = \markup { \circle \number $StringNumber } #(begin (let* ((elts (ly:music-property $music 'elements))) (set! (ly:music-property (car elts) 'elements) (cons (make-music 'TextSpanEvent 'span-direction -1) (ly:music-property (car elts) 'elements))) (set! (ly:music-property (car (reverse elts)) 'elements) (cons (make-music 'TextSpanEvent 'span-direction 1) (ly:music-property (car (reverse elts)) 'elements))) (ly:export (make-music 'SequentialMusic 'elements (list $music) #}) \relative c { \clef treble_8 \textSpannerDown \stringNumberSpanner 5 { a8 b c d e f } \stringNumberSpanner 4 { g a bes4 a g2 } } Happy practicing! -David Brilliant, David, simply brilliant! No wonder I rave about this group every chance I get. Thanks! Colin -- I've learned that you shouldn't go through life with a catcher's mitt on both hands. You need to be able to throw something back. -Maya Angelou, poet (1928- ) ___ lilypond-user mailing list lilypond-user@ https://lists.gnu.org/mailman/listinfo/lilypond-user Could it be this checkin? http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=commit;h=6d611627eaef3fb5c754bdde106cd16c1ed23f31 James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
problem with moving notes
Hello!I have a problem with moving notes. There is a dotted rhythm and two quarter notes in different voices. I need to move eighth notes to the right. In case like in attached file 001.pdf I used «\once \override NoteColumn.X-offset = #2» (002.pdf). But in case like in attached file 003.pdf «\once \override NoteColumn.X-offset = #2» does not work. How can I move eighth notes to the right once? Is it possible to make it automatically? (Is it possible to move second notes in dotted rhythm voices to the right, when at the same time other voices has two the same duration notes, automatically?) 001.pdf Description: Adobe PDF document 002.pdf Description: Adobe PDF document 003.pdf Description: Adobe PDF document ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cello fingering indications
James pkx1...@gmail.com writes: On 04/09/14 01:46, MarcM wrote: Anyone knows why the following snippet does not print the spanner with version 2.19.10 ? http://lilypond.1069038.n5.nabble.com/file/n166031/fingering_restez.ly (labelled as 2.19.7 but unlikely to work there). Colin Campbell-8 wrote On 11-10-31 08:33 PM, David Nalesnik wrote: Hi Colin, On Sun, Oct 30, 2011 at 9:50 PM, Colin Campbell lt; cpkc@ gt; lt;mailto: cpkc@ gt; wrote: Further Googling gives http://lsr.dsi.unimi.it/LSR/Snippet?id=616 which is closer in appearance, but I haven't the Scheme fu to modify the stringNumberSpanner function to incorporate the startTextSpan and number of notes. Ideally, one would wind up with something like a8\fSpan {5 4} which would extend a line for 4 of the note value of the starting note. This seems to do the trick: \version 2.14.2 (!) stringNumberSpanner = #(define-music-function (parser location StringNumber music) (string? ly:music?) #{ \override Voice.TextSpanner #'style = #'solid \override Voice.TextSpanner #'font-size = #-5 \override TextSpanner #'(bound-details left stencil-align-dir-y) = #CENTER \override TextSpanner #'(bound-details left text) = \markup { \circle \number $StringNumber } #(begin (let* ((elts (ly:music-property $music 'elements))) (set! (ly:music-property (car elts) 'elements) (cons (make-music 'TextSpanEvent 'span-direction -1) (ly:music-property (car elts) 'elements))) [...] Could it be this checkin? http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=commit;h=6d611627eaef3fb5c754bdde106cd16c1ed23f31 That definitely touches code exercised by this snippet. But the question was about version 2.19.10 and the commit is present only starting with version 2.19.13. The problem quite looks like the old friend issue 2240, version 2.15.28. The LSR should provide an updated snippet by now I should think. If not, ask back. A lame workaround would be to make sure that the first element of the music following stringNumberSpanner is a chord, like \stringNumberSpanner #3 { c8 ... } The lame workaround can be automated by starting the function body (right *before* #{ ... #}) with (set! music (event-chord-wrap! music parser)) This results in music consisting of chords only. Unless you do further processing with the music (like \displayLilyMusic ...) this usually is no problem. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problem with moving notes
Hello, if you don't send us input code we can't really judge what happens. But usually that kind of problems arise when two notes share a NoteColumn, which happens when both have e.g. \voiceTwo assigned. Then your override can only move both notes at the same time - which looks like nothing happens at all. HTH Urs Am 05.09.2014 14:40, schrieb Rus: Hello! I have a problem with moving notes. There is a dotted rhythm and two quarter notes in different voices. I need to move eighth notes to the right. In case like in attached file 001.pdf I used «\once \override NoteColumn.X-offset = #2» (002.pdf). But in case like in attached file 003.pdf «\once \override NoteColumn.X-offset = #2» does not work. How can I move eighth notes to the right once? Is it possible to make it automatically? (Is it possible to move second notes in dotted rhythm voices to the right, when at the same time other voices has two the same duration notes, automatically?) ___ 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
Cross-staff voice with modified context.
Greetings All, What is the best way of achieving a cross-staff voice where one of the staves must be modified? I fear that I may be missing something very fundamental. Please see the code below, and thank you for any help. Hwaen Ch'uqi \version 2.18.2 \score{ \new PianoStaff \new Staff = up { \key des \major \time 2/4 \clef treble \relative c'{ { f4 es } \\ { s2 } } } \new Staff = down \with{ \consists Span_arpeggio_engraver } \key des \major \time 2/4 \clef bass \relative c'{ \set Staff.connectArpeggios = ##t { aes,16 des \change Staff = up \voiceTwo f aes \change Staff = MyCustomStaff \voiceOne aes, c \change Staff = up \voiceTwo ges' aes } \\ { des,,2 } } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Syntax change with tremolo and articulation
2014-09-05 10:37 GMT+02:00 Urs Liska u...@openlilylib.org: Hi, I'm experiencing a syntax change: { bes8:16- } This doesn't compile with 2.18.2 because error: expecting string as script definition Are you sure? On my machine it compiles correctly (no errors/warnings, expected output) with all installed versions = 2.14.2. The only older version I have is 2.12.3, but that one at the moment does not even compile the simplest example { c } (I don't know why). Best wishes. Davide ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
rest collisions warning but no collision
Hi all, running this code (also in attachment) results in a warning saying there are too many colliding rests. I don't see where the collision could be though, the warning shouldn't be there in my opinion. I know it renders fine, but still, I prefer results without warnings, it makes me worry that I've done something wrong... :-) If there is something wrong in my code... don't hesitate to tell I've also attatched an image. \version 2.18.0 \paper { } global = { \key a \major \time 3/4 } upper = \relative a { \global g'4\rest d8 fis a fis \bar |. } lower = \relative a, { \global s2. } upperSecond = \relative a { a16\rest a_( b) a \stemDown d a fis' a, a' a, fis' a, | } \score { \new Staff \with { midiInstrument = acoustic guitar (nylon) } { \clef treble_8 \upper \\ \lower \\ \upperSecond } \layout { } \midi { \context { \Score } } \header { } } http://www.bartart3d.be/ On facebook https://www.facebook.com/pages/BartArt3D/169488999795102 On Twitter https://twitter.com/#%21/Bart_Issimo On Identi.ca http://identi.ca/bartart3d On Google+ https://plus.google.com/u/0/b/116379400376517483499/ \version 2.18.0 \paper { } global = { \key a \major \time 3/4 } upper = \relative a { \global g'4\rest d8 fis a fis \bar |. } lower = \relative a, { \global s2. } upperSecond = \relative a { a16\rest a_( b) a \stemDown d a fis' a, a' a, fis' a, | } \score { \new Staff \with { midiInstrument = acoustic guitar (nylon) } { \clef treble_8 \upper \\ \lower \\ \upperSecond } \layout { } \midi { \context { \Score } } \header { } }___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Syntax change with tremolo and articulation
Am 05.09.2014 15:51, schrieb Davide Liessi: 2014-09-05 10:37 GMT+02:00 Urs Liska u...@openlilylib.org: Hi, I'm experiencing a syntax change: { bes8:16- } This doesn't compile with 2.18.2 because error: expecting string as script definition Are you sure? On my machine it compiles correctly (no errors/warnings, expected output) with all installed versions = 2.14.2. The only older version I have is 2.12.3, but that one at the moment does not even compile the simplest example { c } (I don't know why). Best wishes. Davide Well, I noticed that the problem is somewhere else, the error only appears when compiling the music through a Scheme function. Thanks anyway Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: rest collisions warning but no collision
They are effectively colliding, which you've avoided by moving them as pitched rests. I suggest you get rid of the pitched rests and the stemXX commands, and use voiceOne and voiceTwo for the upper and lower voices. -- Phil Holmes - Original Message - From: bart deruyter To: lilypond-user@gnu.org Sent: Friday, September 05, 2014 2:53 PM Subject: rest collisions warning but no collision Hi all, running this code (also in attachment) results in a warning saying there are too many colliding rests. I don't see where the collision could be though, the warning shouldn't be there in my opinion. I know it renders fine, but still, I prefer results without warnings, it makes me worry that I've done something wrong... :-) If there is something wrong in my code... don't hesitate to tell I've also attatched an image. \version 2.18.0 \paper { } global = { \key a \major \time 3/4 } upper = \relative a { \global g'4\rest d8 fis a fis \bar |. } lower = \relative a, { \global s2. } upperSecond = \relative a { a16\rest a_( b) a \stemDown d a fis' a, a' a, fis' a, | } \score { \new Staff \with { midiInstrument = acoustic guitar (nylon) } { \clef treble_8 \upper \\ \lower \\ \upperSecond } \layout { } \midi { \context { \Score } } \header { } } http://www.bartart3d.be/ On facebook On Twitter On Identi.ca On Google+ -- ___ 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: problem with moving notes
Send input code in attached files.Am 05.09.2014 14:40, schrieb Rus:Hello! I have a problem with moving notes. There is a dotted rhythm and two quarter notes in different voices. I need to move eighth notes to the right. In case like in attached file 001.pdf I used «\once \override NoteColumn.X-offset = #2» (002.pdf). But in case like in attached file 003.pdf «\once \override NoteColumn.X-offset = #2» does not work. How can I move eighth notes to the right once? Is it possible to make it automatically? (Is it possible to move second notes in dotted rhythm voices to the right, when at the same time other voices has two the same duration notes, automatically?) 001.ly Description: Binary data 002.ly Description: Binary data 003.ly Description: Binary data ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: rest collisions warning but no collision
thanks for the suggestion, I'll try it out when I'm back home. One thing remains confusing though. If I've avoided the collision, they are not colliding anymore, so it still should be valid because, well, I've avoided it... By choosing for the voiceOne and voiceTwo technique I'd avoid it as well It's probably a lilypond-code thing of which I don't know much :-) grtz, Bart http://www.bartart3d.be/ On facebook https://www.facebook.com/pages/BartArt3D/169488999795102 On Twitter https://twitter.com/#%21/Bart_Issimo On Identi.ca http://identi.ca/bartart3d On Google+ https://plus.google.com/u/0/b/116379400376517483499/ 2014-09-05 16:18 GMT+02:00 Phil Holmes m...@philholmes.net: They are effectively colliding, which you've avoided by moving them as pitched rests. I suggest you get rid of the pitched rests and the stemXX commands, and use voiceOne and voiceTwo for the upper and lower voices. -- Phil Holmes - Original Message - *From:* bart deruyter bart.deruy...@gmail.com *To:* lilypond-user@gnu.org *Sent:* Friday, September 05, 2014 2:53 PM *Subject:* rest collisions warning but no collision Hi all, running this code (also in attachment) results in a warning saying there are too many colliding rests. I don't see where the collision could be though, the warning shouldn't be there in my opinion. I know it renders fine, but still, I prefer results without warnings, it makes me worry that I've done something wrong... :-) If there is something wrong in my code... don't hesitate to tell I've also attatched an image. \version 2.18.0 \paper { } global = { \key a \major \time 3/4 } upper = \relative a { \global g'4\rest d8 fis a fis \bar |. } lower = \relative a, { \global s2. } upperSecond = \relative a { a16\rest a_( b) a \stemDown d a fis' a, a' a, fis' a, | } \score { \new Staff \with { midiInstrument = acoustic guitar (nylon) } { \clef treble_8 \upper \\ \lower \\ \upperSecond } \layout { } \midi { \context { \Score } } \header { } } http://www.bartart3d.be/ On facebook https://www.facebook.com/pages/BartArt3D/169488999795102 On Twitter https://twitter.com/#%21/Bart_Issimo On Identi.ca http://identi.ca/bartart3d On Google+ https://plus.google.com/u/0/b/116379400376517483499/ -- ___ 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: rest collisions warning but no collision
They are effectively colliding, which you've avoided by moving them as pitched rests. Hmm. `Effectively colliding' isn't user friendly... Is there a way to avoid this warning if pitched rests really don't collide? Werner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Force auto-beaming?
Hi List. I have a \cadenzaOn score with many notes, occasional rests, and no barlines. I want beaming imposed for all consecutive (flagged) notes, interruptible only by rests. That was LP 2.12's default auto-beam behavior, but 2.18 in this context (tho with \set Staff.autoBeaming = ##t) only writes flags. Is there an override to force auto-beaming? Thanks in advance. Pete ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cross-staff voice with modified context.
Hello Hwaen, the code you provided doesn’t compile for me (with 2.19.12, but it has nothing to do with the version). Please send working code. Yours, Simon Am 05.09.2014 um 15:36 schrieb Hwaen Ch'uqi: Greetings All, What is the best way of achieving a cross-staff voice where one of the staves must be modified? I fear that I may be missing something very fundamental. Please see the code below, and thank you for any help. Hwaen Ch'uqi \version 2.18.2 \score{ \new PianoStaff \new Staff = up { \key des \major \time 2/4 \clef treble \relative c'{ { f4 es } \\ { s2 } } } \new Staff = down \with{ \consists Span_arpeggio_engraver } \key des \major \time 2/4 \clef bass \relative c'{ \set Staff.connectArpeggios = ##t { aes,16 des \change Staff = up \voiceTwo f aes \change Staff = MyCustomStaff \voiceOne aes, c \change Staff = up \voiceTwo ges' aes } \\ { des,,2 } } } ___ 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: Cross-staff voice with modified context.
Greetings Simon, Thank you so much for your response. Yes, there was a silly oversight in my code which I have now corrected. Below is the code again followed by the compilation messages. I have also attached the rather strange result as a pdf. Hwaen Ch'uqi \version 2.18.2 \score{ \new PianoStaff \new Staff = up { \key des \major \time 2/4 \clef treble \relative c'{ { f4 es } \\ { s2 } } } \new Staff = down \with{ \consists Span_arpeggio_engraver } \key des \major \time 2/4 \clef bass \relative c'{ \set Staff.connectArpeggios = ##t { aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes } \\ { des,,2 } } } GNU LilyPond 2.18.2 Processing `Cross.ly' Parsing... Interpreting music... Cross.ly:25:11: warning: adding note head to incompatible stem (type = 1/4) aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:11: warning: maybe input should specify polyphonic voices aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:57: warning: cannot find context to switch to aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:88: warning: adding note head to incompatible stem (type = 1/4) aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:88: warning: maybe input should specify polyphonic voices aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Cross.ly:25:18: warning: no viable initial configuration found: may not find good beam slope aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:93: warning: no viable initial configuration found: may not find good beam slope aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Layout output to `Cross.ps'... Converting to `./Cross.pdf'... Success: compilation successfully completed Cross.pdf Description: Adobe PDF document ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cross-staff voice with modified context.
Hello again, Am 05.09.2014 um 20:37 schrieb Hwaen Ch'uqi: Greetings Simon, Thank you so much for your response. Yes, there was a silly oversight in my code which I have now corrected. Below is the code again followed by the compilation messages. I have also attached the rather strange result as a pdf. Hwaen Ch'uqi \version 2.18.2 \score{ \new PianoStaff \new Staff = up { \key des \major \time 2/4 \clef treble \relative c'{ the problem lies here: the key, time and clef commands must be inside the \relative environment. I don’t fully understand how this comes about, but it reminds me of http://lilypond.org/doc/v2.18/Documentation/usage/common-errors#an-extra-staff-appears, the first sentence in particular. So the fault seems to lie with the automatic creation of voice contexts that you employ, and indeed: explicitly creating voice contexts would also solve the problem, though it would be more a more involved approach. { f4 es } \\ { s2 } } } \new Staff = down \with{ \consists Span_arpeggio_engraver } \key des \major \time 2/4 \clef bass \relative c'{ \set Staff.connectArpeggios = ##t { aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes } \\ { des,,2 } } } GNU LilyPond 2.18.2 Processing `Cross.ly' Parsing... Interpreting music... Cross.ly:25:11: warning: adding note head to incompatible stem (type = 1/4) aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:11: warning: maybe input should specify polyphonic voices aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:57: warning: cannot find context to switch to aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:88: warning: adding note head to incompatible stem (type = 1/4) aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:88: warning: maybe input should specify polyphonic voices aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Cross.ly:25:18: warning: no viable initial configuration found: may not find good beam slope aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:93: warning: no viable initial configuration found: may not find good beam slope aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes The warning about no viable initial configuration found: may not find good beam slope cannot be avoided in many cases, so you have to ignore it – or, more elegantly, if it bothers you insert the scheme command I used in the attached file, once for every instance of the problem. Layout output to `Cross.ps'... Converting to `./Cross.pdf'... Success: compilation successfully completed Best regards, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
oops...
I forgot the attachment... \version 2.18.2 #(ly:expect-warning no viable initial configuration found: may not find good beam slope) \score{ \new PianoStaff \new Staff = up { \relative c' { \key des \major \time 2/4 \clef treble { f4 es } \\ { s2 } } } \new Staff = down \with{ \consists Span_arpeggio_engraver } \relative c'{ \key des \major \time 2/4 \clef bass \set Staff.connectArpeggios = ##t { aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes } \\ { des,,2 } } }___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Cross-staff voice with modified context.
Hwaen Ch'ugi, Does the attached do what you want? Mark -Original Message- From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Hwaen Ch'uqi Sent: Friday, September 05, 2014 11:38 AM To: Simon Albrecht Cc: lilypond-user@gnu.org Subject: Re: Cross-staff voice with modified context. Greetings Simon, Thank you so much for your response. Yes, there was a silly oversight in my code which I have now corrected. Below is the code again followed by the compilation messages. I have also attached the rather strange result as a pdf. Hwaen Ch'uqi \version 2.18.2 \score{ \new PianoStaff \new Staff = up { \key des \major \time 2/4 \clef treble \relative c'{ { f4 es } \\ { s2 } } } \new Staff = down \with{ \consists Span_arpeggio_engraver } \key des \major \time 2/4 \clef bass \relative c'{ \set Staff.connectArpeggios = ##t { aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes } \\ { des,,2 } } } GNU LilyPond 2.18.2 Processing `Cross.ly' Parsing... Interpreting music... Cross.ly:25:11: warning: adding note head to incompatible stem (type = 1/4) aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:11: warning: maybe input should specify polyphonic voices aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:57: warning: cannot find context to switch to aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:88: warning: adding note head to incompatible stem (type = 1/4) aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:88: warning: maybe input should specify polyphonic voices aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Cross.ly:25:18: warning: no viable initial configuration found: may not find good beam slope aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Cross.ly:25:93: warning: no viable initial configuration found: may not find good beam slope aes,16 des \change Staff = up \voiceTwo f aes \change Staff = down \voiceOne aes, c \change Staff = up \voiceTwo ges' aes Layout output to `Cross.ps'... Converting to `./Cross.pdf'... Success: compilation successfully completed \version 2.18.2 \score{ \new PianoStaff \new Staff = up { \key des \major \time 2/4 \clef treble \relative c'{ { f4 es } \\ { s2 } } } \new Staff = down { \key des \major \time 2/4 \clef bass \relative c'{ { aes,16 des \change Staff = up f aes \change Staff = down aes, c \change Staff = up ges' aes } \\ { des,,2 } } } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Which Henle style?
All, When I posted earlier this year about the availability of some new music fonts, some of you indicated the desire to have a Henle look-a-like music font (there were others, too, but let's stick with this for now). I've gone through some Urtext editions from Henle, but they all use different font styles! I'd like to make a music font for them all (and I still might), but that's quite a bit of work. So, my question is this: *Which Henle year/style is most desired?* Anyone who cares about this, if you could please point me to a score (with the year) that resembles what you would like, that would be most helpful! Thanks. Regards, Abraham P.S. I've been a little busy with some other things, but I hope to finish the new website that you all can download the fonts from. FYI: the new font-switching mechanism has been part of LilyPond proper since 2.19.12 via the set-global-fonts function, but a patch is available for anyone using the latest stable release (2.18.2). I'm working on the documentation for this new function, too. And if you didn't know, the font website will be generously hosted by Urs Liska at fonts.openlilylib.org http://fonts.openlilylib.org . -- View this message in context: http://lilypond.1069038.n5.nabble.com/Which-Henle-style-tp166118.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Guitar-legature
Hi! How to make the legature like in the jpg? Thanks.-- oiram/bin/selom Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni. MIB-kernellinux-tester http://mariomoles.altervista.org/[1] Linux[2] MIB[3] Lilypond[4] Frescobaldi[5] Rosegarden[6] [1] http://mariomoles.altervista.org/ [2] https://www.kernel.org/ [3] http://mib.pianetalinux.org/blog/ [4] http://lilypond.org/ [5] http://www.frescobaldi.org/ [6] http://www.rosegardenmusic.com/ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar-legature
In English, these are referred to as slurs. You should be able to get what you want with \set doubleSlurs = ##t -- Phil Holmes - Original Message - From: Mario Moles To: lilypond-user@gnu.org Sent: Friday, September 05, 2014 9:27 PM Subject: Guitar-legature Hi! How to make the legature like in the jpg? Thanks. -- oiram/bin/selom Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni. MIB-kernellinux-tester http://mariomoles.altervista.org/ Linux MIB Lilypond Frescobaldi Rosegarden -- ___ 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: Adjusting overall vertical spacing (in general)
Ok, so I've made a first pass and have something that works, see these files: adjust-vert-spacing.ly http://lilypond.1069038.n5.nabble.com/file/n166124/adjust-vert-spacing.ly adjust-vert-spacing-test.ly http://lilypond.1069038.n5.nabble.com/file/n166124/adjust-vert-spacing-test.ly There are two functions, one that scales the flexible vertical spacing paper variables that affect spacing outside of systems: http://lilypond.org/doc/v2.19/Documentation/notation/flexible-vertical-spacing-paper-variables And one that scales the flexible vertical spacing grob-properties that affect spacing within systems: http://lilypond.org/doc/v2.19/Documentation/notation/flexible-vertical-spacing-within-systems This makes it easy to globally increase (or decrease) vertical spacing in general without completely losing the basic proportions (and without losing your wits in the dizzying number of settings that can be overridden). Then, if you want, you can still use overrides to fine-tune specific things further. Any advice on how this could be improved? Currently padding is scaled, but I wonder whether only scaling minimum-distance and maximum-distance (and not padding) would be better? For some things there is only a padding value, so without padding they wouldn't be scaled at all. Currently the only properties that are being scaled are those that are explicitly set for each grob or context/engraver (in ly/engraver-init.ly and scm/define-grobs.scm). I wonder if there are also default values in effect for the properties that aren't explicitly set, that should also be scaled. If there are, I haven't found them yet. The default values are currently just hardcoded in the functions. Still wondering how to avoid this and whether it would be worth the trouble. For the grob properties it seems that they are calculation-in-progress unless you use after-line-breaking, which is probably too late to make changes. Maybe custom engravers? Suggestions welcome. Cheers, -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Adjusting-overall-vertical-spacing-in-general-tp166087p166124.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Include a file if it exists
Am 06.09.2014 00:36, schrieb Urs Liska: Hi all, I'm looking for a solution to conditionally include a file if it exists Oops. Well, the question is real, but of course I intended to add more to it ... The idea is to include a file with a number of music variables and then include files that contain one music variable each, overriding one variable from the first included file. So if no file is included the (empty) variable from the first file is used, otherwise the individual variable from the single file. Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Chord with notes of different lengths
I had to do the same for a chord played by violins in Beethoven 5th. Check this this look better. \score { \new Staff { \clef treble \key d \major \time 2/4 \relative c' { d a' \tweak #'duration-log #1 fs' \tweak #'duration-log #1 d'4^\fermata} } } -- View this message in context: http://lilypond.1069038.n5.nabble.com/Chord-with-notes-of-different-lengths-tp166083p166126.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Silly question, maybe... how the basic chordmode works for lead-sheets
Don, have you checked the doc on Chords mode here: ?http://lilypond.org/doc/v2.18/Documentation/notation/chord-mode hope this helps, -Marc -- View this message in context: http://lilypond.1069038.n5.nabble.com/RE-Silly-question-maybe-how-the-basic-chordmode-works-for-lead-sheets-tp166072p166127.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Fwd: Cross-staff voice with modified context.
Oops, forgot to send to All! -- Forwarded message -- From: Hwaen Ch'uqi hwaench...@gmail.com Date: Fri, 5 Sep 2014 22:40:01 -0400 Subject: Re: Cross-staff voice with modified context. To: Mark Stephen Mrotek carsonm...@ca.rr.com Greetings Simon and Mark, Thank you both for your input. Both attachments worked perfectly. Thank you Simon especially for the structural clarification in the bottom staff. This allows me to retain the modified context. At times, I am guilty of forgetting to glean hints from manuals other than the LM, NR, and IR! Thank you again for your patience. Hwaen Ch'uqi ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Which Henle style?
Hi Abraham, *Which Henle year/style is most desired?* I prefer the Beethoven Piano Sonatas Urtext ca. 1980 to anything I’ve seen recently. There might be older editions which are even better, but I don’t have any in my personal library. Thanks for all the great work on fonts! Kieren. ___ Kieren MacMillan, composer www: http://www.kierenmacmillan.info email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user