Re: exotic chord
Unfortunately AFAIK you have to customize manually as in the example at http://lsr.dsi.unimi.it/LSR/Item?id=517 Still, I prefer the ø way, it is easier to read and recognize. Bert Jan Kohnert wrote: Wafaic schrieb: \chords { a:m7.5- } but I did not get what I hope. I have someting like this same appearence: Aº , except that the little º looks like this: ø Well, I hope I got your problem right: In Germany that's called 'halb vermindert' (the English translation might be 'half diminished' (dunno if that's correct), and for that the notation 'ø' is just fine, as a diminished chord would get '⁰' (without the line). Maybe there is something like \semiGermanChords (within the chords section) for your preferred typesetting, too. ___ 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: exotic chord
On Jan 18, 2010, at 9:54 AM, Wafaic wrote: Sorry, I tried it, \chords { a:m7.5- } but I did not get what I hope. I have someting like this same appearence: Aº , except that the little º looks like this: ø Is there another solution? With regards, Eric Too lazy to fix the top-posting- see comments below. Bertalan Fodor (LilyPondTool) wrote: Hey, that's not an exotic chord, that's the common half-diminished one. Use normal chord syntax. \chords { a:m7.5- } See http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Common- chord-modifiers#Common-chord-modifiers TaoCG wrote: Wafaic wrote: Not exactly. I can't find a way to write in full Am7b5. And if I find a way, I'd like to write Am on one level, and 7b5 a little higher. Maybe this is something for you. http://lsr.dsi.unimi.it/LSR/Item?id=608 It's a little tricky because your entry will be converted to a lyric context to create chords now but what you want is easily achieved, just type a-m7f5 . The solution is to use chord exceptions, as I explained in another post which I managed to not send to the list but did send to you directly. http://lsr.dsi.unimi.it/LSR/Search?q=chord+exception You can modify this to change the m7b5/half-diminished chord (the Lilypond default for this is Aø which is correct, a common notation used in jazz charts; but many people prefer to have m7b5 spelled out). Alternatively you can use a whole list of chord exceptions and use \include to make use of it. I append the one I use, given to me by James Hammons (I hope he doesn't mind). Copy this in to a file called pop-chords.ly and then put \include path/to/pop-chords.ly replacing the path/to/ part with the actual path to wherever you have put the pop-chords.ly file. Here is the file: % Pop chords as used in English/American popular music % by James L. Hammons % Written against \version 2.11.52 chordFlat = \markup { \hspace #0.2 \tiny \raise #1.0 \flat } chordSharp = \markup { \hspace #0.1 \teeny \raise #1.0 \sharp } popChordsMusic = { % Triads c g-\markup { 5 } c d g-\markup { 2 } % c d g-\markup { sus2 } c f g-\markup { sus } % c f g-\markup { sus4 } % c ees ges-\markup { \small \raise #1.0 o } c ees ges-\markup { \raise #0.8 o } % c ees ges-\markup { dim } % c e gis-\markup { aug } % or + % Sixths c e g a-\markup { 6 } c ees g a-\markup { m6 } % Sevenths (including altered) c e g bes-\markup { 7 } c ees g bes-\markup { m7 } c e g b-\markup { maj7 } c f g bes-\markup { 7sus4 } c d g bes-\markup { 7sus2 } c e ges bes-\markup { 7 \chordFlat 5 } c e gis bes-\markup { 7 \chordSharp 5 } % c e gis bes-\markup { aug7 } % or +7 c ees g b-\markup { m(maj7) } % c ees ges beses-\markup { \small \raise #1.0 { o } 7 } c ees ges beses-\markup { \raise #0.8 { o } 7 } % c ees ges beses-\markup { dim7 } % c ees ges bes-\markup { \small \raise #1.0 { #(ly:export (ly:wide- char-utf-8 #x00f8)) } 7 } % c ees ges bes-\markup { \raise #0.8 { #(ly:export (ly:wide-char- utf-8 #x00f8)) } 7 } c ees ges bes-\markup { m7 \chordFlat 5 } c e ges b-\markup { maj7 \chordFlat 5 } c e gis b-\markup { maj7 \chordSharp 5 } % Ninths (including altered--incomplete) c e g bes d'-\markup { 9 } c ees g bes d'-\markup { m9 } c e g b d'-\markup { maj9 } c e g d'-\markup { add9 } c e g a d'-\markup { 6/9 } c ees g a d'-\markup { m6/9 } c ees g b d'-\markup { m(maj9) } c e g bes des'-\markup { 7 \chordFlat 9 } c e g bes dis'-\markup { 7 \chordSharp 9 } %dim7add9, dim7b9, dim7#9, 9#5, 9b5, maj9#5, maj9b5, 9sus4, 9sus2 % Elevenths (incomplete) c e g bes d' f'-\markup { 11 } c ees g bes d' f'-\markup { m11 } c e g b d' f'-\markup { maj11 } c e g f'-\markup { add11 } c ees g f'-\markup { m add11 } c ees g bes f'-\markup { m7add11 } % Thirteenths (incomplete) c e g bes d' a'-\markup { 13 } c ees g bes d' a'-\markup { m13 } c e g b d' a'-\markup { maj13 } c e g a'-\markup { add13 } % Misc add chords c e g bes des' aes'-\markup { 7 \chordFlat 9 \chordFlat 13 } c e gis bes des'-\markup { 7 \chordSharp 5 \chordFlat 9 } c e g b d' fis'-\markup { maj9 \chordSharp 11 } c e g bes d' fis'-\markup { 9 \chordSharp 11 } } % Add to existing exceptions popChordsAdd = #(append (sequential-music-to-chord-exceptions popChordsMusic #t) ignatzekExceptions) % Bah, can't we set this globally? YES! See below... % \set chordNameExceptions = #popChords % Bah, this doesn't work either... % #(set
Re: exotic chord
Too lazy to fix the top-posting- see comments below. Have you ever used a mobile client for reading emails? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Question about scheme engravers
Thanks, Carl. I am making a bit progress, but I haven't cracked the fingerings in a chord, yet. I'll post another with my source to the devel list. -Eric On Mon, Jan 18, 2010 at 4:49 PM, Carl Sorensen c_soren...@byu.edu wrote: On 1/18/10 2:41 PM, Eric Knapp ekn...@gmail.com wrote: Hello, everyone. I'm working on creating engravers in scheme. I have the example from here: http://codereview.appspot.com/181109/show In the example file named, scheme-engraver.ly there is this piece of code: (cons 'rest-event (lambda (engraver event) (let* ((x (ly:engraver-make-grob engraver 'TextScript event))) (display (list caught event event \ncreate:\n x \n)) (ly:grob-set-property! x 'text hi)) )) If there's a rest in the notation code like this, c-2\61 r2, then the above display function will output this: (caught event #Prob: Stream_event C++: Stream_event((music-cause . #Prob: Music C++: Music((length . #Mom 1/2) (elements) (duration . #Duration 2 ) (origin . #location scheme-engraver.ly:23:11))((display-methods #procedure #f (rest parser)) (name . RestEvent) (types general-music event rhythmic-event rest-event)) ) (length . #Mom 1/2) (elements) (duration . #Duration 2 ) (origin . #location scheme-engraver.ly:23:11))((class . rest-event)) Here's my question. How do I access elements in the event? For example, the duration of the rest is shown above as, (duration . #Duration 2). I would like to have an if statement look at the duration variable and do something based on the value. What would an if for that look like? First, you want to extract the music from the stream event, I think (ly:event-property event 'Music) (but I'm not sure about this step) Once you have the music, then you get the elements of the music: (ly:music-property music 'elements) Now, elements is a list of music elements, so you'll want to get the duration from the first element of elements: (ly:music-property (car elements) 'duration) As you can probably tell, I'm also learning scheme. I've been looking for a reason to learn scheme and the new capability of writing scheme engravers has hooked me! Looks like you're doing a good job of it! Thanks for the help in advance, this is getting exciting. I think so! HTH, Carl P.S. Questions at this level of detail probably belong on -devel, rather than -user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Question about scheme engravers
On 1/19/10 9:18 AM, Eric Knapp ekn...@gmail.com wrote: Thanks, Carl. I am making a bit progress, but I haven't cracked the fingerings in a chord, yet. I'll post another with my source to the devel list. Fingerings in a chord are part of the 'articulations property of the note. To see these things, use \displayMusic You can read about \displayMusic in section 1.3.1 of Extending HTH, Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Change Lyrics fonts
Changes like italic or smaller are not my goal. I wanted to set the font-family to another one. En detail I made a score for some chinese lyrics. The default fonts aren't very pretty for chinese, so I wanted to used a special font (For chinese-speakers: I wanted to use a 楷體/楷体 font) for one lyrics track only, because I made three lyrics: One in traditional, one in simplified chinese and one in latin. The special font looks very poor on text written in latin characters. Maybe somebody could help me. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Change Lyrics fonts
Hi Robert, Changes like italic or smaller are not my goal. I wanted to set the font-family to another one. Then do it! ;) Pseudocode: \new Voice \myMelody \new Lyrics \myEnglishLyrics \new Lyrics \with { \override LyricText #'font-family ... } \myChineseLyrics You just need to search the docs/LSR/etc. for instructions/examples on setting the font-family. Cheers, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: repeats with 3rd stanza following
Why the extra staff? I would just do: \context Staff { \new Voice = bassNotesAB \bassNotesAB \new Voice \new Voice = bassNotesC \bassNotesC } \context Lyrics \lyricsto bassNotesAB \bassLyricsAB \context Lyrics \lyricsto bassNotesC \bassNotesC On 19.01.2010, at 07:33, John Kelly wrote: That's how I started out. But what's the magic word in the \score section? The code below results in Stanza 3 getting printed at the top of the page, with Stanzas 1 and 2 getting overlaid onto it (I kid you not) about halfway through. BTW, I'm using Lilypond 2.10.33. \score { \context Score \context Staff \new Voice = bassNotesAB \bassNotesAB \lyricsto bassNotesAB \new Lyrics { \bassLyricsAB } \context Staff \new Voice = bassNotesC \bassNotesC \lyricsto bassNotesC \new Lyrics { \bassLyricsC } \layout {} } On Mon, Jan 18, 2010 at 9:54 PM, James Bailey derhindem...@googlemail.com wrote: stanzaoneandtwo = { music } stanzatree = {music } stanzaonandtwolyrics = {lyrics} stanzathree = {lyrics} Does that help? On 18.01.2010, at 21:55, John Kelly wrote: I'm trying to set a single vocal part. It has three stanzas with a refrain. The music for the thirds stanza is slightly different from the music for the first two, so I want the layout like this: |: notes for stanzas 1 2 :| notes for stanza 3 || |: words for stanzas 1 2 :| words for stanza 3 || For some reason Lilypond cannot figure out what I want. I get only the first two stanzas or all three stanzas crammed into the last section. How do I do this? I'm not new to LP, but this is baffling me. Thanks, John Kelly ___ 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
New Articulate script available for better midi output
Hi Folks, There's a new version of the `articulate' script available at http://www.nicta.com.au/people/chubbp/articulate Changes are: -- fix bad synchronisation after breathing, explicit line break and fingering events -- add staccatissimo -- fix duration of trillspanners Thanks to all the people who gave feedback/bugreports/patches (there were three people who sent staccatissimo patches!) For those who don't know yet, `articulate' is a bunch of scheme code that rewrites lily input to make it sound right in the midi output; basically shortening notes to mark out phrase and slur ends, staccato and staccatissimo, and realising trills, turns and some tempo markings. You use it by: \include articulate.ly \score { \unfoldRepeats \articulate put your music here \midi{} } (or there's a convenience script called `lilywrap' in the tarball that makes exactly these additions to a lilypond file and invokes lilypond for you). Peter C The direct download link is http://www.nicta.com.au/__data/assets/file/0009/21888/articulate-1.3.tar.gz -- Dr Peter Chubb peter DOT chubb AT nicta.com.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia All things shall perish from under the sky/Music alone shall live, never to die ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
svg output
Am I wrong in thinking that when the SVG output is usable for Windows machines, then that output can be imported into Inkscape, where it can be worked on further to produce pages like those in children's piano tutors, with pictures, circles around clefs or key signatures, pretty much any sort of notation and graphic on the same page? Gerard___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: svg output
SVG is not specific to Windows--- it is a web standard. If Inkscape can manipulate SVG then you can do as described... --hsm On Tue, Jan 19, 2010 at 4:32 PM, Gerard McConnell gerry...@indigo.ie wrote: Am I wrong in thinking that when the SVG output is usable for Windows machines, then that output can be imported into Inkscape, where it can be worked on further to produce pages like those in children's piano tutors, with pictures, circles around clefs or key signatures, pretty much any sort of notation and graphic on the same page? Gerard ___ 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: LilyPond 2.13.10 (OSX) Font Issues
On 2010-01-14, Keaton Mowery wrote: Here's the ./configure output: http://pastebin.com/m3daee40b Hmm. I don't see anything wrong/unusual about this output. Also, your patch below doesn't affect later behavior, so your font issue is still unresolved. Can you compile LilyPond on different machines to compare logs of configure, make, etc. ? I don't know how else I would debug this problem, since I've never seen these specific symptoms before. I did modify the configure script to use the python-config program on OSX, the patch is below. I'm fairly sure that this won't change later behavior. diff --git a/configure b/configure index 914184d..a54bb09 100755 --- a/configure +++ b/configure @@ -790,6 +790,7 @@ with_localedir with_lang with_python_include with_python_lib +with_python_config ' ac_precious_vars='build_alias host_alias @@ -8635,6 +8636,11 @@ $as_echo $as_me: WARNING: Usage: --with-python-lib=name 2;} fi +if test ${with_python_config+set} = set; then + withval=$with_python_config; + PYTHON_CFLAGS=`python-config --includes` + LDFLAGS=$LDFLAGS `python-config --ldflags` +fi for ac_prog in python-config do Can you explain why you need this? This is a little over my head. If you want to get this integrated with LilyPond, you'll need to patch the higher-level autoconf files, since configure is autogenerated. It looks like stepmake/aclocal.m4 is where the various python-config checks are made. Thanks, Patrick ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
measure length and decresendo
I need to make a chart of rhythmic fragments consisting of one or two measures per line the measures need to be centered on the line there will be 10 - 12 lines per page and each fragment needs to be uniformly approx 3-4 inches in length and contain the meter (4/8) and a rhythm 'clef' next to each of the fragments will be a small text box with some instructions or notes so far what I've been doing is using the Lilypond plugin for OpenOffice and generating the measure one at a time and centering them on a page now that I've gotten this far I now need to add dynamics and stick info here is a problem I'm running into: one measure I want to make has the last note of a tuplet tied to the first note of another tuplet in the following measure and I get a 'decresendo too small' warning when I try to compile it how do I make the measures longer so I can place the descresendo? %1 \drums { \time 4/8 \tupletUp \times 2/3 {r2 sn4:32~\f\ } \times 2/3 {sn4:32\! \ppp r2 } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: measure length and decresendo
Kim, Have you tried exploiting OpenOffice.org's tables capabilities? http://notesettersinc.blogspot.com/2009/11/openofficeorg-and-ooolilypond-extension_11.html Regards, David Kim Cascone wrote: I need to make a chart of rhythmic fragments consisting of one or two measures per line the measures need to be centered on the line there will be 10 - 12 lines per page and each fragment needs to be uniformly approx 3-4 inches in length and contain the meter (4/8) and a rhythm 'clef' next to each of the fragments will be a small text box with some instructions or notes so far what I've been doing is using the Lilypond plugin for OpenOffice and generating the measure one at a time and centering them on a page now that I've gotten this far I now need to add dynamics and stick info here is a problem I'm running into: one measure I want to make has the last note of a tuplet tied to the first note of another tuplet in the following measure and I get a 'decresendo too small' warning when I try to compile it how do I make the measures longer so I can place the descresendo? %1 \drums { \time 4/8 \tupletUp \times 2/3 {r2 sn4:32~\f\ } \times 2/3 {sn4:32\! \ppp r2 } } ___ 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