Re: [somewhat-OT] tweaking Lilypond PS/PDF output in (e.g.) Illustrator
Quoting Trevor Bača <[EMAIL PROTECTED]>: [Sidenote, however, that if you ever do want to install the lilypond fonts under OS X for some other purpose that it's somewhat difficult to do and involves stuff like using FontForge to make OTFs out of the Feta AFMs. I've done this last step and now have an archive of the OTFs, so if anybody needs them, let me know.] I don't understand this comment. The installation packages for LilyPond only contain OTF versions of the fonts, no AFMs, at least since version 2.8. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [somewhat-OT] tweaking Lilypond PS/PDF output in (e.g.) Illustrator
On 9/1/06, Mats Bengtsson <[EMAIL PROTECTED]> wrote: Quoting Trevor Bača <[EMAIL PROTECTED]>: > [Sidenote, however, that if you ever do want to install the lilypond > fonts under OS X for some other purpose that it's somewhat difficult > to do and involves stuff like using FontForge to make OTFs out of the > Feta AFMs. I've done this last step and now have an archive of the > OTFs, so if anybody needs them, let me know.] I don't understand this comment. The installation packages for LilyPond only contain OTF versions of the fonts, no AFMs, at least since version 2.8. PFA, not AFM. /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/fonts/type1/ -- Trevor Bača [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
\transpose weird staffs
Hi, I have a nice horn in G part where in the middle it's written "from here take your horn in E flat" Of course in our orchestra we only have horn in F ^^ So I first entered the notes hornpart = \relative c' { \transposition g ... many notes ... \transposition ees again, many notes } And I'm now looking for the best and cleanest way to output the part in F I tried to apply the \tranpose stuff using \skips (like using a global staff for the layout) but... it's a failure any clue ? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tie collision
On Sun, Aug 27, 2006 at 03:20:47PM -0400, Chuckk Hubbard wrote: > I sure did, huh? > I have 2.8.6 at the moment. > { > \time 4/4 > \set tieWaitForNote = ##t > c'8~ e'~ g'~ <> > } The problem you see (a tie of one note of an arpeggio connecting to the wrong note of the following chord) existed in the 2.8 series after some work was done on LilyPond's tie code. It was fixed in the 2.9 series of LilyPond. Please see the last item on the following "News" page for LilyPond 2.9: http://lilypond.org/doc/v2.9/Documentation/topdocs/NEWS.html So, you may wish to try LilyPond 2.9.x Also, you may wish to consider using the briefer notation for chords, insted of the simultaneous-music construction: <> -Steve D -- Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others. -Edward Abbey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \transpose weird staffs
Hi, AFAICS, the easiest way is to split your horn part into two seperate ones: hornpartG = \relative c' { \transposition g ... many notes ... } hornpartEES = \relative c' { \transposition ees ... many notes ... } Then use \transpose as usual on each of them. Markus ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Manually set slur points
I'm amazed with LilyPond. I've done several pieces of sheet music with it and I'm still amazed. It's not a tool, it's an instrument. Here's my problem: I want to make a "custom" slur that would squeeze through a small space between two chords.. irrelevant. I want to make a slur with more than 2 curves. The current code allows to create custom slurs in the form of "moustache", so that both ends turn in the same way or vice versa, so that one end turns up and the other down. I want to add a third curve in the middle, so that the slur would look like M. The program reference http://lilypond.org/doc/v2.9/Documentation/user/lilypond-internals/Slur.html wasn't helpful at all -- it only stated that it's possible. LilyPond snippet repository told me the right way to do this, but it uses only 4 referencre points (when I strip it to 3, it connects to (0 . 0) and so makes a loop). I want at least 5 points. Is it currently possible? Is it theoretically possible (I'm not familiar with Bezier curves)? Kudos for the excellent job, Elmo ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \transpose weird staffs
marvelous ^^ not as clean as expected but, i'm perhaps too perfectionist. thx On 9/1/06, Markus Schneider <[EMAIL PROTECTED]> wrote: Hi, AFAICS, the easiest way is to split your horn part into two seperate ones: hornpartG = \relative c' { \transposition g ... many notes ... } hornpartEES = \relative c' { \transposition ees ... many notes ... } Then use \transpose as usual on each of them. Markus ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \transpose weird staffs
You don't have to split the parts if you \tranpose direct from es to g hornpartInG = \relative c' { notes in G \transpose g ees \relative c' { notes in Es } } \score { \new Staff \transpose f g { \hornpartInG } } Or even bring the notes to C first (no more need for \transposition for midi output) hornpartInC = \transpose c g \relative c' { notes in G ... \transpose g ees \relative c' { notes in Es } } \score { \new Staff \transpose f c { \hornpartInC } } Toine > AFAICS, the easiest way is to split your horn part into two seperate ones: > > hornpartG = \relative c' { > \transposition g > ... many notes ... > } > > hornpartEES = \relative c' { > \transposition ees > ... many notes ... > } > > Then use \transpose as usual on each of them. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tie collision
On 9/1/06, Steve D <[EMAIL PROTECTED]> wrote: On Sun, Aug 27, 2006 at 03:20:47PM -0400, Chuckk Hubbard wrote: > I sure did, huh? > I have 2.8.6 at the moment. > { > \time 4/4 > \set tieWaitForNote = ##t > c'8~ e'~ g'~ <> > } The problem you see (a tie of one note of an arpeggio connecting to the wrong note of the following chord) existed in the 2.8 series after some work was done on LilyPond's tie code. It was fixed in the 2.9 series of LilyPond. It doesn't end at the wrong note, it just cuts right through the note above the ending note. 2.9.16-1 does it exactly the same way. LP doesn't appear to take tie-note collision into consideration. Is there a way to manually control where the tie ends, or to avoid note-tie collisions? Please see the last item on the following "News" page for LilyPond 2.9: http://lilypond.org/doc/v2.9/Documentation/topdocs/NEWS.html Wonderful, some good essential stuff here. I'm surprised, some of these have been in Finale for years. Also, you may wish to consider using the briefer notation for chords, insted of the simultaneous-music construction: <> Alright, thanks. I forget where I saw the double thing, I just kind of adopted it. -Chuckk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: *** SPAM *** Re: functions in \with
Nicolas That works perfectly! Many thanks. Trevor > Nicolas Sceaux [mailto:[EMAIL PROTECTED] replied on > 31 August 2006 21:23: > > "Trevor Daniels" <[EMAIL PROTECTED]> writes: > [snip] > > I wanted to define a void function something like > > > > staffSize=#( > > define-music-function (parser location fontsize separation) (number? > > number?) #{ > > fontSize = #$fontsize > > \override StaffSymbol #'staff-space = #(magstep #$fontsize) > > \override VerticalAlignment #'forced-distance = #$separation > > #} > > (make-music 'SequentialMusic 'void #t) > > ) > > [not tested] > > staffWithSize = > #(define-music-function (parser location size distance music) > (number? number? ly:music?) > #{ > \new PianoStaff \with { >fontSize = #$size >\override StaffSymbol #'staff-space = #(magstep $size) >\override VerticalAlignment #'forced-distance = #$distance > } > $music > #}) > > ==> > \staffWithSize #-2 #11 { ..music.. } > > nicolas > > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Vanishing tie
I'm pretty sure this is LP doing something incorrectly. \version "2.9.16" << \relative c' \new Staff { \set Staff.instrumentName = "Alto Sax" \clef treble r16 e g b r8 cis } \relative c' \new Staff { \set Staff.instrumentName = "Tenor Sax" \clef treble a4 cis8 cis' } \relative \new Staff { \set Staff.instrumentName = "Baritone Sax" \clef bass a,4~ a16 e' g b } = ends up with no tie from the first note of the bottom line. But if I remove the top staff code completely, the tie appears. ? -Chuckk -- "Far and away the best prize that life has to offer is the chance to work hard at work worth doing." -Theodore Roosevelt ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Vanishing tie
In this instance, I have two ties right after each other in the top staff, and the first one is completely ignored, while the second works normally. I hope I'm doing something wrong... \version "2.9.16" #(set-default-paper-size "letter") \header { tagline = "" } << \relative c' \new Staff { \set Staff.instrumentName = "Alto Sax" \clef treble r16 e g b r8 cis~ cis c~ c b } \relative c' \new Staff { \set Staff.instrumentName = "Tenor Sax" \clef treble a4 cis8 cis' } \relative \new Staff { \set Staff.instrumentName = "Baritone Sax" \clef bass a,4~a16 e' g b } On 9/1/06, Chuckk Hubbard <[EMAIL PROTECTED]> wrote: I'm pretty sure this is LP doing something incorrectly. \version "2.9.16" << \relative c' \new Staff { \set Staff.instrumentName = "Alto Sax" \clef treble r16 e g b r8 cis } \relative c' \new Staff { \set Staff.instrumentName = "Tenor Sax" \clef treble a4 cis8 cis' } \relative \new Staff { \set Staff.instrumentName = "Baritone Sax" \clef bass a,4~ a16 e' g b } >> = ends up with no tie from the first note of the bottom line. But if I remove the top staff code completely, the tie appears. ? -Chuckk -- "Far and away the best prize that life has to offer is the chance to work hard at work worth doing." -Theodore Roosevelt -- "Far and away the best prize that life has to offer is the chance to work hard at work worth doing." -Theodore Roosevelt ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
How to generate a counter for repeated bars
Please forgive me if this is an obvious case of RTFM, but how do you get to disply a counter over a section of repeated bars. I am using using unfold as I don't want any actual ||: . . . :|| sections in the part. I know there are counters available for things like percent repeats and suchlike. I there any property or variable I can set to get the desired result? For example I want to get \repeat unfold 4 {c4 d e f |} to generate 1 23 4 | c d e f |c d e f|c d e f|c d e f| I'm still learning the music notation syntax and haven't tried the delights of customizing Lilypond with scheme yet. Thanks in advance for any advice on cracking this one. Cheers, Ian Hulin -- View this message in context: http://www.nabble.com/How-to-generate-a-counter-for-repeated-bars-tf2204902.html#a6106399 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
centered chorus lyrics
I'm typesetting a piece of music that my mother wrote that has two verses and a chorus. I want the lyrics to the chorus to be centered between the two staves, but I can't figure out how to do that. I can only get the chorus lyrics to either line up with one of the two verses, or to create a third line of lyrics. Can anyone help? Here's a sample: \version "2.8.5" upperv = \relative c' { \clef treble \key g \major \time 4/4 d4 e8 d g g a g c4 b g4. g8 a4. a8 a4 g8 a \break c4 b a8 g4 d8 } upperc = \relative c' { e'4 e c e8 c d4 c b2 c4 c a c b8 c4. d4 g, } lowerv = \relative c { \clef bass \key g \major \time 4/4 2 } lowerc = \relative c { g4 2 4 g4 2 4 fis4 2 4 g4 2 4 } wordsOne = \lyricmode { These are the words to the first verse. la la la la la la la la la la la la la } wordsTwo = \lyricmode { These are the words to the second verse. la la la la la la la la la la la la la } chorus = \lyricmode { These are the words to the chorus. I want them to be centered. la la } \score { << \context Staff { \context Voice = upperv { \upperv } \context Voice = upperc { \upperc } } \lyricsto upperv \new Lyrics \wordsOne \lyricsto upperv \new Lyrics \wordsTwo \lyricsto upperc \new Lyrics \chorus \context Staff = lower { \lowerv \lowerc } >> } __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user