Re: Is GridLY the future?
Am 03.05.2015 um 06:28 schrieb Werner LEMBERG: The behaviour that discouraged me from working on LilyPond for some time was not obviously unacceptable (i.e. it wasn't some ad hominem attack, nor anything else unanimously condemned by others). Rather, it was the general attitude of some people who sometimes seem to oppose changes only because they personally don't like them (or think they're not important), without even suggesting reasonable alternatives. This is what I meant with `defending your code'. And sometimes it simply happens that there is no concensus. I hope you simply didn't read Janek's comment carefully enough. The main point in his last sentence is not about the alternative but about an attitude of rejecting suggestions simply because one doesn't understand their use case. Which *is* off-putting in a non-constructive manner that can't really be justified with "defeding code". Urs Werner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Thumb in fret-diagram
Quick question how does one put a thumb in the fret-diagram fingering? apparently it was added 4 years ago but i can't seem to figure it out. I thought I could change mute string but it doesn't go below... that i can figure. My markup is \fret-diagram #"6-1;5-3-3;4-3-4;3-2-2;2-1-1;1-o;" Also i have to use 3 files to get control over distance of title fret-diagram and score ... is there a better way? 1. score 2. fretboard-diagram 3. mix with header \markup {\vspace #0.3 } \include "Example-Chords.ly" \markup {\vspace #2.5 } \markup \halign #-19 \fontsize # -2.5 \lower #0 {"A band Name"} \include "example.ly" \header { title = "Song Title" subtitle = \markup \fontsize #-2.2 "Words and music by ..." copyright = \markup \fontsize #-2.2 "©1999, Warner Bros." tagline = ##f } here is my example http://mglessons.com/lilypond/Example-Score.pdf Thanks Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Is GridLY the future?
> The behaviour that discouraged me from working on LilyPond for some > time was not obviously unacceptable (i.e. it wasn't some ad hominem > attack, nor anything else unanimously condemned by others). Rather, > it was the general attitude of some people who sometimes seem to > oppose changes only because they personally don't like them (or > think they're not important), without even suggesting reasonable > alternatives. This is what I meant with `defending your code'. And sometimes it simply happens that there is no concensus. Werner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fedora 21 and lilypond 2.19.19
Hi Martin, I totally agree. This is actually the first proper bug I have come across myself in lilypond. How does one submit a bug report, and where? And by the way, I do feel my issue is separate from the other recent Fedora ones. Andrew On 3/05/2015 05:36, "Martin Tarenskeen" wrote: > >Let's keep the bugreports and discussion clean and clear. I started the >discussion, and I feel the need to say this. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
no score displayed
Hi, lilyponders, I code first 9 bars of solo + piano - strange : no notes displayed when compile. Please refer to .png and .ly. I am running v2.19.19I switch v2.18.2 - I encounter the same result. Immanuel,Ming\version "2.19.19" \language "english" \header { title = "æ±ä¸»ææå¦ä½ç¦±å" subtitle = "Lord, Teach Me How To Pray" composer = "æ²: é»æ¥¨è" poet = "è© : é³ä¾ç" % Remove default LilyPond tagline tagline = ##f } \paper { #(set-paper-size "letter") } \layout { \context { \Voice \consists "Melody_engraver" \override Stem #'neutral-direction = #'() } } global = { \key ef \major \time 4/4 \tempo "Moderato" 4=100 } sopranoVoice = { \global \dynamicUp r1 r1 r1 r1 \break %m01-04 r2 r4 bf4 |%m05 ef'4. f8 g'8 ef'8 e'8. f'16 |%m06 g'2. bf4 |%m07 c'4. d'8 ef'8 f'8 e'8. c'16 |\break %m08 b2. g'8 8 |%m09 } verse = \lyricmode { % Lyrics follow here. } right = \relative c'' { \global % Music follows here. } left = \relative c' { \global % Music follows here. } sopranoVoicePart = \new Staff \with { instrumentName = "S." shortInstrumentName = "S." midiInstrument = "choir aahs" } { \sopranoVoice } \addlyrics { \verse } pianoPart = \new PianoStaff \with { instrumentName = "Pno." shortInstrumentName = "Pno." } << \new Staff = "right" \with { midiInstrument = "acoustic grand" } \right \new Staff = "left" \with { midiInstrument = "acoustic grand" } { \clef bass \left } >> \score { << \sopranoVoicePart \pianoPart >> \layout { } \midi { } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Font question.
Hi, 2015-05-03 2:13 GMT+02:00 Hwaen Ch'uqi : > Greetings All, > > I realize that this may be an obvious question, but could anyone tell > me what is the default font used for text in LilyPond? What is the > nearest Microsoft equivalent? it's New Century Schoolbook. I don't know what M$oft equivalent would be, but i expect you should be able to download it freely and install. best, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Font question.
Greetings All, I realize that this may be an obvious question, but could anyone tell me what is the default font used for text in LilyPond? What is the nearest Microsoft equivalent? Hwaen Ch'uqi ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Is GridLY the future?
Hi, 2015-04-28 7:49 GMT+02:00 Werner LEMBERG : > >>> Actually I'm quite convinced that this situation has a notable >>> impact on the overall development activiyt. > > I don't think so. Have you ever observed the development of Emacs or > the Linux kernel, for example by reading the `emacs-devel' list? The > rules there are *much* stricter than lilypond's one w.r.t. coding > style, overall structure, etc., and in spite of this there is *a lot* > of development going on. IMO it doesn't make sense to compare LilyPond to Linux kernel, because: - people interested in contributing to kernel are experienced software developers. It makes sense to demand good coding style etc. from seasoned pros, and tell them to go away if they cannot manage to write well-structured code by themselves. OTOH, LilyPond contributors are often amateurs who need significant tutoring before their code is well-written (that's not a problem at all, as they are all willing to learn - but the community must not scare them away). - there are so many people interested in working on kernel that even if Linus offends 3/4 of them he'll still have enough left. - actually a lot of kernel devs are employed by big companies to work on kernel. It's their job to cope with kernel community, however it looks like. >> I agree with Urs - in my opinion LilyPond is not developer-friendly >> enough. Actually it's one of the reasons why I was away for so long >> - the friction in the community caused me to loose some motivation >> to work on LilyPond. And I'm not the only one. > > Indeed, this is unfortunate. Ideas to improve the overall situation > are highly welcome – IIRC, Graham made a lot of good suggestions how > to lead contributors. However, what we need is more developers that > are *really* interested in developing lilypond! People who are scared > away by a few harsh but factual comments don't count IMHO. Of course, > ad-hominem attacks are definitely a no-go, but everything else has to > be seen in the light of improving lilypond. The behaviour that discouraged me from working on LilyPond for some time was not obviously unacceptable (i.e. it wasn't some ad hominem attack, nor anything else unanimously condemned by others). Rather, it was the general attitude of some people who sometimes seem to oppose changes only because they personally don't like them (or think they're not important), without even suggesting reasonable alternatives. best, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
Hi David, > > Out of curiosity, do you get results with color-tweaks2.ly (attached > > somewhere above)? > Same thing: the EE-added tweak gets executed, but doesn’t appear in the log > output. > So it doesn't get colored? Sorry… let me be more clear. I \include-d the edition-engraver, and compiled twice: once with an \editionMod to move the [initial] Clef, and once without. The first time, the Clef moved (as expected) and was coloured (as hoped); the second time, the Clef was neither moved nor coloured (both as expected). HOWEVER, the console output was identical in both cases: the tweak was not recorded in the output (as I thought it should have been?). Hope that helps. Kieren. p.s. Why not just download the edition engraver .zip file (https://github.com/openlilylib/openlilylib/archive/master.zip) and test things yourself? Here’s all you need to add: 1. At the top \include "openlilylib-master/editorial-tools/edition-engraver/definitions.ily" \addEdition test \editionMod test 1 0/4 test.Score.A \once \override Score.Clef.extra-offset = #'(0 . 2) 2. Somewhere else \layout { \context { \Score \consists \editionEngraver test } } 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
Re: Question about copyrights and licenses on the LSR
> It's all public domain. From http://lsr.di.unimi.it/LSR/html/whatsthis.html: > "The content of the database is public domain, so you can use it, copy it, > modify and redistribute it with no obligation." Ah, thank you very much for pointing that out. That saves me a lot of hassle. Dave On Sat, May 2, 2015 at 3:24 PM, Nathan Ho wrote: > On Sat, May 2, 2015 at 3:17 PM, David Bellows wrote: >> >> Hey all, >> >> I'm trying get everything organized and altogether legal and >> what-have-you with respect to my big music/software project the >> Platonic Music Engine (www.platonicmusicengine.com) which means that I >> need to make sure all the dependencies I'm using have the appropriate >> license and copyright information. >> >> I am using a few snippets hosted on the LSR but notice that at least >> these don't have any copyright notices or licenses and I don't see >> anything on the LSR about some general licensing thing that applies to >> all the submissions. > > > It's all public domain. From http://lsr.di.unimi.it/LSR/html/whatsthis.html: > > "The content of the database is public domain, so you can use it, copy it, > modify and redistribute it with no obligation." > > Regards, > Nathan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
On Sat, May 2, 2015 at 6:08 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > Out of curiosity, do you get results with color-tweaks2.ly (attached > somewhere above)? > > Same thing: the EE-added tweak gets executed, but doesn’t appear in the > log output. > So it doesn't get colored? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
Hi David, > Out of curiosity, do you get results with color-tweaks2.ly (attached > somewhere above)? Same thing: the EE-added tweak gets executed, but doesn’t appear in the log output. 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
Re: Suggest a condensed old style or transitional font for lyrics?
2015-04-30 17:51 GMT+02:00 Abraham Lee : > I've got a handful of others (perfect for this purpose and just beautiful in > general) that I'd be willing to recreate from some nice scanned samples if > anyone was willing to sponsor the effort. How much sponsoring would you need? I'm afraid I may not be able to afford it at the moment, but I'd be really interested in seeing this happen. Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Question about copyrights and licenses on the LSR
On Sat, May 2, 2015 at 3:17 PM, David Bellows wrote: > Hey all, > > I'm trying get everything organized and altogether legal and > what-have-you with respect to my big music/software project the > Platonic Music Engine (www.platonicmusicengine.com) which means that I > need to make sure all the dependencies I'm using have the appropriate > license and copyright information. > > I am using a few snippets hosted on the LSR but notice that at least > these don't have any copyright notices or licenses and I don't see > anything on the LSR about some general licensing thing that applies to > all the submissions. > It's all public domain. From http://lsr.di.unimi.it/LSR/html/whatsthis.html: "The content of the database is public domain, so you can use it, copy it, modify and redistribute it with no obligation." Regards, Nathan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Question about copyrights and licenses on the LSR
Hey all, I'm trying get everything organized and altogether legal and what-have-you with respect to my big music/software project the Platonic Music Engine (www.platonicmusicengine.com) which means that I need to make sure all the dependencies I'm using have the appropriate license and copyright information. I am using a few snippets hosted on the LSR but notice that at least these don't have any copyright notices or licenses and I don't see anything on the LSR about some general licensing thing that applies to all the submissions. So is there some blanket license involved? Is there any informed opinion but if I even need to worry about it? Etc? My software uses the Affero GPL, if that's helpful. Dave Bellows ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
any LilyPonders who'd like to meet in California?
Hello, I'll be in San Francisco area for the next three weeks - anyone would like to meet? It would be great :) best, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: my favorite bug :-)
Observing all the energy devoted to this critical issue, I have to wonder how many extraordinary symphonies, operas, and cantatas will NOT be written because some folks are too easily distracted by minutia I could live 5 lifetimes, and this issue would never get more than 5 seconds of my time, if I even every encountered it. Where, or where, have I gone wrong :) t. On Sat, May 2, 2015 at 2:14 PM, Martin Tarenskeen wrote: > > Hi, > > this little (simplified) shell script (I have called it ly2pdf) > > #!/bin/sh > INFILE="$1" > OUTFILE=${INFILE%.ly}.pdf > lilypond --ps -o $$ "$INFILE" > ps2pdf $$.ps "$OUTFILE" > rm -f $$.ps > > demonstrates the kind of mechanism that LilyPond needs. (But without > needing such a script). It fixes the "lines.ly" issue, and it fixes > accidentally and brutally deleting an already existing .ps file. > > (With "simplified" I mean: you can not use any options or multiple files > on the commandline with this script. It's just a demo) > > > -- > > MT > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > -- ~ My life is full of mistakes. They're like pebbles that make a good road. ~ Ceramic artist Beatrice Wood, who practiced her art until she was 103. ~ Tom Cloyd, MS MA LMHC (WA) Psychotherapist (psychological trauma, dissociative disorders) Spokane, Washington, U.S.A: (435) 272-3332 << t...@tomcloyd.com >> (email) << TomCloyd.com >> (website) ~ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
Kieren, On Fri, May 1, 2015 at 3:28 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > This looks pretty amazing so far — thanks for the great work! > > When I try to apply it to a score with edition-engraver tweaks, it doesn’t > seem to colour anything tweaked using the EE. > It does seem to colour things tweaked otherwise (e.g., in the “content”). > > Maybe I’m doing something wrong? I’m simply using > > \colorOverride \theScore > > Out of curiosity, do you get results with color-tweaks2.ly (attached somewhere above)? David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
On Sat, May 2, 2015 at 3:56 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > Aha. So in the console do you see something like > > No… =) > > (make-music > 'SequentialMusic > 'elements > (list (make-music > 'NoteEvent > 'pitch > (ly:make-pitch 1 0) > 'duration > (ly:make-duration 2 > > That’s it. > > :( Another discovery is making me think that there is just no good way to solve this problem. Try: \colorOverride { \override NoteHead.X-extent = #'(-1 . 1) \override NoteHead.font-size = 3 \override NoteHead.stencil = #ly:note-head::print c1 \revert NoteHead.X-extent c1 \revert NoteHead.font-size c1 \revert NoteHead.stencil c1 } A single revert kills the color, even though two overrides are in effect. Conversely. using \markAllAlteredGrobs (in color-tweaks2.y above, not to be confused with colorTweaks2.ly), only the last \revert removes the color, which is as it should be. Try: { \override NoteHead.X-extent = #'(-1 . 1) \override NoteHead.font-size = 3 \override NoteHead.stencil = #ly:note-head::print c1 \revert NoteHead.X-extent c1 \revert NoteHead.font-size c1 \revert NoteHead.stencil c1 } \layout { \context { \Score \markAllAlteredGrobs } } I just don't think there is any way to do this perfectly. Maybe I'll try an engraver, since it looks like we need live grobs (the \markAllAlteredGrobs approach) DN ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: my favorite bug :-)
Hi, this little (simplified) shell script (I have called it ly2pdf) #!/bin/sh INFILE="$1" OUTFILE=${INFILE%.ly}.pdf lilypond --ps -o $$ "$INFILE" ps2pdf $$.ps "$OUTFILE" rm -f $$.ps demonstrates the kind of mechanism that LilyPond needs. (But without needing such a script). It fixes the "lines.ly" issue, and it fixes accidentally and brutally deleting an already existing .ps file. (With "simplified" I mean: you can not use any options or multiple files on the commandline with this script. It's just a demo) -- MT ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
Hi David, > Aha. So in the console do you see something like No… =) (make-music 'SequentialMusic 'elements (list (make-music 'NoteEvent 'pitch (ly:make-pitch 1 0) 'duration (ly:make-duration 2 That’s it. 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
Re: Jianpu Notation
> On May 1, 2015, at 3:43 AM, Werner LEMBERG wrote: >> >> Would it be worth defining “flip” functions that call >> ly:stencil-scale with negative, non-scaling, numbers (i.e. -1) ? > > IMHO, no. Ok, having looked more into this I think it would be worth it. I just sent an email to the dev list, so discussion can continue there. -Paul ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fedora 21 and lilypond 2.19.19
On Sat, 2 May 2015, N. Andrew Walsh wrote: I fixed this issue on my system by reverting to a previous version of fontconfig (see the other post in the list that talks about F22, or my bug report on the bug-list). What version of fontconfig are you using? I found that reverting to 2.11.1 (the latest available on my system is 2.11.93) fixed this issue. The command that's failing is 'gs', but that wasn't -- at least for me -- the source of the failure. I tried reverting fontconfig from 2.11.93 to 2.11.1 and that didn't fix the problem with LilyPond on Fedora 22 for me. Instead it introduced new error messages. IMO downgrading a component (even if it would work, which on my system it doesn't) is not a real bugfix, only a workaround. There is always the risk that downgrading a component solves one issue, but (re-)introduces other bugs that were fixed in the newest version of that component. Also read my other reaction, about keeping different issues separate. -- MT ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fedora 21 and lilypond 2.19.19
On Sat, 2 May 2015, Andrew Bernard wrote: Is this a known issue? Should I stay safely on Mint? I see recent discussion about difficulties with Fedora 22 and ghostscript. I have LilyPond 2.19.19 working on Fedora 21 running without problems, and on Fedora 22 I can't compile any *.ly file at all. So it seems you are having a different problem. I think we must be careful to keep different (LilyPond) issues that people are reporting here separate, if we are not really sure that they are in any way related. Or if weknow they are different issues. I am summing up some of the issues I have seen in the list that we really should kee seperated for now: - Fedora 21 vs Fedora 22 - Ghostscript 9.15 vs 9.16 in combination with LilyPond 2.19.19 - problems with new fontconfig - Ghostscript using "lines.ps" from the Ghostscript search path instead of the filename specified when calling gs. - LilyPond brutally overwrites an already existing .ps file when an .ly inputfile is used to create a .pdf file, (instead of properly creating a decent temporary filename) - and now the issue from Andrew Bernard These are really different subjects, that sometimes might, or might not, be related. Let's keep the bugreports and discussion clean and clear. I started the discussion, and I feel the need to say this. -- MT ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fedora 21 and lilypond 2.19.19
I fixed this issue on my system by reverting to a previous version of fontconfig (see the other post in the list that talks about F22, or my bug report on the bug-list). What version of fontconfig are you using? I found that reverting to 2.11.1 (the latest available on my system is 2.11.93) fixed this issue. The command that's failing is 'gs', but that wasn't -- at least for me -- the source of the failure. HTH, A On Sat, May 2, 2015 at 4:13 PM, Andrew Bernard wrote: > Not sure it is the same problem. What I think is that Linux Biolinum O is > too large, and the end to end system does not deal with it. Running > lilypond verbosely: > > Invoking `gs -dSAFER -dDEVICEWIDTHPOINTS=595.28 > -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH > -r1200 -sDEVICE=pdfwrite -sOutputFile=./sonata.pdf -c.setpdfwrite - > fsonata.ps'... > > GPL Ghostscript 9.15 (2014-09-22) > Copyright (C) 2014 Artifex Software, Inc. All rights reserved. > This software comes with NO WARRANTY: see the file PUBLIC for details. > Fontmap entry for Fontmap.local ends prematurely! Giving up. > Unrecoverable error: undefinedfilename in setpagedevice > Operand stack: > --nostringval-- --nostringval-- Fontmap.local .runlibfileifexists > true --nostringval-- --nostringval-- --nostringval-- --nostringval-- > --nostringval-- --nostringval-- --nostringval-- --nostringval-- > warning: `(gs -dSAFER -dDEVICEWIDTHPOINTS=595.28 > -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH > -r1200 -sDEVICE=pdfwrite -sOutputFile=./sonata.pdf -c.setpdfwrite - > fsonata.ps)' failed (256) > > Andrew > > > > On 2/05/2015 23:57, "Phil Holmes" wrote: > > Looks like the same problem that others are reporting with Fedora. > > What output do you get (specifically the output concerned with > Ghostscript) if you run Lilypond in verbose mode? > > > ___ > 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: Guitar Tab Quarter Tone Bends
Yes it uses the definitions.ily Thanks for that :) Stephen On Sat, May 2, 2015 at 1:07 PM, Marc Hohl wrote: > Hi Stephen, > > thanks for sharing! I see that you worked from scratch and used BendAfter > stencil overrides – do you know the solution posted in > > > https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending > > There I used slurs to fake bends – still not optimal, but at least > lilypond calculates the arrows automatically. > > Cheers, > > Marc > Am 02.05.2015 um 15:14 schrieb Stephen MacNeil: > >> here >> >> Stephen >> > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar Tab Quarter Tone Bends
Am 02.05.2015 um 15:12 schrieb Stephen MacNeil: Hi Marc >Yes, please! Is it based on bend.ily, or did you wrote it from scratch? I>IRC, 1/4 bends were possible in bend.ily ... It uses definitions.ily which I believe is based on bend.ily i think. Yes. I wasn't aware of this file being renamed (and I did not see this message when I answered your private message). Great work by the way! And yes quarter tones are possibly however It dies if the tab is printed. Oh. I think I included the glyphs ¼ and so on but apparently, this is a font issue. This never bothered me as I removed the tab sections from the file anyway, and it works without it. Anyway as I said this is a "Band Aid" solution, basically it just adds whatever you put in 1 1/3 2 1/4 etc by covering the old marking (not a great solution) and changes the accidental. Hence Band aid! It allows printing them with tab, which is what was needed. I see. Cheers, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
2015-05-02 18:53 GMT+02:00 David Nalesnik : > Hi Harm, > > On Sat, May 2, 2015 at 11:45 AM, Thomas Morley > wrote: >> >> 2015-05-02 17:20 GMT+02:00 David Nalesnik : >> >> > [...] >> > OK! Though I am disappointed you don't have a magical way to put scores >> > in >> > variables :) >> > [...] >> > >> > David >> >> >> start snippet >> >> \version "2.19.18" >> >> m = \new Staff { c''1 } >> >> mL = >> \layout { >> \context { >> \Score >> \override NoteHead #'color = #red >> } >> } >> >> %myS = \score { \m \layout { \mL } } %% for 2.18.2 >> myS = \score { \m \mL } >> >> myB = >> \book { >> \header { title = "book-title" } >> \myS >> } >> >> \myS >> >> \myB >> >> end snippet >> >> >> works for me ;) >> > > Useful snippet! > > But unfortunately, you can't do > > \displayMusic \myS > > because \myS produces a # object, not a music expression. Yep, though you can do: \displayMusic #(ly:score-music myS) > > --David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
Hi Harm, On Sat, May 2, 2015 at 11:45 AM, Thomas Morley wrote: > 2015-05-02 17:20 GMT+02:00 David Nalesnik : > > > [...] > > OK! Though I am disappointed you don't have a magical way to put scores > in > > variables :) > > [...] > > > > David > > > start snippet > > \version "2.19.18" > > m = \new Staff { c''1 } > > mL = > \layout { > \context { > \Score > \override NoteHead #'color = #red > } > } > > %myS = \score { \m \layout { \mL } } %% for 2.18.2 > myS = \score { \m \mL } > > myB = > \book { > \header { title = "book-title" } > \myS > } > > \myS > > \myB > > end snippet > > > works for me ;) > > Useful snippet! But unfortunately, you can't do \displayMusic \myS because \myS produces a # object, not a music expression. --David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
2015-05-02 17:20 GMT+02:00 David Nalesnik : > [...] > OK! Though I am disappointed you don't have a magical way to put scores in > variables :) > [...] > > David start snippet \version "2.19.18" m = \new Staff { c''1 } mL = \layout { \context { \Score \override NoteHead #'color = #red } } %myS = \score { \m \layout { \mL } } %% for 2.18.2 myS = \score { \m \mL } myB = \book { \header { title = "book-title" } \myS } \myS \myB end snippet works for me ;) Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
On Fri, May 1, 2015 at 6:02 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > Would you mind trying an extremely small score with the > edition-engraver, something like (however you would set it up) > > > > \displayMusic > > { > > \override NoteHead.font-size = 2 > > c’’ > > } > > I used > > \version "2.19" > \include > "openlilylib-master/editorial-tools/edition-engraver/definitions.ily" > \addEdition test > \editionMod test 1 0/4 test.Score.A \override NoteHead.font-size = 2 > override-color = #red > tweak-color = #blue > colorOverride = […] %% full function definition would be here > \layout { \context { \Score \consists \editionEngraver test }} > \displayMusic { c’' } > > The output remained the same (i.e., the NoteHead font-size did change). > Aha. So in the console do you see something like: (make-music 'ContextSpeccedMusic 'create-new #t 'property-operations (list (list 'push 'NoteHead 2 'font-size)) 'context-type 'Staff 'element (make-music 'SequentialMusic 'elements (list (make-music 'NoteEvent 'pitch (ly:make-pitch 0 0) 'duration (ly:make-duration 2) %%% If so, the edition engraver is doing the equivalent of: \new Staff \with { \override NoteHead.font-size = 2 } { c' } and I may be able to get at that through 'property-operations. David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
On Sat, May 2, 2015 at 10:20 AM, David Nalesnik wrote: > > > On Sat, May 2, 2015 at 9:38 AM, Kieren MacMillan < > kieren_macmil...@sympatico.ca> wrote: > >> Hi David, >> >> > Could you clarify how you are defining \theScore here? >> >> Sorry… that was pseudocode. My actual [minimized] score code was: >> >> \score { >> \colorOverride << >> \new Staff \someMusic >> …. >> >> >> } >> > > OK! Though I am disappointed you don't have a magical way to put scores > in variables :) > > >> >> I’m not sure about others (Jan-Peter?), but for the edition-engraver, I >> would like to do something more like: >> >> \score { >> << >> \new Staff \someMusic >> >> >> \layout { >> \context { >> \Score >> \consists \editionEngraver editionName >> \colorOverride >> } >> } >> } >> >> > The above code would work with the first approach, where \ > markAllAlteredGrobs basically created a long series of \overrides of > every grob which might have a stencil. This involved setting the > 'after-line-breaking property of all such grobs to a callback which > examined the property lists of living, breathing grob instances to see if > anything had been added to the default property list stored in the global > variable all-grob-descriptions. The idea being that the list would change > with any override. > > This approach quickly got hairy. > > For one thing, clefs get their 'glyph property added later on. That was > why initially all clefs got colored, even the default treble clef that you > get with { c d e f }, for example. Who knows if there are other such cases. > > For another, tweaks--unlike overrides--do not result in a change to the > grob's basic property alist. To get at tweaks, it is necessary to find the > "music-cause" of the grob--i.e., find the music expression which lead > ultimately to its creation. Luckily the stream event carries a reference > to this earlier stage of processing. (BTW, there is a note somewhere in > the source that says this reference ought to be removed at some stage.) > > (This method also--like the music function \colorOverride--can't get at > properties overridden in a \layout \context block. I really don't know how > to do that, and I hope that someone can give me a way!) > > It occurred to me that it was more natural to simply look at the music > input. The method above tries to detect overrides by a sneaky method of > comparing property alists with default alists, bound to break down or lead > to complexities (as with the special casing of Clef.glyph). Why not just > look at the music expression for OverrideProperty, RevertProperty--there's > no mistaking those for override or revert. > > Plus, it's easy to tell if it's a user override or one that happened > through \voiceOne, \voiceTwo so half the stems in the piece don't turn > green. > > This would be the method you hint at below: > > > or >> >> \addEdition editionName 1 0/4 editionName.Score.A \colorOverride >> \score { >> << >> \new Staff \someMusic >> >> >> \layout { >> \context { >> \Score >> \consists \editionEngraver editionName >> } >> } >> } >> > > And this *should* work just fine. Except that I believe that the > editionEngraver adds the overrides outside of the music expression somehow. > Therefore, they are invisible to \colorOverrides. > > (I wonder if Jan-Peter could clarify what it is that the engraver does; > I'm not familiar with the code, and fear that I've misrepresented it.) > > I *would* like to figure out how to get into the \layout block to color > those overrides too. However, I'm guessing that this will have to be done > by a second function, a two-pass approach to coloring the score. And, > again, I need advice on how to write such a function :) > > OK, why don't I just try the obvious? To wit: %%% \colorOverride { \tweak font-size 3 c'1 \tweak NoteHead.font-size 3 \tweak Stem.thickness 2 c'2 <\tweak NoteHead.font-size 3 c' e'>1 \override NoteHead.font-size = 4 c'1 \temporary \override NoteHead.font-size = 12 c'1 \revert NoteHead.font-size \revert Score.BarLine.X-extent \revert Staff.Clef.stencil \clef alto c'1 } \layout { \context { \Score { \colorOverride { \override BarLine.X-extent = #'(-2 . 2) } } } \context { \Staff \colorOverride { \override Clef.stencil = #(lambda (grob) (ly:stencil-rotate (ly:clef::print grob) -15 0 0)) } } } %%% Notice that the \revert-s in the music expression actually work on the stuff from the context block. DN ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
On Sat, May 2, 2015 at 10:20 AM, David Nalesnik wrote: > > the function \colorOverride[1] > > Forgot the footnote. [1} This really ought to be named \colorTweaks instead. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
On Sat, May 2, 2015 at 9:38 AM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > Could you clarify how you are defining \theScore here? > > Sorry… that was pseudocode. My actual [minimized] score code was: > > \score { > \colorOverride << > \new Staff \someMusic > …. > >> > } > OK! Though I am disappointed you don't have a magical way to put scores in variables :) > > I’m not sure about others (Jan-Peter?), but for the edition-engraver, I > would like to do something more like: > > \score { > << > \new Staff \someMusic > >> > \layout { > \context { > \Score > \consists \editionEngraver editionName > \colorOverride > } > } > } > > The above code would work with the first approach, where \ markAllAlteredGrobs basically created a long series of \overrides of every grob which might have a stencil. This involved setting the 'after-line-breaking property of all such grobs to a callback which examined the property lists of living, breathing grob instances to see if anything had been added to the default property list stored in the global variable all-grob-descriptions. The idea being that the list would change with any override. This approach quickly got hairy. For one thing, clefs get their 'glyph property added later on. That was why initially all clefs got colored, even the default treble clef that you get with { c d e f }, for example. Who knows if there are other such cases. For another, tweaks--unlike overrides--do not result in a change to the grob's basic property alist. To get at tweaks, it is necessary to find the "music-cause" of the grob--i.e., find the music expression which lead ultimately to its creation. Luckily the stream event carries a reference to this earlier stage of processing. (BTW, there is a note somewhere in the source that says this reference ought to be removed at some stage.) (This method also--like the music function \colorOverride--can't get at properties overridden in a \layout \context block. I really don't know how to do that, and I hope that someone can give me a way!) It occurred to me that it was more natural to simply look at the music input. The method above tries to detect overrides by a sneaky method of comparing property alists with default alists, bound to break down or lead to complexities (as with the special casing of Clef.glyph). Why not just look at the music expression for OverrideProperty, RevertProperty--there's no mistaking those for override or revert. Plus, it's easy to tell if it's a user override or one that happened through \voiceOne, \voiceTwo so half the stems in the piece don't turn green. This would be the method you hint at below: or > > \addEdition editionName 1 0/4 editionName.Score.A \colorOverride > \score { > << > \new Staff \someMusic > >> > \layout { > \context { > \Score > \consists \editionEngraver editionName > } > } > } > And this *should* work just fine. Except that I believe that the editionEngraver adds the overrides outside of the music expression somehow. Therefore, they are invisible to \colorOverrides. (I wonder if Jan-Peter could clarify what it is that the engraver does; I'm not familiar with the code, and fear that I've misrepresented it.) I *would* like to figure out how to get into the \layout block to color those overrides too. However, I'm guessing that this will have to be done by a second function, a two-pass approach to coloring the score. And, again, I need advice on how to write such a function :) For people who mix overrides in the music expression and adopt at most a moderate separation of "presentation" and "content" the function \colorOverride[1] should work just fine. Jan-Peter could probably come up with something easily integrated with the editionEngraver to accommodate that more complete separation. Whew...long email. Hope that clarifies the issues! David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
Hi David, > Could you clarify how you are defining \theScore here? Sorry… that was pseudocode. My actual [minimized] score code was: \score { \colorOverride << \new Staff \someMusic …. >> } I’m not sure about others (Jan-Peter?), but for the edition-engraver, I would like to do something more like: \score { << \new Staff \someMusic >> \layout { \context { \Score \consists \editionEngraver editionName \colorOverride } } } or \addEdition editionName 1 0/4 editionName.Score.A \colorOverride \score { << \new Staff \someMusic >> \layout { \context { \Score \consists \editionEngraver editionName } } } Does that make sense? Thanks, 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
Re: Fedora 21 and lilypond 2.19.19
Not sure it is the same problem. What I think is that Linux Biolinum O is too large, and the end to end system does not deal with it. Running lilypond verbosely: Invoking `gs -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile=./sonata.pdf -c.setpdfwrite -fsonata.ps'... GPL Ghostscript 9.15 (2014-09-22) Copyright (C) 2014 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Fontmap entry for Fontmap.local ends prematurely! Giving up. Unrecoverable error: undefinedfilename in setpagedevice Operand stack: --nostringval-- --nostringval-- Fontmap.local .runlibfileifexists true --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- warning: `(gs -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile=./sonata.pdf -c.setpdfwrite -fsonata.ps)' failed (256) Andrew On 2/05/2015 23:57, "Phil Holmes" wrote: Looks like the same problem that others are reporting with Fedora. What output do you get (specifically the output concerned with Ghostscript) if you run Lilypond in verbose mode? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Color tweaks (edition engraver)
On Fri, May 1, 2015 at 3:28 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > This looks pretty amazing so far — thanks for the great work! > > When I try to apply it to a score with edition-engraver tweaks, it doesn’t > seem to colour anything tweaked using the EE. > It does seem to colour things tweaked otherwise (e.g., in the “content”). > > Maybe I’m doing something wrong? I’m simply using > > \colorOverride \theScore > Could you clarify how you are defining \theScore here? Are you defining the score with \new Score { [...] } minus a layout block? I bring this up because I can't see how errors wouldn't arise if you do it any other way. More details: If you do the following-- theScore = \score { [...] } You can get the score appear with \theScore or \theScore \layout { } However, you can't apply the music function \colorOverride to \theScore: \colorOverride \theScore returns the error wrong type for argument 1. Expecting music, found # \colorOverride \myScore Of course, if you put \colorOverride within the score somewhere like: theScore = \score { \colorOverride \new Staff { c' } } all is well. However, you can do theScore = \new Score { [...] } and \colorOverride \theScore will work fine, because \theScore is a music expression %% Does this logic apply to what you're doing, or is there another way? Best, David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fedora 21 and lilypond 2.19.19
Further to this issue, I can run the gs command from the command line and it correctly produces the PDF output. Warnings are issued from gs about font subsets being embedded due to the large fonts I am using: gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile=./sonata.pdf -c.setpdfwrite -fsonata.ps GPL Ghostscript 9.15: Can't embed the complete font LinLibertineO as it is too large, embedding a subset. GPL Ghostscript 9.15: Can't embed the complete font LinBiolinumO as it is too large, embedding a subset. GPL Ghostscript 9.15: Can't embed the complete font LinLibertineOI as it is too large, embedding a subset. So it seems that the warning is being treated as a fatal error, which does not happen on Ubuntu. I don’t seem to be able to ignore the warning with the usual lilypond mechanism, and I don’t see why I need to merely because I am on Fedora. Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fedora 21 and lilypond 2.19.19
Looks like the same problem that others are reporting with Fedora. What output do you get (specifically the output concerned with Ghostscript) if you run Lilypond in verbose mode? -- Phil Holmes - Original Message - From: Andrew Bernard To: lilypond-user@gnu.org Sent: Saturday, May 02, 2015 2:38 PM Subject: Fedora 21 and lilypond 2.19.19 Greetings All, As a long time Mint and Ubuntu user, I am taking a look at Fedora 21 for use with lilypond. With lilypond version 2.19.19 I cannot compile any files, with the following error from ghostscript: warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile=./sonata.pdf -c.setpdfwrite -fsonata.ps)' failed (256) Is this a known issue? Should I stay safely on Mint? I see recent discussion about difficulties with Fedora 22 and ghostscript. It’s not helped by my complete inability to find a listing of ghostscript error codes anywhere, despite looking. Andrew -- ___ 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
Fedora 21 and lilypond 2.19.19
Greetings All, As a long time Mint and Ubuntu user, I am taking a look at Fedora 21 for use with lilypond. With lilypond version 2.19.19 I cannot compile any files, with the following error from ghostscript: warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile=./sonata.pdf -c.setpdfwrite -fsonata.ps)' failed (256) Is this a known issue? Should I stay safely on Mint? I see recent discussion about difficulties with Fedora 22 and ghostscript. It’s not helped by my complete inability to find a listing of ghostscript error codes anywhere, despite looking. Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: staff margins?
Hi Andrew, > I can't seem to find a variable that controls that. Anybody mind briefly > pointing it out to me? http://www.lilypond.org/doc/v2.19/Documentation/notation/flexible-vertical-spacing-paper-variables 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
Re: Guitar Tab Quarter Tone Bends
Hi Marc >Yes, please! Is it based on bend.ily, or did you wrote it from scratch? I>IRC, 1/4 bends were possible in bend.ily ... It uses definitions.ily which I believe is based on bend.ily i think. Great work by the way! And yes quarter tones are possibly however It dies if the tab is printed. This never bothered me as I removed the tab sections from the file anyway, and it works without it. Anyway as I said this is a "Band Aid" solution, basically it just adds whatever you put in 1 1/3 2 1/4 etc by covering the old marking (not a great solution) and changes the accidental. Hence Band aid! It allows printing them with tab, which is what was needed. anyway thanks for the great work in bend.ily for padding reasons always cover 1 with 1, 2 with 2 etc, and the paper section seems to be needed unless you change alignment in the markups. Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Jianpu Notation
Paul & David: I download a merge & compare program. I compare jianpu10.ly & jianpu10a.ly and there is only one line different.Please refer to .png screen capture. Immanuel,Ming. On Saturday, May 2, 2015 6:45 AM, MING TSANG wrote: Paul & David: Paul, thank you for your suggestion to use \tag in lyrics so that one lyrics can now be used by both Staff & jianpuStaff.please review the .png and .ly files. I use David's jianpu10a.ly. I am not quite sure what is the difference between 10 & 10a though. David: are you working on incorporating solfege1 & solfege2 into jianpu10a.ly? ( numbered --> 1 2 3 4 5 6 7 solfege1 -> do re mi fa so la te solfege2 -> d r m f s l t ) Immanuel,Ming. On Friday, May 1, 2015 2:24 PM, Paul Morris wrote: Hi all, Attached is version 10 that fixes: 1. beam appearance (using a new stencil-flip function) 2. duration-only note entry (c'8 8 8 8) 3. key signatures appearing at the beginning of every line The key signature fix was a standard LilyPond override, so adjust as needed: http://lilypond.org/doc/v2.18/Documentation/notation/visibility-of-objects#using-break_002dvisibility Ming, would you please ask your question about tags and lyrics in another thread, since it’s more about how to use tags and not limited to Jianpu? Cheers, -Paul ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Jianpu Notation
Paul & David: Paul, thank you for your suggestion to use \tag in lyrics so that one lyrics can now be used by both Staff & jianpuStaff.please review the .png and .ly files. I use David's jianpu10a.ly. I am not quite sure what is the difference between 10 & 10a though. David: are you working on incorporating solfege1 & solfege2 into jianpu10a.ly? ( numbered --> 1 2 3 4 5 6 7 solfege1 -> do re mi fa so la te solfege2 -> d r m f s l t ) Immanuel,Ming. On Friday, May 1, 2015 2:24 PM, Paul Morris wrote: Hi all, Attached is version 10 that fixes: 1. beam appearance (using a new stencil-flip function) 2. duration-only note entry (c'8 8 8 8) 3. key signatures appearing at the beginning of every line The key signature fix was a standard LilyPond override, so adjust as needed: http://lilypond.org/doc/v2.18/Documentation/notation/visibility-of-objects#using-break_002dvisibility Ming, would you please ask your question about tags and lyrics in another thread, since it’s more about how to use tags and not limited to Jianpu? Cheers, -Paul \version "2.18.2" \language "english" \include "jianpu10a.ly" \header { title = "åæ¶ä¸è¨" subtitle = "7 speech" % Remove default LilyPond tagline tagline = ##f } \paper { #(set-paper-size "letter") } \layout { \context { \Voice \consists "Melody_engraver" \override Stem #'neutral-direction = #'() } } globald = { \key d \major \numericTimeSignature \time 3/4 \tempo 4=100 } \include "include_lyndon-specific.ly" melodyd = { fs'2. | %m01 e'2 a'8. g'16 |%m002 fs'4 fs'2 |%m03 d'4 d''4 cs''8.( b'16) %m04 a'2 b'8. g'16 |\break %m05 fs'2 e'8 fs'8 |%m06 e'8 b8 d'2 |%m07 a'4 fs'2 |%m08 e'4 fs'4 a'8( g'8) |%m09 fs'2 d''4 | \break %m10 cs''8( d''8) e''8( d''8) cs''8( b'8) |%m11 a'2. |%m12 d'4 d''2 |%m13 d''4 cs''4 b'8 a'8 |%m14 fs'2. |\break %m15 d'4 b'2 |%m16 b'4 a'4 g'8 fs'8 |%m17 e'2 a'8( g'8) |%m18 fs'2 fs'8( e'8) |%m19 d'2 d''8( cs''8) |\break %m20 b'2 b'8( a'8) |%m21 g'2 fs'4 |%m22 e'8 d' cs'( e') cs'( d') |%m23 b2. |%m24 b2 cs'8( e'16 d'16) | \break %m25 b2 \tuplet 3/2{g'8( b' g')} |%m26 fs'2 r4 |%m27 fs'8 fs'4~8 r4 |%m28 b'4 a'8( g'8) fs'4 |%m29 e'8 d' cs' e' d' cs' | %m30 b2. \bar"|." } verse = \lyricmode { ç¶ å! 赦 å ä» å, å çº ä» å æ ä½ ç, ä» å ä¸ æ å¾. %{æ 實 å¨ å 訴 ä½ , %} ä» æ¥ ä½ è¦ å æ å¨ æ¨ å 裡 äº. æ¯ è¦ª ç ä½ ç å å, (é å¾) ç ä½ ç æ¯ è¦ª. æ ç ç¥ åª! æ ç ç¥ åª! çº ç 麽 é¢ æ£ æ! æ 渴 äº! æ äº! ç¶ å! æ å° æ é é 交 å¨ ç¥¢ æ 裡. } sk = \tag "SK" {\skip1} verseSK = \lyricmode { ç¶ \sk \sk å! \sk 赦 å ä» å, \sk å çº ä» å \sk æ ä½ ç, \sk ä» å ä¸ æ å¾. \sk %{æ 實 å¨ å 訴 ä½ , %} ä» æ¥ \sk ä½ è¦ å æ \sk å¨ æ¨ å 裡 äº. \sk \sk æ¯ è¦ª \sk ç ä½ ç å å, \sk \sk (é å¾) \sk ç ä½ ç æ¯ è¦ª. \sk æ ç \sk ç¥ åª! \sk æ ç \sk ç¥ åª! \sk çº ç 麽 é¢ æ£ æ! \sk \sk æ \sk 渴 äº! \sk æ äº! \sk \sk ç¶ å! \sk æ å° æ é é 交 å¨ ç¥¢ æ 裡. } verseSolfege = \lyricmode { ç¶2 å!2 赦8. å 16 ä»4 å,2 å 4 çº4 ä»8.~16 å2 æ8. ä½16 ç,2 ä»8 å8 ä¸8 æ8 å¾.2 %{æ 實 å¨ å 訴 ä½ , %} ä»4 æ¥2 ä½ 4 è¦4 å8~8 æ2 å¨4 æ¨8~8 å8~8 裡8~8 äº.2. æ¯4 親2 ç4 ä½ 4 ç8 å 8 å.2. (é4 å¾)2 ç4 ä½ 4 ç8 æ¯8 親.2 æ8~8 ç2 ç¥8~8 åª!2 æ8~8 ç2 ç¥8~8 åª!2 çº4 ç8 麽8~8 é¢8~8 æ£8~8 æ2. æ2 渴8~16~16 äº!2 æ\tuplet3/2{8( 8 8)} äº2 s4 ç¶8 å!4~8 s4 æ4 å°8~8 æ4 é8 é8 交8 å¨8 祢8 æ8 裡2. } verseJ = \lyricmode { ç¶ \skip1 \skip1 å! \skip1 赦 å ä» å, \skip1 å çº ä» å \skip1 æ ä½ ç, \skip1 ä» å ä¸ æ å¾. \skip1 %{æ 實 å¨ å 訴 ä½ , %} ä» æ¥ \skip1 ä½ è¦ å æ \skip1 å¨ æ¨ å 裡 äº. \skip1 \skip1 æ¯ è¦ª \skip1 ç ä½ ç å å, \skip1 \skip1 (é å¾) \skip1 ç ä½ ç æ¯ è¦ª. \skip1 æ ç \skip1 ç¥ åª! \skip1 æ ç \skip1 ç¥ åª! \skip1 çº ç 麽 é¢ æ£ æ! \skip1 \skip1 æ \skip1 渴 äº! \skip1 æ äº! \skip1 \skip1 ç¶ å! \skip1 æ å° æ é é 交 å¨ ç¥¢ æ 裡. } \score { << \new JianpuStaff \jianpuMusic \new Voice = solfege { \globald \melodyd } \new Lyrics \keepWithTag "SK" \lyricsto solfege { \verseSK} \new Staff \new Voice = number{ \globald \melodyd } \new Lyrics \removeWithTag "SK" \lyricsto number { \verseSK } >> \layout { } %\midi { } } \book { \bookOutputSuffix "midi" \score { << %\jianpuVoice %\new JianpuStaff \jianpuMusic { \globald \melodyd } %\new ChordNames \chordNames \new Staff { \globald \melodyd }
staff margins?
Stupid question: I'm looking to specify the margins for the music staff, as separate from the margins for the printable area. This is trivial for most cases (the staff margin is set to zero, or depends on instrument names, for two sides), but for the bottom and top margin I'd like to specify an explicit distance between the printable area and the start of the staff itself (such that space is left for text or annotations, etc.). I can't seem to find a variable that controls that. Anybody mind briefly pointing it out to me? Cheers, A ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user