Re: \omit multiple/list
> Thanks again! > I hope Damian appreciates your response as much as I do. :) > > Certainly do, really helpful use case is borderline, agreed, but I do sometimes need 3 or 4 simultaneous \omits in this very rhythmically complex score. I was just as interested in the mechanics of a solution, so thanks doubly. Damian
Re: Control beaming with tuplets
\tuplet 5/4 ? D > On 24 May 2024, at 09:44, Kenneth Flak wrote: > > Hi, > > I'm trying to replicate the notation in originalHarp.png for harp with > 5-tuplets, but the beaming I am getting is completely off... My attempt is in > the file myAttempt.png, using this code: > > right = { > \relative c'{ >s4 \tuplet 5/2 {c32 e g bf df} >\tuplet 5/2 {c32 e g bf df} >c16 e fs g s4. > > } > } > > left = { > \textLengthOn > \relative c { >\clef bass > c8 e32 g bf df > s4 s4 c,, > } > } > > \score { > \new PianoStaff > << >\new Staff = "right" \right >\new Staff = "left" \left >>> > } > > Any help much appreciated! > > Best, > Kenneth > > -- > Roosna & Flak - Contemporary Dance & Music > Web: roosnaflak.com > Code: {github,gitlab}.com/kflak > Mastodon: @k...@sonomu.club > >
Re: tied sharps after line break
I had this yesterday, wasn’t immediately obvious butAccidentals (LilyPond Notation Reference)lilypond.orghthDamianOn 3 Mar 2024, at 17:39, Martin Tarenskeen wrote:Op zondag 3 maart 2024 om 18:33:26 +01:00:00 schreef Hans Aikema :On 3 Mar 2024, at 17:26, Martin Tarenskeen wrote:Hi LilyPonders,I bumped into a situation similar to this tiny example (In the real score the linebreak happened at such a situation without a forced \break but the result was the same):\relative c' {c4 c c cis ~ |\breakcis cis cis d |}the sharp sign in the 2nd bar is printed twice. I am not sure if that's the correct behaviour?Without a \break the sharp is not printed for the tied 1st cis in the 2nd bar, and only repeated for the 2nd cis in the 2nd bar. I can imagine the reason to print the sharp sign after a linebreak and/or pagebreak. But in such a case I would not repeat the sharp on the snd quarter.The proposed behavior by Elain Gould in Behind bars (p 80) is to have a single sharp, without braces, on the second line before the tied note.Yes, that's what I had in mind. How can I prevent LilyPond from printing a second sharp in the second bar?MT
Re: shifting accidentals horizontally
> Even though I can imagine this happening, I don't recall seeing > it as a pianist. Even if you tweak it to swap the note columns, > I think it will still be a bit confusing. > > There are two obvious fixes: if you are the composer, you could > consider changing the B♭ into an A♯. And the other solution is > to move the B♭ note to the lower staff in a local treble clef. there’s many examples in Bartok, e.g. Sonata, p9 has about 10 of them D
Re: Time signature cancellation
you just want a recent real-world example? Birtwistle: Harrison’s Clocks. D > On 4 Jun 2023, at 14:51, Werner LEMBERG wrote: > > >> >>> Has anyone here ever used or seen the X-shaped time-signature >>> cancellation sign pictured at [1], or anything similar? >> >> It's one standard for open meter. >> >> Here's the Dorico manual info: [...] > > Thanks, but ideally we would like to see a real-world example that > predates recent notation programs – they probably all try to implement > the stuff from Gould's book... > > >Werner
Re: German notation
If it’s bass clarinet notation we’re talking about then all that’s needed is transpose up one octave and make the clef treble throughout. hth Damian > On 29 Jan 2023, at 09:55, Thomas Scharkowski > wrote: > > Hi Wim, > > I looked at the score of the Menuet - I do not find anything extraordinary > there. The Bass clarinet in B flat (Si b) is transposed as usual. I still do > not understand what you mean by „German“ and „French notation“. > > Thomas > > BTW: The French Horn parts (4 Corni) are also transposed, these are in F > (french: Fa). > > >> Am 29.01.2023 um 10:29 schrieb Wim van Dommelen : >> >> Hi Thomas, >> >> "Short" is a dificult concept >> >> I think the best is to point you to a live example, check entry PMLP255074 >> on the (magnificant) IMSLP collection (do not hit print, this is bad for >> your carbon footprint as the full score is 170 pages <;0). I myself looked >> at part III "Menuette" (still 29 pages :-). Within the score look for the >> Bass clarinet line and compare this score with the other instruments, both >> concerning the pitch to play it as checking the key in which it is done. A >> befriended professional player confirmed me this is "German notation". I'm >> looking for help in converting this to the regular way of working. >> >> Regards, >> Wim. >> >> On 29 Jan 2023, at 10:00 , Thomas Scharkowski wrote: >>> >>> Hi Wim, >>> >>> could you provide short example? >>> >>> Thomas >>> >>> PS: I do not unterstand this sentence: << I want to play it properly >>> notation (which is „French“ >> Am 29.01.2023 um 09:43 schrieb Wim van Dommelen : I encountered a piece written in so-called "German notation" and I want to play it properly notation (which is "French" I can do the basic transposes but the key is always interfering and produces strange results. Is there a quick Lilypond recipe to convert this (from "German" to "French" written) ? Thanks, Wim van Dommelen >>> >> > >
Re: irrational meters
I’d just like to say that I really appreciate that Lilypond handles these so effortlessly, whatever they’re called. I do wonder whether ‘irrational’ wasn’t originally perjorative. Damian
Re: Any LyX users? Missing prerequisites: lilypond-book->latex
> > Uh-oh. That's a bit worrisome, since I was stymied by lilypond-book > alone... Since you're the only person so far who seems to have spent > time with LyX, I'll take that under serious advisement... For simple stuff Lyx is much simpler. I’d certainly recommend you try it.
Re: Any LyX users? Missing prerequisites: lilypond-book->latex
fwiw I was never able to get Lyx’s native Lilypond mode working reliably. The manual was, and remains completely unhelpful. That said, it is a good environment for embedding multiple Lilypond generated pdf/eps in a structured text document, because any changes in those pdf/eps files are picked up automatically without having to reimport them (cf MS Word) or even refresh Lyx - they just change. I’ve typeset a long complex analytical doctoral thesis and several harmony/analysis workbooks like this and it works really well. be aware that multi-page lilypond scores need to be imported into Lyx one page at a time - it will not ‘flow’ a score between multiple boxes. My sense is also that for smaller documents, learning Lyx is actually more work than just learning lilypond-book as tweaks outside of what Lyx provides (and there could be many) require you to know your way around normal ()TeX. D > On 30 May 2022, at 19:08, David Wright wrote: > > On Sun 29 May 2022 at 20:30:34 (-0400), Kevin Cole wrote: >> [Asked on the lyx mailing list but, so far, no response.] >> >> I'm running the latest -- and greatest(?) -- release of Pop!_OS, >> which is effectively Ubuntu. Specifically, 22.04 LTS ("Jammy"). >> >> I'm finding myself having a hard enough time with LilyPond alone, >> without the added burden of learning everything about LaTeX, XeTeX, >> LuaTeX, etc, (just to get the font I want) along with LilyPond-Book. >> So, I'm hoping, for what I want to do, that LyX -- which I also don't >> know, will be less of a climb. > > It seems a slightly odd choice to me, as it's designed AIUI to give > a more wysiwyg experience, which would seem to be the opposite of > the lilypond-book workflow. Perhaps I'm wrong. > >> I've just installed LyX and have not adjusted any preferences / >> options / configurations. When I try Help -> Specific Manuals -> >> LilyPond I get a pop-up: > > Very appropriate! > >> __ >> The module lilypond requires a package that is not >> available in your LaTeX installation, or a converter that >> you have not installed. LaTeX output may not be possible. >> Missing prerequisites: >>lilypond-book->latex >> See section 3.1.2.3 (Modules) of the User's Guide for more information. >> __
Re: Openlilylib status
Hi Andrew I was just waiting for an update (and feeling your pain about the server) before using OLL in a ‘real’ project. I’ve gotten familiar with most of it now and it is certainly worth keeping alive. I would use it but I worry about fragility. My python skills are too limited for the deeper tasks, but my offer for testing and documentation help stands. I hope that more help is forthcoming - it does strike me as too big for one person. Best Damian > On 10 Mar 2021, at 22:21, Andrew Bernard wrote: > > Hello All, > > Some time ago I took over the management of the Openlilylib project from Urs > Liska, who was forced to cease the work for personal reasons. I created a > server to host a new website, a Git repository and a Discourse forum and > Openlilylib specific mailing list. The old git repository remains untouched, > but it is no longer taking pull requests. I was in the process of refactoring > the whole git repo to make it easier to use, but have not yet completed that > work. > > To cut to the point, in a moment of complete stupidity I deleted the server > this was running on without thinking to take a backup of the OLL systems. So > the work has currently been put on hold until I make a new server and setup > all the work again. Sadly, nobody has noticed the loss of the website or > forum, which did have a few members, so I wonder if this is worth pursuing > anyway. > > Just letting you know where we are with OpenLilyLib. > > If anybody else is interested in taking over the work, please write and let > me know. > > > Andrew > > > > >
Re: ANN: Frescobaldi 3.1.3
> Despite my best efforts and decades of experience with UNIX, I am > utterly unable to get Frescobaldi document view working on current > Arch Linux. The python-poppler-qt5 refuse to build with complex > dependencies on sip that are beyond my ken. I am just alerting you to > this. Others here seem to have got it working by rebuilding these > dependencies, but Arch system, can vary widely as they are so > customised. > > It's at the point that I have to use Ubuntu to use Frescobaldi, but > this is not my desired outcome. > fwiw I built my poppler stuff on Arch with yay, not pip might be worth a try Damian
Re: Frescobaldi on Arch Linux
> Something to do with poppler? > Also, I don't understand the ultra-cryptic post 'qt5'. What are you > saying to do? > >> sorry! just adding that Frescobaldi builds fine with qt5 as a clean install. Damian
Re: edition-engraver mod on first note
sorry, meant to say ‘this works’ > On 9 Nov 2020, at 14:30, Damian leGassick wrote: > > Thanks Martin, I’ll try this > > Damian > >> On 9 Nov 2020, at 14:04, Martin Neubauer wrote: >> >> Hi Damian, >> >> During the summer I spent some time diving into the edition engraver >> myself and also noticed that some classes of mods didn't work on the >> first downbeat while others did. (I don't remember exactly which ones >> were problematic, but I can look it up later.) My workaround was to >> insert '\grace s8' at the beginning. (The actual duration shouldn't >> matter, but too long ones might add noticeable empty space.) >> >> Hope that helps somewhat, >> Martin >> >>>> On 06/11/2020 17:40, damianlegassick wrote: >>> Hi >>> >>> >>> I can't persuade edition-engraver to add an \editionMod starting on the >>> downbeat of the first bar. I can't even do it with the example.ly from >>> the repo (is that why there's an R1 at the top?). >>> >>> >>> any clues for a workaround or am I being dumb? >>> >>> >>> Damian >>
Re: edition-engraver mod on first note
Thanks Martin, I’ll try this Damian > On 9 Nov 2020, at 14:04, Martin Neubauer wrote: > > Hi Damian, > > During the summer I spent some time diving into the edition engraver > myself and also noticed that some classes of mods didn't work on the > first downbeat while others did. (I don't remember exactly which ones > were problematic, but I can look it up later.) My workaround was to > insert '\grace s8' at the beginning. (The actual duration shouldn't > matter, but too long ones might add noticeable empty space.) > > Hope that helps somewhat, > Martin > >> On 06/11/2020 17:40, damianlegassick wrote: >> Hi >> >> >> I can't persuade edition-engraver to add an \editionMod starting on the >> downbeat of the first bar. I can't even do it with the example.ly from >> the repo (is that why there's an R1 at the top?). >> >> >> any clues for a workaround or am I being dumb? >> >> >> Damian >
Re: linux install problem virtualbox
I updated windows and reinstalled virtualbox and everything is behaving as expected. fyi I was also trying Hyper-V and WSL before virtualbox...They were disabled again but who knows? thanks everyone Damian > On 16 Oct 2020, at 14:39, Andrew Bernard wrote: > > I have been running lilypond on many different Linux distros in > VirtualBox for years, and it works splendidly. Perhaps your VM was > misconfigured in some complex way. Do not abandon hope. > > Andrew > >> On Fri, 16 Oct 2020 at 23:43, damianlegassick >> wrote: >> >> I changed to VMWare and it works as normal >
Re: OLL
OLL is something that I have occasionally looked into, and something that I am reassured to know is there: it is something that I hoped to use more in the future. I do use notation-fonts. I have not used ScholarLy, Edition-engraver and Analysis so far on occasions when, in hindsight, it would have been useful simply because of the sketchy documentation. That is, I found it quicker to use LaTex and graphics to get the job done. I doubt I’m the only one. The thought of OLL disappearing does sadden me going forward. I am not a scheme/C programmer but I would be happy to help by fully and finally getting to grips with OLL and working on use-cases or documentation. Damian > On 10 Oct 2020, at 14:40, Andrew Bernard wrote: > > Hello All, > > Since Urs has stepped down from OLL work for personal reasons, as > somebody who has written code for OLL, and contributed some snippets > of some utility, I have been considering taking it all over. I have > proposed to make a new domain openlilylib.space, move to Gitlab. > establish a website on my personal Linux servers at my own expense, > and add much more documentation and morenad try to communicate the use > and utility of OLL to end users. > > I have written to a few of the members of the list and perhaps it is > too soon but I have only heard back from one person. There have been > no contributions for some time. And now suddenly the thread about > licencing has risen again, a topic which I find absurd and I would > refuse to countenance it for any OLL work ongoing that I would be > doing. It seems that thread is trying to actively discourage OLL use. > > Like Urs, I get the impression that the effort on OLL is not worth the > return, as hardly anybody seems to use it and there appears to be > little interest. This is very disappointing. So, may I ask - it is > worth me continuing the development and maintenance of OLL? > > Andrew > > [I am not prepared to discuss changes to GPL and anything related to > licences.] >
Re: fix for Windows Exited with return code -1073741819 ?
> On 25 Sep 2020, at 13:50, Karlin High wrote: > > On Fri, Sep 25, 2020 at 4:30 AM damianlegassick > wrote: >> I know that this has come up a few times and I'm aware that it's a Windows >> 32 bit memory issue >> but does anyone actually have a fix? I have to work on a windows machine atm. > > This might not rise to the level of a "fix." But with the recent > Windows 10 versions there's an option to use Windows Subsystem for > Linux for running the 64-bit Linux version of LilyPond. > -- > Karlin High > Missouri, USA that could well be enough of a fix for now - I’ll try it thanks
Re: figured bass / latex lilypond-book
Hi Joram I’ve looked at this, but as far as I can tell it doesn’t do figured bass numerals Damian > On 26 Nov 2017, at 19:43, Noeck wrote: > > Hi Damian, > > do you know this: https://ctan.org/pkg/lilyglyphs ? > > With that package you can use lilypond symbols in LaTeX. > > HTH, > Joram > > ___ > 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: figured bass / latex lilypond-book
Thanks Mark maybe I wasn’t clear I know how to work with figured bass in lilypond when there are notes, I meant to ask about how to include *just* the figure bass numbers in the middle of some text Damian > On 26 Nov 2017, at 19:20, Mark Stephen Mrotek wrote: > > Damian, > > http://lsr.di.unimi.it/LSR/Search?q=figured+bass > > Mark > > -Original Message- > From: lilypond-user > [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of > damianlegassick > Sent: Sunday, November 26, 2017 7:23 AM > To: Lilypond-User > Subject: figured bass / latex lilypond-book > > Hello list > > I want to include references to Roman numerals/figured bass in a latex > document — such as V4/2 with a sharp before the 4, or a 6/3 with the 6 > slashed and the 3 as a sharp-sign — you know the type of thing > > I’m currently using the \shortstack Latex package, but it doesn’t look great, > and I’d really like lilypond-book to do the figured-bass bit for me > > any clues or pointers would be great > > thanks as always > > Damian > ___ > 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: tremolo confusion
On 12 Jun 2015, at 14:57, Simon Albrecht wrote: > Hello Damian, > > Am 12.06.2015 um 11:15 schrieb Damian leGassick: >> \version "2.18.2" >> >> >> { >> \time 3/4 >> r4 \repeat tremolo 4 { e'''!64 c'''! } r4. >> r4 \repeat tremolo 8 { e'''!64 c'''! } r4 >> } > You might be interested in \accidentalStyle dodecaphonic – unless of course > you already know it… > Cheers, Simon thanks Simon I do know about the accidental style - I'm revising a file that I started back in 2007 (when I was just starting with Lilypond) cheers Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tremolo confusion
On 12 Jun 2015, at 10:34, Mark Knoop wrote: > At 10:15 on 12 Jun 2015, Damian leGassick wrote: >> Dear all >> >> I need to set this tremolo: >> > > { > \time 3/4 > r4 \scaleDurations #'(2 . 1) \repeat tremolo 4 { e'''!64 c'''! } r4 > } > > > -- > Mark Knoop > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user perfect thanks Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: custom markup help
On 23 May 2015, at 13:11, Klaus Blum wrote: > Hi Damian, > > aah, Nick was faster than me... :-) > > The easiest way I've found would be this: > > % --- > \version "2.18.0" > > #(define-markup-command (sd layout props sdnum) (markup?) > "Put a number with a carat above the note." > (interpret-markup layout props > #{\markup { > \override #'(baseline-skip . 0.5) > \column { \small {^ #sdnum }} > } > #})) > > {g^\markup \sd 3} > % --- > > If you dont want to use "\markup" every time, you also could work like this: > > % --- > \version "2.18.0" > > sd = #(define-music-function (parser location sdnum) >(markup?) >"Put a number with a carat above the note." >#{ > -\markup { >\override #'(baseline-skip . 0.5) >\column { \small {^ #sdnum }} > } >#}) > > {g^\sd "3"} > % --- > > Cheers, > Klaus > > Thanks Klaus now to combine yours and Nick's version so that I can override the baseline-skip set by your music-function Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: custom markup help
On 23 May 2015, at 12:51, Nick Payne wrote: > On 23/05/2015 21:24, Damian leGassick wrote: >> \version "2.18.0" >> >> >> #(define-markup-command (sd layout props sdnum) (markup?) >> #:properties ((baseline-skip 0.5)) >> "Put a number with a carat above the note." >> (interpret-markup layout props >> #{\markup \override #`(baseline-skip . ,baseline-skip) >> \column { \small {^ #sdnum }}#})) >> >> >> {g^\markup {\sd 3}} > > Don't use the name baseline-skip for the baseline-skip value. Change it to > something else and it works: > > \version "2.18.0" > > > #(define-markup-command (sd layout props sdnum) (markup?) > #:properties ((skip 0.5)) > "Put a number with a carat above the note." > (interpret-markup layout props >#{\markup \override #`(baseline-skip . ,skip) > \column { \small {^ #sdnum }}#})) > > > {g^\markup {\sd 3}} > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user Thanks Nick it works, but I don't see why my version doesn't I though that I was setting a property with a default value rather than creating a variable my assumption is based on the example given at http://www.lilypond.org/doc/v2.18/Documentation/extending/new-markup-command-definition #(define-markup-command (double-box layout props text) (markup?) #:properties ((inter-box-padding 0.4) (box-padding 0.6)) "Draw a double box around text." (interpret-markup layout props #{\markup \override #`(box-padding . ,inter-box-padding) \box \override #`(box-padding . ,box-padding) \box { #text } #})) \markup \double-box A \markup \override #'(inter-box-padding . 0.8) \double-box A \markup \override #'(box-padding . 1.0) \double-box A Damian___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
custom markup help
Hello list I'm trying to get a markup to help with repetitive addition of scale-degrees with carats I've got this far, but it's not picking up the new default baseline-skip value \version "2.18.0" #(define-markup-command (sd layout props sdnum) (markup?) #:properties ((baseline-skip 0.5)) "Put a number with a carat above the note." (interpret-markup layout props #{\markup \override #`(baseline-skip . ,baseline-skip) \column { \small {^ #sdnum }}#})) {g^\markup {\sd 3}} any clues? ideally i'd like to be able to write something like {g^\sd{3}} any assistance much appreciated thanks as always Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Getting LilyPond code with included files into LyX
On 26 May 2014, at 07:54, Ben Beeson wrote: > Hi all, > > I decided that I wanted to compile a tune book using LyX. I have collected up > several tunes that I want in the tune book and these tunes are all engraved > with LilyPond. Now I need to figure out how to get these tunes into a LyX > file so I can compile the tune book. > > I have figured out how to get some music notes such as a scale into a LyX > document using the LilyPond module. Now I need to figure out how to > make that work when your LilyPond code needs an included file such as > "bagpipe.ly" to render the music correctly. So far I am not having much luck > with including "bagpipe.ly" and the LyX documentation has not helped much in > that regard. I am missing something that will tell LyX to send the > instructions for the include files to LilyPond when it builds the file. I am > hoping there is a simple fix for this, but I have not found it yet. If > anyone knows how to get the LyX LilyPond module to include "bagpipe.ly" or > some other "path/to/some/file.ly" when building a document with LilyPond to > work, I would appreciate a short note to help explain that. > > Cheers and thanks in advance, > > Ben > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user It works for me - though there's a catch... On Mac OS 10.6.8 with LyX 2.0.5 I can get the included files to work *only* if they are located in /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ly/ (right-click on the Lilypond app and 'show package contents') e.g. a source file that has: \include "bagpipe.ly" compiles for me in LyX if there is a file: /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ly/bagpipe.ly /include "path/to/some/file.ly" does not work in LyX even if the file compiles as normal with 'regular' Lilypond Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: print change of clef after barline
On 1 Jun 2014, at 12:26, David Kastrup wrote: > Thomas Morley writes: > >> 2014-06-01 12:19 GMT+02:00 Thomas Morley : >>> 2014-06-01 12:09 GMT+02:00 David Kastrup : Thomas Morley writes: make-vector > @David > If an experienced user like Damian stumbles across it, it might be > worth clearifying it in NR/IR. > What do you think? I don't think that we can reasonably explain stuff like make-vector in our manuals. The best we can do is to avoid it in elementary examples. That may mean spelling three identical lists out, or using (let ((breaklst ...)) (vector breaklst breaklst breaklst)) It's probably most straightforward to spell the lists out three times. That leaves the user with a tedious but reliable and easy to understand recipe. -- David Kastrup >>> >>> Agreed. >>> I'll go for a patch. >>> >>> Cheers, >>> Harm >> >> >> Well, I have a problem: >> >> I assume the entries in >> IR 3.1.22 BreakAlignment ->break-align-orders >> Or NR A.17 Layout properties ->break-align-orders >> are generated from define-grob-properties.scm >> Correct? > > Values from define-grobs.scm. > >> We have already: >> http://www.lilypond.org/doc/v2.19/Documentation/snippets/pitches#pitches-separating-key-cancellations-from-key-signature-changes >> >> Therefore I think refering to that snippet would be sufficient. >> Is it feasible to reference it from inside define-grob-properties.scm >> If yes, how to do it? > > Judging from other manual entries, by putting the following at the end > of the documentation string: > > @snippets > > @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle] > {separating-key-cancellations-from-key-signature-changes.ly} > > -- > David Kastrup > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user hi all yes, a link to that snippet would have enabled me to hack it out; searching the LSR it was not apparent that that snippet held all the answers for 'normal but adventurous' users I wouldn't worry about examples in the manual being 'tedious but reliable' - I use a lot of the internals tweaks every day without really understanding how they work - the one's i've got to grips with quickest are the ones with the fullest examples. thanks for all the help - I really appreciate it Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: print change of clef after barline
On 31 May 2014, at 22:12, Thomas Morley wrote: > 2014-05-31 20:05 GMT+02:00 Damian leGassick : >> thanks Harm >> >> I found a way...though I don't understand how or why the vector works for >> break-align-orders >> >> Damian > > Did you look into > IR 3.1.22 BreakAlignment ->break-align-orders ? > > Or NR A.17 Layout properties ->break-align-orders > > > Please specify whats not clear there and how to improve the description. > > Cheers, > Harm what is not clear is this bit: The format is a vector of length 3, where each element is one order for end-of-line, middle of line, and start-of-line, respectively. the override in this: \version "2.18.0" musicRH = { \override Staff.Clef.full-size-change = ##t \set Staff.printKeyCancellation = ##f \override Score.BreakAlignment #'break-align-orders = #(make-vector 3 '( span-bar breathing-sign staff-bar clef key-cancellation key-signature time-signature)) \key fis \major s1 \bar "||" \set Staff.forceClef = ##t \key es \major s \bar "||" \set Staff.forceClef = ##t \key a \major } \layout { ragged-right = ##f } \score { \new PianoStaff << \new Staff {\musicRH} \new Staff {\musicRH} >> } has only one order, suggesting that it acts on end-of-line only, but it also affects middle of line and also changes the spacing at start of line I couldn't work out form the docs how to do the override just for middle of line (which is what I want), or how to do a vector with a different orders for end/middle/start respectively thanks Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: print change of clef after barline
thanks Harm I found a way...though I don't understand how or why the vector works for break-align-orders Damian On 31 May 2014, at 18:14, Thomas Morley wrote: > 2014-05-31 18:51 GMT+02:00 Damian leGassick : >> Hi all >> >> I need a change of clef to appear after a double barline, not before it (for >> a theory worksheet) >> >> any clues much appreciated >> >> Damian >> >> ___ >> lilypond-user mailing list >> lilypond-user@gnu.org >> https://lists.gnu.org/mailman/listinfo/lilypond-user > > look for > 'break-align-orders > and maybe additionally > 'space-alist > > -Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: print change of clef after barline
On 31 May 2014, at 18:00, David Kastrup wrote: > Damian leGassick writes: > >> Hi all >> >> I need a change of clef to appear after a double barline, not before >> it (for a theory worksheet) > > There are some properties determining the order of elements, but one can > also cheat: > > { c'1 \grace { \bar "||" s4 } \clef bass c1 } > > -- > David Kastrup Hi David the cheat fails with this layout \version "2.18.0" musicRH = { c'1 \grace { \bar "||" s1 } \clef bass c1 } \layout { ragged-right = ##f } \new Staff {\musicRH} Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
print change of clef after barline
Hi all I need a change of clef to appear after a double barline, not before it (for a theory worksheet) any clues much appreciated Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: get and print current clef
These are great, thanks Damian On 31 May 2014, at 15:30, David Kastrup wrote: > Paul Morris writes: > >> David Kastrup wrote >>> I am leaning towards redefining >>> >>> clef = >>> #(define-music-function (parser location type) ((string?)) >>> (_i "Set the current clef to @var{type} if specified, >>> or force a repetition of the current clef when @code{\\default} >>> is given instead.") >>> (if type >>> (make-clef-set type) >>> #{ \set Staff.forceClef = ##t #})) >>> >>> which then would allow using \clef \default. >> >> Good idea. Thinking about the wording, what about \clef \current >> instead? > > Not negotiable: > >> I see that \default already works here, although I don't know why. (I >> couldn't find \default in the manuals.) > > http://www.lilypond.org/doc/v2.18/Documentation/extending/scheme-function-usage> > > Yes, it's underrepresented in pretty much _all_ manuals. > >> One reason \current is clearer is that the "default" clef when a clef >> is not specified is always the treble clef. Anyway, just something to >> consider. > > We already have \key \default for a similar purpose. > >> Here's something else to consider. Should the following display the second >> bass clef? >> >> { >> \clef bass >> c1 >> \clef bass >> c1 >> } >> >> For example, I can see users asking "Why do I have to use \clef \default? >> Why can't I just enter \clef bass again? Why doesn't \clef always display a >> clef?" >> >> Hmmm... are there any cases where you'd want to enter \clef ... but >> not display a clef? (I realize that changing this behavior would >> entail more significant code changes than \clef \default.) > > \clef treble ... \repeat unfold 2 { \clef treble ... \clef bass ... } > > You don't want to see the treble clef in the first unfold of the > repetition. > > Also instrument definitions may contain a clef. When invoking a > particular instrument that happens to use the same clef as previously, > you don't want to see a clef repetition. > > -- > David Kastrup > > ___ > 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
get and print current clef
Hi all could someone show me how I could write something like: \clef \currentclef many thanks Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilyglyphs 0.2 - First 'official' release
> > I'm happy (and also proud) to be able to announce a new release of my > lilyglyphs LaTeX package. > While I label it version 0.2 I am convinced that it is the first release that > is really useable, so I consider this the initial 'public' release. > only a few days ago I was thinking 'if only' really useful thanks Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: -dbackend=eps clips lowest beam
On 15 Sep 2012, at 23:55, eluze wrote: > > Damian leGassick wrote >> >> Hi all >> >> If I run this with no arguments (or have a tagline) everything's fine >> if run the file with -dbackend=eps the bottom stem is clipped >> >> any clues? >> >> > > how do you open the eps file? I use IrfanView and have no problem! > > Eluze > > interesting... i get this with acrobat, illustrator and preview (mac): space_prob.pdf Description: Adobe PDF document I wonder whether it's a mac thing - or maybe ghostscript Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: -dbackend=eps clips lowest beam
On 15 Sep 2012, at 22:35, Damian leGassick wrote: > Hi all > > If I run this with no arguments (or have a tagline) everything's fine > if run the file with -dbackend=eps the bottom stem is clipped > > any clues? > > thanks > > Damian > > \header{ tagline = "" } > \version "2.16.0" > musicRH = {<< >{ >} > \\ >{ > \change Staff = "LH" b8[ > \change Staff = "RH" e'' > \change Staff = "LH" d, > \change Staff = "RH" g'] > } >>> } > > musicLH = { \clef bass s8*4} > > \score { > << > \new PianoStaff > << > \new Staff = "RH" {\musicRH} >\new Staff = "LH"{\musicLH} >>> >>> > } > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user sorry - my mail program eats the 'greater-than' signs space_prob.ly Description: Binary data ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
-dbackend=eps clips lowest beam
Hi all If I run this with no arguments (or have a tagline) everything's fine if run the file with -dbackend=eps the bottom stem is clipped any clues? thanks Damian \header{ tagline = "" } \version "2.16.0" musicRH = {<< { } \\ { \change Staff = "LH" b8[ \change Staff = "RH" e'' \change Staff = "LH" d, \change Staff = "RH" g'] } >>} musicLH = { \clef bass s8*4} \score { << \new PianoStaff << \new Staff = "RH" {\musicRH} \new Staff = "LH"{\musicLH} >> >> } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: transpose with intervals?
On 17 Feb 2012, at 17:11, David Kastrup wrote: > Damian leGassick writes: > >> \transpose c f, {\music} #perfect fifth down >> >> \transpose c g' {\music} #perfect fifth up > > You might want to check your comment character... > > -- > David Kastrup > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user oops - ruby brain moment - sorry Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: transpose with intervals?
On 17 Feb 2012, at 16:26, Jonghyun Kim wrote: > Dear List, > > lilypond version: 2.14.2 > > How can I transpose with intervals? > > I WANT TO DO THIS: > \transpose -5 {\music} > > note:-5 means five semitones, so it's perfect fifth. > > OR > \transpose perfect-fifth {\music} > > Any suggestion? > > Thanks, > Jong > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user \transpose c f, {\music} #perfect fifth down \transpose c g' {\music} #perfect fifth up see http://lilypond.org/doc/v2.14/Documentation/notation/changing-multiple-pitches#transpose Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: subDivideBeams issue
On 21 Jan 2012, at 17:35, Xavier Scheuer wrote: > On 21 January 2012 14:58, Damian leGassick wrote: >> Hi >> >> can someone explain why in the following the triplet beams are >> subdivided in bar 2, but not in bar 1 (I want them both subdivided as >> in bar 2)? >> >> \version "2.15.26" >> \relative c'' { >> \time 3/4 >> \set subdivideBeams = ##t >> \set baseMoment = #(ly:make-moment 1 8) >> c16[ c c c] c[ c c c] \times 2/3 {c16 c c c c c} >> c16[ c c c] \times 2/3 {c16 c c c c c} c16[ c c c] >> } >> > > Hi, > > I'd say this is the same issue as what I reported today: > http://lists.gnu.org/archive/html/bug-lilypond/2012-01/msg00837.html > > Cheers, > Xavier > > -- > Xavier Scheuer indeed - it must be triplet day! Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
subDivideBeams issue
Hi can someone explain why in the following the triplet beams are subdivided in bar 2, but not in bar 1 (I want them both subdivided as in bar 2)? \version "2.15.26" \relative c'' { \time 3/4 \set subdivideBeams = ##t \set baseMoment = #(ly:make-moment 1 8) c16[ c c c] c[ c c c] \times 2/3 {c16 c c c c c} c16[ c c c] \times 2/3 {c16 c c c c c} c16[ c c c] } thanks Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ERROR: Unable to find file "ice-9/boot-9.scm" in load path
On 21 Jan 2012, at 13:09, James wrote: > Hello, > > On 21 January 2012 12:55, m...@apollinemike.com wrote: >> On Jan 21, 2012, at 1:47 PM, Damian leGassick wrote: >> >>> >>> On 21 Jan 2012, at 12:08, Damian leGassick wrote: >>> >>>> Hi >>>> >>>> I've seen this before and a search through the list says it was fixed in >>>> 2.14 >>>> >>>> just upgraded to 2.15.26 and i get >>>> >>>> GNU LilyPond 2.15.26 >>>> ERROR: In procedure primitive-load-path: >>>> ERROR: Unable to find file "ice-9/boot-9.scm" in load path >>>> >>>> is there a simple fix for this? I've tried adding the ice-9 folder to the >>>> PATH >>>> >>>> echo $PATH gives: >>>> >>>> /usr/local/git/bin:/usr/texbin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/local/bin:/Applications/LilyPond.app/Contents/Resources/bin:/Applications/LilyPond.app/Contents/Resources/share/guile/1.8/ice-9:/usr/texbin >>>> >>> >>> Ok - I get that it's I it's a guile error message >>> >>> I added export >>> GUILE_LOAD_PATH="/Applications/LilyPond.app/Contents/Resources/share/guile/1.8" >>> to my .bash_profile >>> >>> guile now launches in the terminal without the error, but lilypond still >>> won't >>> >>> Damian (btw, Mac OSX10.6.8) >> >> Damian, >> >> I've cc'ed my response to the bug list - this should be opened up as an >> issue on the tracker. >> What would help a lot is if you added things to your PATH variable until >> LilyPond started working and let us know what the key addition(s) proved to >> be. >> Also, make sure to open a new terminal window every time you modify >> .bash_profile (I'm not assuming that you are not doing this, but I forget to >> do this all the time, so I figured it was worth saying). >> > > Also, and I had this same message on my Linux Box, and found it was to > do with the relation of where I ran the command and where the file I > am running LP on. > > So, for example if you use Terminal and cd *into* the same dir as the > .ly file do you get the same message? > > > -- > -- > > James James, you are correct - cd-ing into the directory works, thanks Mike - I tried adding everything I could think of (I'm not a guile expert!) but couldn't make progress beyond: export GUILE_LOAD_PATH="/Applications/LilyPond.app/Contents/Resources/share/guile/1.8" export GUILE_LOAD_PATH=$GUILE_LOAD_PATH:/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm which gives the error: GNU LilyPond 2.15.26 /Applications/LilyPond.app/Contents/Resources/share/guile/1.8/srfi/srfi-1.scm:223:1: In procedure dynamic-link in expression (load-extension "libguile-srfi-srfi-1-v-3" "scm_init_srfi_1"): /Applications/LilyPond.app/Contents/Resources/share/guile/1.8/srfi/srfi-1.scm:223:1: file: "libguile-srfi-srfi-1-v-3", message: "file not found" Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ERROR: Unable to find file "ice-9/boot-9.scm" in load path
On 21 Jan 2012, at 12:08, Damian leGassick wrote: > Hi > > I've seen this before and a search through the list says it was fixed in 2.14 > > just upgraded to 2.15.26 and i get > > GNU LilyPond 2.15.26 > ERROR: In procedure primitive-load-path: > ERROR: Unable to find file "ice-9/boot-9.scm" in load path > > is there a simple fix for this? I've tried adding the ice-9 folder to the PATH > > echo $PATH gives: > > /usr/local/git/bin:/usr/texbin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/local/bin:/Applications/LilyPond.app/Contents/Resources/bin:/Applications/LilyPond.app/Contents/Resources/share/guile/1.8/ice-9:/usr/texbin > Ok - I get that it's I it's a guile error message I added export GUILE_LOAD_PATH="/Applications/LilyPond.app/Contents/Resources/share/guile/1.8" to my .bash_profile guile now launches in the terminal without the error, but lilypond still won't Damian (btw, Mac OSX10.6.8) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
ERROR: Unable to find file "ice-9/boot-9.scm" in load path
Hi I've seen this before and a search through the list says it was fixed in 2.14 just upgraded to 2.15.26 and i get GNU LilyPond 2.15.26 ERROR: In procedure primitive-load-path: ERROR: Unable to find file "ice-9/boot-9.scm" in load path is there a simple fix for this? I've tried adding the ice-9 folder to the PATH echo $PATH gives: /usr/local/git/bin:/usr/texbin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/local/bin:/Applications/LilyPond.app/Contents/Resources/bin:/Applications/LilyPond.app/Contents/Resources/share/guile/1.8/ice-9:/usr/texbin any clues? TIA Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help for partial
Hi Maarten I've modified your file to get it working Yiruma - The things I really_dlg.ly Description: Binary data I've annotated bits of the file - sorry if anything's obvious you still need to sort out which notes you want in which voice towards the end (you also had two score blocks) Damian On 22 Dec 2011, at 12:20, Maarten de Keijzer wrote: > Ok, thanks. That works, although the 'why' is not clear to me. > Unfortunately, the other problem (the strange out-of-the-margin measure) > still exists. > > Maarten > > -Original Message- > From: Francisco Vila [mailto:paconet@gmail.com] > Sent: donderdag 22 december 2011 12:50 > To: Maarten de Keijzer > Cc: lilypond-user@gnu.org > Subject: Re: Help for partial > > 2011/12/22 Maarten de Keijzer : >> Can someone help me with some strange effects in this score (a >> composition of Yiruma, in which I tried to combine the solo and right >> hand to make it easier to play). >> >> The piece starts with a partial, which is displayed on its own; why >> isn't it combined with a few more measures? > >r1*7 > > could be the cause. Try > > R1*7 > > instead. > > -- > Francisco Vila. Badajoz (Spain) > www.paconet.org , www.csmbadajoz.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
Re: Using lilipond for uncommon musical notation
On 19 Dec 2011, at 18:11, Kieren MacMillan wrote: > Hi Thomas, > >> I want to write something according to the following rules: >> >> * two staves (piano-style, bass and treble); >> * no time signature; >> * only successive very-large-arpeggios (~ 10 notes each) >> starting from left hand (bass staff) and ending at the right hand >> (treble staff); notes are eigth notes; all linked together accross >> both staves >> * off course no rest should appear on one staff, while notes are played >> on the other staff; >> * no bar lines; >> * (probably, but I would like to try both) no bar line at end of lines >> (right of the page), maybe no bar line at the beginning of the lines >> (left of the page). > > Here's a start — hope it helps. > Kieren. > __ > > \version "2.15.21" > > \layout { > \context { >\Staff >\remove "Bar_engraver" >\remove "Time_signature_engraver" > } > } > > pU = \change Staff = "upper" > pL = \change Staff = "lower" > > musicRH = \relative c, { > \time 10/8 > \repeat "unfold" 6 { \pL c8[ g' e' g b \pU d f a c a'] } > } > > musicLH = \relative { > \clef bass > \repeat "unfold" 60 s8 > } > > \score { > \new PianoStaff << >\new Staff = "upper" \new Voice \musicRH >\new Staff = "lower" \new Voice \musicLH >>> > } > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user almost the same as Keiran's \version "2.15.21" rhMusic = { s8*10 %you need spaces otherwise the staff isn't 'alive' and you can't \change staff into it } lhMusic = \relative c, { \clef bass \stemDown \autoBeamOff c8[ f b d g c \change Staff=RH f b e a] } \score { \new PianoStaff << \new Staff = "RH" {\rhMusic} \new Staff = "LH" {\lhMusic} >> } \layout { \context { \Staff \remove "Bar_engraver" %removes barlines \remove "Time_signature_engraver" } \context { \Score \remove "System_start_delimiter_engraver" %removes first barline } } Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: skipTypesetting oddities
On 18 Dec 2011, at 11:10, Damian leGassick wrote: > > On 18 Dec 2011, at 09:11, -Eluze wrote: > >> >> >> Damian leGassick wrote: >>> >>> >>> >>> I appreciate the fact that it was designed to save time when entering >>> data, but I'm still curious as why even my minimal examples don't work >>> properly. >>> >>> I have a five hundred bar full orchestral score and I need to typeset just >>> bars 111-116 (and about a dozen other short extracts) for a musicological >>> paper. It would be a real timesaver if skipTypesetting could come to my >>> aid - it's close, but it always leaves errors in the first and last bars. >>> Simply padding my extract with a bar either side isn't the answer, because >>> those bars will then have their own errors. >>> >>> >> the "erratic" behaviour of skipTypeSetting seems to be known (s. >> https://code.google.com/p/lilypond/issues/detail?id=1543&q=skiptypesetting&colspec=ID%20Type%20Status%20Stars%20Owner%20Patch%20Needs%20Summary >> ) >> >> there i also found a simple trick to correct the funny timing: insert a >> harmless grace note before skipping typesetting! >> >> to not spoil the original score i would suggest to define these skipping >> commands in a special voice. >> printing only measure 111 - 116 would then look so: >> >> music = { … } >> >> \new Staff << >> \music >> \new Voice = "skipping" { >> \set Score.skipTypesetting = ##t >> s1*110 >> \grace s8 \set Score.skipTypesetting = ##f >> s1*6 >> \grace s8 \set Score.skipTypesetting = ##t >> s1*10 >> … >> } >>>> >> >> > > Thanks again - but the grace note does not fix the slur problem in my second > minimal example: > > { > \grace s8 \set Score.skipTypesetting = ##t > e'2~ e'8( d' cis' b) a2~ a8( a' g' e') > \grace s8 \set Score.skipTypesetting = ##f > d'16\p d' d' d' d' d' d' d' d'8 r8 r4 > } > > > I guess for now i'll do it the old fashioned way - shame, because it so > nearly gets it right > > hopefully someone in dev will find some time to look at this again soon > > Damian > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user actually it's not a slur, it's a misprinted tie: { \set Score.skipTypesetting = ##t e'8~ e' e' e' e' e' e' e' \set Score.skipTypesetting = ##f d'16 d' d' d' d' d' d' d' d'8 r8 r4 } if any of the e-naturals are tied, a tie gets printed between the first 2 d-naturals if you remove the tie: { \set Score.skipTypesetting = ##t e'8 e' e' e' e' e' e' e' \set Score.skipTypesetting = ##f d'16 d' d' d' d' d' d' d' d'8 r8 r4 } It's fine. weird... Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: skipTypesetting oddities
On 18 Dec 2011, at 09:11, -Eluze wrote: > > > Damian leGassick wrote: >> >> >> >> I appreciate the fact that it was designed to save time when entering >> data, but I'm still curious as why even my minimal examples don't work >> properly. >> >> I have a five hundred bar full orchestral score and I need to typeset just >> bars 111-116 (and about a dozen other short extracts) for a musicological >> paper. It would be a real timesaver if skipTypesetting could come to my >> aid - it's close, but it always leaves errors in the first and last bars. >> Simply padding my extract with a bar either side isn't the answer, because >> those bars will then have their own errors. >> >> > the "erratic" behaviour of skipTypeSetting seems to be known (s. > https://code.google.com/p/lilypond/issues/detail?id=1543&q=skiptypesetting&colspec=ID%20Type%20Status%20Stars%20Owner%20Patch%20Needs%20Summary > ) > > there i also found a simple trick to correct the funny timing: insert a > harmless grace note before skipping typesetting! > > to not spoil the original score i would suggest to define these skipping > commands in a special voice. > printing only measure 111 - 116 would then look so: > > music = { … } > > \new Staff << > \music > \new Voice = "skipping" { >\set Score.skipTypesetting = ##t >s1*110 >\grace s8 \set Score.skipTypesetting = ##f >s1*6 >\grace s8 \set Score.skipTypesetting = ##t >s1*10 >… > } >>> > > Thanks again - but the grace note does not fix the slur problem in my second minimal example: { \grace s8 \set Score.skipTypesetting = ##t e'2~ e'8( d' cis' b) a2~ a8( a' g' e') \grace s8 \set Score.skipTypesetting = ##f d'16\p d' d' d' d' d' d' d' d'8 r8 r4 } I guess for now i'll do it the old fashioned way - shame, because it so nearly gets it right hopefully someone in dev will find some time to look at this again soon Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: skipTypesetting oddities
On 18 Dec 2011, at 00:17, -Eluze wrote: > > > Damian leGassick wrote: >> >> Hi all >> >> 1) in the following, the beaming goes wrong: >> >> any ideas how to get around this? >> > hi Damian > > NR 3.4.2 Skipping corrected music > When entering or copying music, usually only the music near the end (where > you are adding > notes) is interesting to view and correct. To speed up this correction > process, it is possible to > skip typesetting of all but the last few measures. This is achieved by > putting > showLastLength = R1*5 > \score { ... } > in your source file. This will render only the last 5 measures correctly. > > in your example you could define showLastLength = R1*1 > > the purpose of these functions is just to limit the compilation time when > entering music - it will never claim a correct output considering all the > (possibly sophisticated) skipped music! > > Eluze > -- > View this message in context: > http://old.nabble.com/skipTypesetting-oddities-tp32988646p32996117.html > Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user Hi Eluze I appreciate the fact that it was designed to save time when entering data, but I'm still curious as why even my minimal examples don't work properly. I have a five hundred bar full orchestral score and I need to typeset just bars 111-116 (and about a dozen other short extracts) for a musicological paper. It would be a real timesaver if skipTypesetting could come to my aid - it's close, but it always leaves errors in the first and last bars. Simply padding my extract with a bar either side isn't the answer, because those bars will then have their own errors. (and -dclip-systems doesn't help as it doesn't always print clefs/system braces/instrument names etc) (and I really don't want to start copying and pasting from multiple files for each extract...) thanks though Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
skipTypesetting oddities
Hi all 1) in the following, the beaming goes wrong: { b8 b b b b b b b \set Score.skipTypesetting = ##t b b b b b b b b } whereas if I skip one eighth later it's fine: { b8 b b b b b b b b \set Score.skipTypesetting = ##t b b b b b b b b } 2) in this snippet of Beethoven, an extra tie or slur appears on the first two d16 { \set Score.skipTypesetting = ##t e'2~ e'8( d' cis' b) a2~ a8( a' g' e') \set Score.skipTypesetting = ##f d'16\p d' d' d' d' d' d' d' d'8 r8 r4 } if I move the skip##f back a note, it's fine: { \set Score.skipTypesetting = ##t e'2~ e'8( d' cis' b) a2~ a8( a' g' \set Score.skipTypesetting = ##f e') d'16\p d' d' d' d' d' d' d' d'8 r8 r4 } any ideas how to get around this? thanks Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: staff to end of socre
On 15 Dec 2011, at 00:10, Xavier Scheuer wrote: > On 15 December 2011 01:00, Damian leGassick wrote: >> >> Thanks Xavier, this works perfectly (although couldn't get it to work >> in 2.14 for some reason...) > > The 2.14 syntax is > > #(ly:export (skip-of-length longestVoiceVariableName) > > I'm using latest development version and this time I did not check > carefully for 2.14. > > Cheers, > Xavier > > -- > Xavier Scheuer Out of interest - how did you know about the skip-of-length function? I was able to find it in music-functions.scm but wouldn't know to look there - I can't see it in the docs thanks Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: staff to end of socre
On 14 Dec 2011, at 22:05, Xavier Scheuer wrote: > On 14 December 2011 20:21, Damian leGassick wrote: >> Hi David >> >> thanks for the quick reply >> >> the to-end-of-line function is half way there, but if I modify your example >> to \repeat unfold 17 there is only one staff after the line break >> >> what I'd like is for both staves to remain until the end of the score. >> >> I know that in a simple example it's just as easy to add spacers but I've >> got a number of complex musicological examples where the trial and error >> involved in determining exactly what spacer values to use is proving very >> time consuming > > Hi, > > If you know which voice is the longest and if you use variables for > the voices, then you can use skip-of-length longestVoiceVariableName . > > > > \version "2.15.21" > > shortestVoice = \repeat unfold 8 e'1 > midLengthVoice = \repeat unfold 16 d'1 > longestVoice = \repeat unfold 24 c'1 > > \score { > << >\new Staff = "shortest" { > << >% in order to keep alive the staff (with spacer rests) >$(skip-of-length longestVoice) % 2.15.21 syntax >% #(skip-of-length longestVoice) % 2.14.2 syntax >\shortestVoice >>> >} >\new Staff = "midLength" { > << >% in order to keep alive the staff (with spacer rests) >$(skip-of-length longestVoice) % 2.15.21 syntax >% #(skip-of-length longestVoice) % 2.14.2 syntax >\midLengthVoice >>> >} >\new Staff = "longest" { > \longestVoice >} >>> > } > > > > Cheers, > Xavier > > -- > Xavier Scheuer Thanks Xavier, this works perfectly (although couldn't get it to work in 2.14 for some reason...) Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: staff to end of socre
On 14 Dec 2011, at 19:04, David Nalesnik wrote: > Hi Damian, > > On Wed, Dec 14, 2011 at 12:25 PM, Damian leGassick > wrote: > On 14 Dec 2011, at 18:22, Damian leGassick wrote: > > > Hi all > > > > In this example the second staff is left hanging > > > > << > > \new Staff {b b b b} > > \new Staff {b b} > >>> > > > > Can I force all staves to go to the end of the file without adding rests or > > spacers? > > I'm not clear exactly what you want. Do you want the staff with only two > notes to continue for the same length as the other staff, minus the barline > at the end? If so, an easy solution would in fact be to use spacer rests and > hide one of the barlines: > > << > \new Staff { > b b s2 > \once \override Staff.BarLine #'transparent = ##t > } > \new Staff {b4 b b b} > >> > > If you want both lines to stretch the full width of the page without spacers, > you could do something like this: > > \paper { > ragged-right = ##f > } > > #(define (to-end-of-line grob) > (ly:output-def-lookup (ly:grob-layout grob) 'line-width)) > > << > \new Staff { > \override Staff.StaffSymbol #'width = #to-end-of-line > b4 b b b > b b > } > \new Staff { > \repeat unfold 7 {b b b b} > } > >> > > HTH, > David Hi David thanks for the quick reply the to-end-of-line function is half way there, but if I modify your example to \repeat unfold 17 there is only one staff after the line break what I'd like is for both staves to remain until the end of the score. I know that in a simple example it's just as easy to add spacers but I've got a number of complex musicological examples where the trial and error involved in determining exactly what spacer values to use is proving very time consuming thanks Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: staff to end of socre
On 14 Dec 2011, at 18:22, Damian leGassick wrote: > Hi all > > In this example the second staff is left hanging > > << > \new Staff {b b b b} > \new Staff {b b} >>> > > Can I force all staves to go to the end of the file without adding rests or > spacers? > > thanks > > Damian > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user oops - I mean << \new Staff {b b} \new Staff {b b b b} >> ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
staff to end of socre
Hi all In this example the second staff is left hanging << \new Staff {b b b b} \new Staff {b b} >> Can I force all staves to go to the end of the file without adding rests or spacers? thanks Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Basic LilyPond Cheat Sheet
On 13 Sep 2011, at 00:19, Nick Payne wrote: > On 13/09/11 04:55, Reinhold Kainhofer wrote: >> Am Montag, 12. September 2011, 19:21:02 schrieb Helge Kruse: >>> But when I try to >>> send the PDF to my printer I get the messages >>> >>>Das Dokument konnte nicht gedruckt werden. >>>(The document could be printed.) >>> >>>Keine zum Drucken ausgewählte Seiten vorhanden. >>>(There are no pages selected to print.) >>> >>> When I look at the PDF document properties I can read "Drucken: Zuläsig" >>> (Print: allowed). >>> >>> Is this intentionally inhibited with some scripts in the document or is >>> there something incompatible with Acrobat Reader 9.4.2.220? >> No, printing is not disallowed. It is probably some incompatibility with >> Acrobat Reader. >> >> I can print it just fine from okular. > I can't print it from Adobe Reader on Ubuntu either. I also opened it in the > default PDF document viewer that comes with Ubuntu (Evince), and in that, > most of the text just displays as blocks of various sizes and shades - see > attached screen dump of part of the page. > you could try the 'print as image' option in acrobat this works for me usually when i get the weird printouts Damian ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Misleading autobeaming in 3/4
sorry to be a pedant, but... traditionally, 4. [8 8 8] is the exception to the rule that you subdivide the 8ths 2,2,2 in a 3/4 bar Mozart, Haydn, Beethoven, Schubert, Chopin, Liszt, Brahms and Ravel do this consistently. It is also normal for Debussy apart from in the late violin sonata . the occasional exception to this exception is in phrasing like this: 4.( 8)-. 8[( 8]) or 4.( 8)-. 8[( 8] I'm sorry to contradict David but you'll be hard pushed to find many published examples of 4. 8 [8 8] that don't have mitigating phrasing circumstances (e.g. Rachmaninov prefers a strict 2,2,2 at slow tempi). There are, otoh, literally thousands of examples of 4. [8 8 8] in 3/4 time from the baroque through late-romantic periods - it is certainly not 'wrong' even though it 'should' be logically d On 14 Aug 2011, at 17:59, Craig wrote: > On Sun, 2011-08-14 at 12:00 -0400, lilypond-user-requ...@gnu.org wrote: >> So the defaults should look like [8 8 8 8 8 8] and even [8. 16 8 8 8 >> 8], >> but 4. [8 8 8] is wrong and needs to be 4. 8 [8 8] instead. >> >> 6/8 would have [8 8 8] [8 8 8], [8. 16 8] [8 8 8] and 4. [8 8 8], >> respectively. >> >> -- >> David Kastrup > > Hi All, > > I must add that (I am speaking as a living composer, for what that is > worth these days), the above question has more to do with phrasing and > tempo. I write the 4. [8 8 8] with musical textures that are developing > rapidly with a fast tempo, and I write 4. 8 [8 8] when things are > developing slowly. Also, it depends upon the other parts of the music, > if there are further simultaneous subdivisions. But, it is mainly > because of phrasing. Brahms and Chopin expedited their notation. > Didn't Chopin and Brahms write 4. [8 8 8]? > > Craig Bakalian > > > ___ > 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: Misleading autobeaming in 3/4
checking my Chopin and Brahms, they both notate your rhythm as lilypond defaults, so it's not a defect - i'm certainly used to seeing it notated like that in 3/4 to my eyes your desired version looks wrong, but if that's really what you want, then using [ and ] or \noBeam as and when is easier than changing the default groupings, which may have other unintended consequences d On 13 Aug 2011, at 21:55, Bertrand Bordage wrote: > Hi everyone! > > (I don't know if we can call this a defect, so I don't send it to > bug-lilypond for the moment) > > I am working on a 3/4 score with this rhythmical pattern in the beginning : > "4. 8 8 8". > It is repeated five times, but the rest of the score is clearly in 3/4 and > not 6/8, contrary to what this pattern suggests. > > It is therefore important to have a beaming that suggests 3/4, even if it's > already written at the beginning. > But here's what happens: > > %%% > \markup "This:" > \relative c'' { \time 3/4 a4. b8 c d e d c b4. a8 b c d c b a2. } > \markup "looks like 6/8:" > \relative c'' { \time 6/8 a4. b8 c d e d c b4. a8 b c d c b a2. } > \markup "but should be like this:" > \relative c'' { \time 3/4 a4. b8\noBeam c d e d c\noBeam b4. a8 b c d c b a2. > } > %%% > > Is there any way to fix this globally instead of having to add \noBeam > everywhere? > > Thanks, > Bertrand > ___ > 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: [ANN] Frescobaldi 2.0 development progress, runs already on Windows
that's great i'll try a build on mac... On 23 May 2011, at 10:46, Wilbert Berendsen wrote: > Hi all, > > just to update interested people about the progress of Frescobaldi 2.0, and > let you know I managed to get it running on Windows. Testers are welcome :-) > The Frescobaldi 2.0 feature set is far from complete yet, but the basics are > in good shape. > > Frescobaldi (dedicated LilyPond text editor) 2.0 is designed to run on all > major platforms and depends only on Python, PyQt4 and Poppler and the poppler- > qt4 python binding. Target 2.0.0 release date is Christmas 2011. > > On Linux. Frescobaldi 2.0 already works well. Use Qt4.7, PyQt4.7 or 4.8, > Python 2.6 or 2.7, Poppler and python-poppler-qt4 (from [1]) and git clone > [2]. See the README[3] for what is already functioning and how to use it. > > [1] http://python-poppler-qt4.googlecode.com/ > [2] git://github.com/wbsoft/frescobaldi.git > [3] https://github.com/wbsoft/frescobaldi/blob/master/README > > I have not yet a Windows installer for the popplerqt4 plugin that powers the > PDF preview. It should be compiled from source, together with Poppler itself. > I did not try that yet, but Frescobaldi can run without the PDF preview. > > Here is how to test Frescobaldi on Windows: > > - Install Git from http://code.google.com/p/msysgit/downloads/list > - Install Python 2.7 from www.python.org > - Install PyQt4 from > http://www.riverbankcomputing.co.uk/software/pyqt/download > Note: use the same Python version (2.7 recommended) > > - Of course: install LilyPond (latest dev recommended) > > - Open Git Bash from the start menu > - Enter commands: > git clone git://github.com/wbsoft/frescobaldi.git > cd frescobaldi > /c/Python27/python frescobaldi > > And voilá! You can edit LilyPond documents and run LilyPond. > > To create an installer: > /c/Python27/python setup.py bdist_wininst > > Then run the installer (.exe file) from the dist/ directory. > It will even create a Start menu entry! > > Windows TODO: > - fix RuntimeError+crash when closing the window via the close button > (File->Quit works well) > - let bdist_wininst create a file association for *.ly to Frescobaldi (how?) > - make an installer for python-poppler-qt4 to get a working PDF preview > > > best regards, > Wilbert Berendsen > > -- > Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/ > > ___ > 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 OS X 10.6.7 and Lily-PDFs
Hi James/Ole I did the whole onyx suite thing - permissions, caches, scripts etc then reboot which of course makes it less useful for debugging d On 5 Apr 2011, at 01:36, Ole Schmidt wrote: > Am 05.04.2011 um 00:04 schrieb James Lowe: > >> hello >> >> . >> >> On 4 Apr 2011, at 22:52, "Damian leGassick" wrote: >> >>> running onyx plus reboot has fixed this for me >>> >>> d >> >> any particular operations or did you just clear/run everything? >> >> James > > > may I chime in- > > don't know if its the same problem, the pdf looks ok in preview but when I > print them out (or even when I use the "save as pdf" function in the printer > dialog) the noteheads and the clefs are missing, the font for the timesigns > and the dynamics are wrong... > > I did that ats server restart thing and some operations whith onyx "font > cache cleaning..." but no succes... > > The strange thing is, when I print the pdf-file from Skim (another > pdf-viewer), only the fermata-signs are swallowed, the rest looks ok... > > And it happens only to the last pdf I typeset tonight- I did two other sheets > before which print out normally > thats why I am not sure about what is my problem... > > ole > ___ > 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: problem with OS X 10.6.7 and Lily-PDFs
running onyx plus reboot has fixed this for me d On 1 Apr 2011, at 09:30, Frauke Jurgensen wrote: > This has happened to me in the past, and the problem goes away > completely with a re-boot. > > On Fri, Apr 1, 2011 at 8:49 AM, Jan-Peter Voigt wrote: >> Hello James, >> >> thanks for your reply. >> With the ats-rebuild still some things aren't right. If I randomly pick and >> print a page out of my current work with preview, there are still some >> things bad: The time-signature is still in some other font and the footer is >> mashed up onto the page. >> If I print the same page with skim, everything is fine. (thats the way, I >> will do from now on ;-) ) >> >> cheers, >> Jan-Peter >> >> >> On 31.03.2011 23:43, James Lowe wrote: >>> >>> hello, >>> >>> James. >>> >>> On 31 Mar 2011, at 22:08, "Patrick Karl" wrote: >>> > Message: 3 > Date: Thu, 31 Mar 2011 13:21:09 +0200 > From: Jan-Peter Voigt > Subject: problem with OS X 10.6.7 and Lily-PDFs > To: lilypond-user Mailinglist > Message-ID:<4d9463a5.1000...@gmx.de> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hello List, > > I installed Mac OSX 10.6.7 and now am unable to print my beautiful > sheets from my mac! It seems to be related to a font problem in the last > security update: http://www.tidbits.com/article/12078 > Luckily I work on Ubuntu and can print from there ... > > Sorry for this off topic message, but I know, there are a lot mac users > in this community ;-) > > Cheers, > Jan-Peter I also have this problem with Preview 5.0.3 under OSX 10.6.7. Missing are noteheads, repeats, rests, accidentals, articulations. All that's left is staves, stems, beams, and slurs, for the most part. >>> well you could try the following. >>> >>> 1. close all apps >>> 2. open terminal.app >>> 3. now type >>> >>> atsutil databases -removeUser >>> >>> hit return >>> >>> then type >>> >>> atsutil server -shutdown >>> >>> then hit return >>> >>> now type >>> >>> atsutil server -ping >>> >>> This restarts the ats server and rebuilds the font cache. >>> >>> I suggest a reboot for good measure. >>> >>> See if that helps. >>> >>> James >>> ___ >>> 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 >> > > ___ > 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: timing false in one staff only? [no longer with picture, just mental flailing]
that's a crazy idea but it might just work... d On 27 Mar 2011, at 23:20, madMuze wrote: > >> I used to do this kind of thing with NoteWriter - remember that? > > no, but I do remember being able to size a region manually in SCORE; we give > up some flexibility for this elegant spacing system. > > Just had a quick thought and then must rush out: > > Could the analysis noteheads be set in a markup (either as the whole staff, > or more likely, using the notehead glyphs from the Feta font (using \raise, > \lower, etc. and a space between each))? Then, that markup could be > \fill-line'd in a box with invisible borders, and the box positioned on the > staff (extra-offset is probably easiest, with the markup attached to "s4*0" > or something) and its width adjusted to suit the music. > > Obviously, I go for the high-maintenance solutions. After all, the schemers > on this board love finding ways to automate. > d > > -- > View this message in context: > http://old.nabble.com/timing-false-in-one-staff-only--tp31246377p31252758.html > Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. > > > ___ > 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: timing false in one staff only? [also with picture]
Hey David thanks for the hard work there I'm resigned that the 'untimed' music has to be in the time of 'something' so your suggestions are very useful I used to do this kind of thing with NoteWriter - remember that? Damian On 27 Mar 2011, at 20:35, madMuze wrote: > > Glad that project is not on my desk! However, having little to do while we > patiently salivate for version 2.14: > > http://old.nabble.com/file/p31251873/test.png test.png > \version "2.12.2" > % because of the timing abuse, bars happen everywhere, > % so here is a handy way to insert only as needed. > barSt = #(define-music-function (parser location bType) (string?) > #{ > \once \set Timing.whichBar = $bType > #} > ) > pitchTop = \relative c' { \clef bass \key c \major > \time 3/8 \partial 8 8 \barSt "|" > \time 5/16 ds8[ gs b16] \barSt "|" > r16 < b c>8[ < b c>8] \barSt "|" > \time 6/16 r16 b[( gs-.]) r ds8 \barSt "|" > \time 3/8 << { \voiceOne as'8 8 } > \new Voice { \voiceTwo cs,8 4 } >> \barSt "||" > } > pitchBottom = \relative c' { \clef treble \key c \major \override Voice.Stem > #'stencil = ##f > % 48 thirty-second notes on this line, grouped as 17+2+21+8 > \set Score.proportionalNotationDuration = #(ly:make-moment 1 52) > \times 17/96 { b4 as cs d ds fs f e g gs a c } b4*1/4 > \once \override Staff.BarLine #'Y-offset = #3 % adjust for staff > separation > \once \override Staff.BarLine #'bar-size = #10 % adjust for staff > separation > \once \override Score.BarLine #'extra-offset = #'(-1 . 0) \barSt > "dashed" > \newSpacingSection \set Score.proportionalNotationDuration = > #(ly:make-moment 1 26) > \times 21/96 { b4 c a gs g e f fs ds d cs as } b4 > } > \score { > << > \override Score.SpacingSpanner #'uniform-stretching = ##t > \override Score.SpacingSpanner #'strict-note-spacing = ##t > \set Score.defaultBarType = "" > \override Score.TupletBracket #'stencil = ##f > \override Score.TupletNumber #'stencil = ##f > \new Staff { > \new Voice { \pitchTop } > } > \new Staff \with { \remove Time_signature_engraver } { > \new Voice { \pitchBottom } > } > >> > \layout { > \context { \Score \remove Timing_translator } > \context { \Staff \consists Timing_translator } > } > } > > Too much trial-and-error tweaking, perhaps (especially for that one needy > barline), and the music line spacing is distorted, and I've no idea if the > other staves would make this house of cards collapse. Other than that, it's > simply splendid. > > Your hope of rhythmically decoupling some staves in a system is obviously > better, but I'm not sure LilyPond has a way of understanding what that > means. And, they're not entirely decoupled; the analysis information relates > spatially to the music. So, yes, setting multiple scores with parallel line > breaks, then explicitly stating staff positions (notation reference 4.4.3) > is perhaps easier. For that, I use: > vPlan = #(define-music-function (parser location sysOff stfOffs) (number? > list?) > #{ > \overrideProperty #"Score.NonMusicalPaperColumn" > #'line-break-system-details > #(list (cons 'Y-offset $sysOff) (cons > 'alignment-offsets $stfOffs)) > #} > ) > with > \vPlan #16 #'(0 -10 -20 -30) > for instance, at the start of each system, usually in a separate layout > voice with breaks and marks info. Positive numbers in the list move a staff > above the reference staff. You might consider using draw-line in a markup > for the system delimiters (can they really not be lengthened?). > > It seems like such a simple question; I wouldn't be surprised if I'm missing > an obvious solution… > d > > > -- > View this message in context: > http://old.nabble.com/timing-false-in-one-staff-only--tp31246377p31251873.html > Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. > > > ___ > 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
Fwd: \set - \override #(set
or to put it another way... how would I know that Score.BarNumber is a context property rather than a element description? and why isn't the accidental style a context property or an element description? :-) Damian > > > On 26 Mar 2011, at 22:13, Francisco Vila wrote: > >> 2011/3/26 Damian leGassick : >>> Hi all >>> >>> I've been using lilypond for years but I still can't figure out the >>> rationale for >>> >>> e.g. >>> >>> bar numbers - why us it: >>> >>> \override Score.BarNumber #'break-visibility blah (note capital B) >>> >>> but >>> >>> \set Score.currentBarNumber #blah (note camelCase) >>> >>> and why #(set-accidental-style etc >>> >>> and not >>> >>> \set Score.accidentalStyle or even \set Score.Accidental style >>> >>> is there any easy way to remember whether it's \set \override or #(set*? >> >> set is for context properties and override is for element >> descriptions, according to >> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/set-versus-override.html >> >> as for #(set-whatever , they are predefined one-word commands for >> convenience, which give values to internal variables that are not >> context properties or element descriptions. >> -- >> Francisco Vila. Badajoz (Spain) >> www.paconet.org , www.csmbadajoz.com > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
\set - \override #(set
Hi all I've been using lilypond for years but I still can't figure out the rationale for e.g. bar numbers - why us it: \override Score.BarNumber #'break-visibility blah (note capital B) but \set Score.currentBarNumber #blah (note camelCase) and why #(set-accidental-style etc and not \set Score.accidentalStyle or even \set Score.Accidental style is there any easy way to remember whether it's \set \override or #(set*? tia Damian ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: help with scheme function [solved]
although #(define (bar m) etc gave me some weird problems with \bar "" etc >> #(define (baz m) sorted it On 26 Mar 2011, at 14:30, Damian leGassick wrote: > Thanks Mike that works perfectly > > Damian > > > On 26 Mar 2011, at 13:26, m...@apollinemike.com wrote: > >> On Mar 26, 2011, at 8:58 AM, Damian leGassick wrote: >> >>> hi all >>> >>> as you can see below I've got some very repetitive note entry >>> >>> my attempt at a scheme substitution is not working >>> >>> can anyone help me out here? >>> >>> cheers >>> >>> Damian >>> >>> >>> \version "2.13.54" >>> >>> xenAccGliss = #(define-music-function (parser location nOne nTwo) >>> (ly:music? ly:music?) #{ >>>\afterGrace $nOne\glissando >>> {\stemDown \once \override Stem #'stroke-style = #"grace" $nTwo} #}) >>> >>> cello = { >>> >>> \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods >>> \override Glissando #'minimum-length = #5 >>> \override Glissando #'thickness = #2 >>> \clef treble >>> #(define afterGraceFraction (cons 15 16)) >>> \override Beam #'positions = #'(-8 . -8) >>> \afterGrace d'''16\glissando {\stemDown \once \override Stem >>> #'stroke-style = #"grace" c''16} >>> \afterGrace b''16\glissando {\stemDown \once \override Stem #'stroke-style >>> = #"grace" e''16} >>> \afterGrace f'''8\glissando {\stemDown \once \override Stem #'stroke-style >>> = #"grace" d'16} >>> \afterGrace c''8\glissando {\stemDown \once \override Stem #'stroke-style >>> = #"grace" b''16} >>> \afterGrace gis''16\glissando {\stemDown \once \override Stem >>> #'stroke-style = #"grace" f'16} >>> \afterGrace c''16~\glissando {\stemDown \once \override Stem >>> #'stroke-style = #"grace" d'16} >>> \afterGrace c''16\glissando {\stemDown \once \override Stem #'stroke-style >>> = #"grace" d'16} >>> \xenAccGliss f'4 g''2 >>> } >>> >>> \score { >>> \new Staff \with { >>>instrumentName = "Cello" >>> } {\cello } >>> \layout { } >>> } >>> >> >> The problem is (I think) in the way glissando is parsed. >> >> You can either remove glissando from the definition and add it in manually >> like so: >> >> xenAccGliss = #(define-music-function (parser location nOne nTwo) >> (ly:music? ly:music?) >> #{ >> \afterGrace $nOne { \stemDown \once \override Stem #'stroke-style = #"grace" >> $nTwo } >> #}) >> >> \xenAccGliss a' \glissando b' >> >> OR write a function that'll tack the glissando on >> >> #(define (bar m) >> (ly:music-set-property! m 'elements (reverse (cons (make-music (quote >> GlissandoEvent)) (ly:music-property m 'elements >> m) >> >> foo = #(define-music-function (parser location mus) (ly:music?) (bar mus)) >> >> xenAccGliss = #(define-music-function (parser location nOne nTwo) >> (ly:music? ly:music?) >> #{ >> \afterGrace \foo $nOne { \stemDown \once \override Stem #'stroke-style = >> #"grace" $nTwo } >> #}) >> >> \xenAccGliss a' b' >> >> Cheers, >> MS >> > > ___ > 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: \set beatLength broken?
Hi Xavier yes it was 2.12/13 docs confusion Damian On 26 Mar 2011, at 19:13, Xavier Scheuer wrote: > On 26 March 2011 19:22, Damian leGassick wrote: >> >> hi all >> the snippet given at >> http://lilypond.org/doc/v2.13/Documentation/notation/beams >> >> \relative c'' { >> c32[ c c c c c c c] >> \set subdivideBeams = ##t >> c32[ c c c c c c c] >> >> % Set beam sub-group length to an eighth note >> \set baseMoment = #(ly:make-moment 1 8) >> \set beatStructure = #'(2 2 2 2) >> c32[ c c c c c c c] >> >> % Set beam sub-group length to a sixteenth note >> \set baseMoment = #(ly:make-moment 1 16) >> \set beatStructure = #'(4 4 4 4) >> c32[ c c c c c c c] >> } >> >> does not work for me under 2.13.55 >> I get a warning >> cannot find property type-check for 'beatLength' (translation-type?). >> or am I doing something wrong > > Works fine here with 2.13.55 GNU/Linux. > Are you sure you are compiling with this version and not 2.12.3 that > would be installed also ? > You can check by running "lilypond" (without argument) in a terminal. > > Cheers, > Xavier > > -- > Xavier Scheuer ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \set beatLength broken? [solved]
my bad - frescobaldi defaults to the 2.12 branch for docs sorry for the noise Damian On 26 Mar 2011, at 18:22, Damian leGassick wrote: > hi all > > the snippet given at > > http://lilypond.org/doc/v2.13/Documentation/notation/beams > > \relative c'' { > c32[ c c c c c c c] > \set subdivideBeams = ##t > c32[ c c c c c c c] > > % Set beam sub-group length to an eighth note > \set baseMoment = #(ly:make-moment 1 8) > \set beatStructure = #'(2 2 2 2) > c32[ c c c c c c c] > > % Set beam sub-group length to a sixteenth note > \set baseMoment = #(ly:make-moment 1 16) > \set beatStructure = #'(4 4 4 4) > c32[ c c c c c c c] > } > does not work for me under 2.13.55 > > I get a warning > > cannot find property type-check for 'beatLength' (translation-type?). > > or am I doing something wrong > > cheers > > Damian > ___ > 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
\set beatLength broken?
hi all the snippet given at http://lilypond.org/doc/v2.13/Documentation/notation/beams \relative c'' { c32[ c c c c c c c] \set subdivideBeams = ##t c32[ c c c c c c c] % Set beam sub-group length to an eighth note \set baseMoment = #(ly:make-moment 1 8) \set beatStructure = #'(2 2 2 2) c32[ c c c c c c c] % Set beam sub-group length to a sixteenth note \set baseMoment = #(ly:make-moment 1 16) \set beatStructure = #'(4 4 4 4) c32[ c c c c c c c] } does not work for me under 2.13.55 I get a warning cannot find property type-check for 'beatLength' (translation-type?). or am I doing something wrong cheers Damian ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
timing false in one staff only?
Hi all I want a staffgroup with: *top is a reduction of some music *bottom is a line of notes - like a series I don't want the bottom staff to synchronize with the top (ie I want the notes to be evenly spaced, regardless of what's going on in the top staff) I can get rid of the time signature, barlines etc no problem - i just can't get timing = false in the one staff any ideas? tia Damian ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: help with scheme function [solved]
Thanks Mike that works perfectly Damian On 26 Mar 2011, at 13:26, m...@apollinemike.com wrote: > On Mar 26, 2011, at 8:58 AM, Damian leGassick wrote: > >> hi all >> >> as you can see below I've got some very repetitive note entry >> >> my attempt at a scheme substitution is not working >> >> can anyone help me out here? >> >> cheers >> >> Damian >> >> >> \version "2.13.54" >> >> xenAccGliss = #(define-music-function (parser location nOne nTwo) (ly:music? >> ly:music?) #{ >>\afterGrace $nOne\glissando >> {\stemDown \once \override Stem #'stroke-style = #"grace" $nTwo} #}) >> >> cello = { >> >> \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods >> \override Glissando #'minimum-length = #5 >> \override Glissando #'thickness = #2 >> \clef treble >> #(define afterGraceFraction (cons 15 16)) >> \override Beam #'positions = #'(-8 . -8) >> \afterGrace d'''16\glissando {\stemDown \once \override Stem #'stroke-style >> = #"grace" c''16} >> \afterGrace b''16\glissando {\stemDown \once \override Stem #'stroke-style >> = #"grace" e''16} >> \afterGrace f'''8\glissando {\stemDown \once \override Stem #'stroke-style >> = #"grace" d'16} >> \afterGrace c''8\glissando {\stemDown \once \override Stem #'stroke-style = >> #"grace" b''16} >> \afterGrace gis''16\glissando {\stemDown \once \override Stem >> #'stroke-style = #"grace" f'16} >> \afterGrace c''16~\glissando {\stemDown \once \override Stem #'stroke-style >> = #"grace" d'16} >> \afterGrace c''16\glissando {\stemDown \once \override Stem #'stroke-style >> = #"grace" d'16} >> \xenAccGliss f'4 g''2 >> } >> >> \score { >> \new Staff \with { >>instrumentName = "Cello" >> } {\cello } >> \layout { } >> } >> > > The problem is (I think) in the way glissando is parsed. > > You can either remove glissando from the definition and add it in manually > like so: > > xenAccGliss = #(define-music-function (parser location nOne nTwo) > (ly:music? ly:music?) > #{ > \afterGrace $nOne { \stemDown \once \override Stem #'stroke-style = #"grace" > $nTwo } > #}) > > \xenAccGliss a' \glissando b' > > OR write a function that'll tack the glissando on > > #(define (bar m) > (ly:music-set-property! m 'elements (reverse (cons (make-music (quote > GlissandoEvent)) (ly:music-property m 'elements > m) > > foo = #(define-music-function (parser location mus) (ly:music?) (bar mus)) > > xenAccGliss = #(define-music-function (parser location nOne nTwo) > (ly:music? ly:music?) > #{ > \afterGrace \foo $nOne { \stemDown \once \override Stem #'stroke-style = > #"grace" $nTwo } > #}) > > \xenAccGliss a' b' > > Cheers, > MS > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
help with scheme function
hi all as you can see below I've got some very repetitive note entry my attempt at a scheme substitution is not working can anyone help me out here? cheers Damian \version "2.13.54" xenAccGliss = #(define-music-function (parser location nOne nTwo) (ly:music? ly:music?) #{ \afterGrace $nOne\glissando {\stemDown \once \override Stem #'stroke-style = #"grace" $nTwo} #}) cello = { \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods \override Glissando #'minimum-length = #5 \override Glissando #'thickness = #2 \clef treble #(define afterGraceFraction (cons 15 16)) \override Beam #'positions = #'(-8 . -8) \afterGrace d'''16\glissando {\stemDown \once \override Stem #'stroke-style = #"grace" c''16} \afterGrace b''16\glissando {\stemDown \once \override Stem #'stroke-style = #"grace" e''16} \afterGrace f'''8\glissando {\stemDown \once \override Stem #'stroke-style = #"grace" d'16} \afterGrace c''8\glissando {\stemDown \once \override Stem #'stroke-style = #"grace" b''16} \afterGrace gis''16\glissando {\stemDown \once \override Stem #'stroke-style = #"grace" f'16} \afterGrace c''16~\glissando {\stemDown \once \override Stem #'stroke-style = #"grace" d'16} \afterGrace c''16\glissando {\stemDown \once \override Stem #'stroke-style = #"grace" d'16} \xenAccGliss f'4 g''2 } \score { \new Staff \with { instrumentName = "Cello" } {\cello } \layout { } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: shorten/lengthen left/right stem of beamed eighth
how about this << { d''2 } \\ { \stemUp \override Beam #'positions = #'(-1 . 1) a8 a' s s } >> Damian On 17 Jan 2011, at 22:52, -Eluze wrote: > > in this example there is a collision between th two first notes of both > voices. > > << > { d''2 } > \\ > { \stemUp a8 a' s s } >>> > > how can i shorten the first stem of the 2nd voice without shortening the 2nd > stem? > > i tried lots of items dealing with stems and lengths or how to shorten them: > > \override Stem #'(details beamed-lengths) = #'(2) % from the snippet > http://lsr.dsi.unimi.it/LSR/Item?u=1&id=681 > http://lsr.dsi.unimi.it/LSR/Item?u=1&id=681 > > \override Stem #'length-fraction = #0.16 > \override Stem #'details #'beamed-lengths = #'(.2) > \override Stem #'beamed-stem-shorten = #'( .1) > \override Stem #'length = #'.16 > > and i also added > > \override Stem #'no-stem-extend = ##t > > but all unsatisfyingly - the best i could get is: > > << > {d''2} > \\ > { \stemUp >\override Stem #'no-stem-extend = ##t >\once \override Stem #'length-fraction = #0.16 b8[ a'] > } >>> > > but in the next measure i will have a cis'' which will obviously collide > with the beam. > > it seems that the stem cannot be forced to stop under the middle (b) > staff-line. > > any ideas? > > > > -- > View this message in context: > http://old.nabble.com/shorten-lengthen-left-right-stem-of-beamed-eighth-tp30676236p30676236.html > Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. > > > ___ > 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
Fwd: Lyx 2.0 Beta 1, LilyPond OS X, MacTeX etc. - no lilypond integration
Begin forwarded message: > From: Damian leGassick > Date: 3 December 2010 17:39:35 GMT > To: Henry Flurry > Subject: Re: Lyx 2.0 Beta 1, LilyPond OS X, MacTeX etc. - no lilypond > integration > > do you have something like this in your .bash_login? > > export > PATH=/Applications/_AudioMusicRelated/LilyPond.app/Contents/Resources/bin:$PATH > > Damian > > On 3 Dec 2010, at 17:22, Henry Flurry wrote: > >> Setup: >> Lyx 2.0 Beta 1, downloaded from: >> ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/beta1/LyX-2.0.0beta1+qt4.dmg.sig >> >> LilyPond OS X 2.13.39, downloaded from: >> >> http://download.linuxaudio.org/lilypond/binaries/darwin-x86/lilypond-2.13.39-1.darwin-x86.tar.bz2 >> >> MacTeX: >> http://mirror.hmc.edu/ctan/systems/mac/mactex/MacTeX.mpkg.zip >> >> MacTex install package was run normally. >> >> LilyPond app was dragged into folder: >> /Applications/_AudioMusicRelated >> >> Lyx app was dragged into folder: >> /Applications/_PrintRelated >> >> I have MacTeXExtras, but I'm not sure if I need them nor where to put them, >> so they are stuffed away in another directory for later use. >> >> LilyPond runs fine by itself, rendering the sample provided quite nicely. >> >> Lyx runs fine on normal example files, rendering them fine in PDF and on the >> screen. >> >> However, when I open the lilypond example included, I get the error: >> >> The module lilypond requires a package that is >> not available in your LaTeX installation. LaTeX output >> may not be possible. >> >> Same error shows up when I go into Document->Settings. Also, under the View >> menu, there is no PDF option for the lilyPond document. >> >> Per earlier list suggestions, I ran Onyx 2.2 and verified permissions, etc. >> but I get the same message. >> >> My guess is that either: >> >> - LyX can't find where I put LilyPond, and I need to set some shell >> variables or run a script or move the LilyPond app >> >> - I need a different installation of LilyPond that goes directly into the >> bowels of Unix. >> >> What should I so? >> >> Thanks! >> Henry >> >> >> > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: What setup for a Pedagogy Book?
I can see it, yes but it didn't work initially - in fact has never worked until now did you try this in the terminal? /Applications/TeX/LyX.app/Contents/MacOS/lyx and it may be coincidence but try running OnyX Damian On 22 Nov 2010, at 01:57, Marc Mouries wrote: > > were you able to see the preview image of the lilypond score in Lyx? > For me on Mac as well when i open the lyx file i get an error message saying > that I am missing a latex package. > > On Nov 21, 2010, at 4:24 PM, Damian leGassick wrote: > >> So... >> >> I just ran Onyx 2.2 and now everything works fine (mac OSX 10.6.5) >> >> weird >> >> anyway... i'll give it a good road test over the next few weeks >> >> Damian >> >> >> On 21 Nov 2010, at 18:58, Julien Rioux wrote: >> >>> On 21/11/2010 12:19 PM, Damian leGassick wrote: >>>> 2.13.39 >>>> >>>> yes, I restarted LyX but I still can't view it in any format except LyXHTML >>>> >>>> should I enter the lilypond-book converters manually? >>>> >>>> Damian >>> >>> Hi Damian, >>> >>> So, it sounds like LyX is not detecting your lilypond installation. This is >>> a bug. Can you please let me know your system and which installer did you >>> use for LyX? >>> >>> Also very useful would be if you can capture the output of the LyX's >>> configuration step. To do this you would start lyx from a terminal, click >>> the "Tools > reconfigure" menu, then copy&paste what you get in the >>> terminal window. Howver, I don't know how to do this on a MS Windows OS. >>> >>> To set up the converters manually: >>> In Tools > Preferences > File Handling >>> >>> In File Formats >>> Click New, then fill the following: >>> Format: Lilypond book (LaTeX) >>> Document format: yes >>> Vector graphics format: no >>> Short Name: lilypond-book >>> Extension: lytex >>> >>> >>> In Converters >>> Select these: >>> From format: Lilypond book (LaTeX) >>> To format: LaTeX (plain) >>> Converter: lilypond-book --safe --lily-output-dir=ly-eps $$i >>> Click Add >>> >>> Then select these: >>> From format: Lilypond book (LaTeX) >>> To format: LaTeX (pdflatex) >>> Converter: lilypond-book --safe --pdf --latex-program=pdflatex >>> --lily-output-dir=ly-pdf $$i >>> (all on one line; line-wrappings appear due to email client) >>> Click Add >>> >>> -- >>> Julien >>> >>> >>> ___ >>> 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 > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: What setup for a Pedagogy Book?
So... I just ran Onyx 2.2 and now everything works fine (mac OSX 10.6.5) weird anyway... i'll give it a good road test over the next few weeks Damian On 21 Nov 2010, at 18:58, Julien Rioux wrote: > On 21/11/2010 12:19 PM, Damian leGassick wrote: >> 2.13.39 >> >> yes, I restarted LyX but I still can't view it in any format except LyXHTML >> >> should I enter the lilypond-book converters manually? >> >> Damian > > Hi Damian, > > So, it sounds like LyX is not detecting your lilypond installation. This is a > bug. Can you please let me know your system and which installer did you use > for LyX? > > Also very useful would be if you can capture the output of the LyX's > configuration step. To do this you would start lyx from a terminal, click the > "Tools > reconfigure" menu, then copy&paste what you get in the terminal > window. Howver, I don't know how to do this on a MS Windows OS. > > To set up the converters manually: > In Tools > Preferences > File Handling > > In File Formats > Click New, then fill the following: > Format: Lilypond book (LaTeX) > Document format: yes > Vector graphics format: no > Short Name: lilypond-book > Extension: lytex > > > In Converters > Select these: > From format: Lilypond book (LaTeX) > To format: LaTeX (plain) > Converter: lilypond-book --safe --lily-output-dir=ly-eps $$i > Click Add > > Then select these: > From format: Lilypond book (LaTeX) > To format: LaTeX (pdflatex) > Converter: lilypond-book --safe --pdf --latex-program=pdflatex > --lily-output-dir=ly-pdf $$i > (all on one line; line-wrappings appear due to email client) > Click Add > > -- > Julien > > > ___ > 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: What setup for a Pedagogy Book?
2.13.39 yes, I restarted LyX but I still can't view it in any format except LyXHTML should I enter the lilypond-book converters manually? Damian On 21 Nov 2010, at 17:11, Julien Rioux wrote: > On 21/11/2010 11:45 AM, Damian leGassick wrote: >> Hi Julien >> >> lilypond-book is in my path >> >> I see no convertors for lilypond or lilypond-book in preferences/file >> handling/convertors >> >> maybe this is my problem? >> >> Damian >> >> >> On 19 Nov 2010, at 17:14, Julien Rioux wrote: >> >>> On 19/11/2010 5:26 AM, Damian leGassick wrote: >>>> lyx is also telling me (modules) that i can't enable lilypond-book because >>>> some packages are unavailable - which packages are those? >>> >>> Sorry I just realised that my previous message wasn't useful in >>> understanding the error. >>> >>> Is "lilypond-book" in your PATH? It must be found by LyX at configure time. >>> Could you please make sure it is in your PATH, reconfigure LyX (Tools> >>> reconfigure), restart LyX and try again? >>> >>> To specify your PATH either modify the environment variable or the PATH >>> prefix in LyX Tools> Preferences> Paths >>> >>> Let us know how this goes! >>> >>> Thanks, >>> Regards, >>> Julien >>> >>> >>> ___ >>> lilypond-user mailing list >>> lilypond-user@gnu.org >>> http://lists.gnu.org/mailman/listinfo/lilypond-user > > What's the output of: > lilypond-book --version > > Also, did you restart LyX after running reconfigure? > > -- > Julien > > > ___ > 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: What setup for a Pedagogy Book?
Hi Julien lilypond-book is in my path I see no convertors for lilypond or lilypond-book in preferences/file handling/convertors maybe this is my problem? Damian On 19 Nov 2010, at 17:14, Julien Rioux wrote: > On 19/11/2010 5:26 AM, Damian leGassick wrote: >> lyx is also telling me (modules) that i can't enable lilypond-book because >> some packages are unavailable - which packages are those? > > Sorry I just realised that my previous message wasn't useful in understanding > the error. > > Is "lilypond-book" in your PATH? It must be found by LyX at configure time. > Could you please make sure it is in your PATH, reconfigure LyX (Tools > > reconfigure), restart LyX and try again? > > To specify your PATH either modify the environment variable or the PATH > prefix in LyX Tools > Preferences > Paths > > Let us know how this goes! > > Thanks, > Regards, > Julien > > > ___ > 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: What setup for a Pedagogy Book?
has anyone got a link for the lilypond.lyx file - i can't see it lyx is also telling me (modules) that i can't enable lilypond-book because some packages are unavailable - which packages are those? thanks damian On 14 Nov 2010, at 01:09, Julien Rioux wrote: > On 13/11/2010 3:08 PM, Bernardo Barros wrote: >> How about Lyx and Lilypond integration? How is it going? > > The first beta version of LyX 2.0 is out since last week. New in this version > is support for Lilypond-book (version 2.13 or above) backend: > > http://wiki.lyx.org/LyX/NewInLyX20#toc24 > > Source code tarballs can be found at ftp://ftp.lyx.org/pub/lyx/devel/ and > binaries should follow soon. (some linux binaries are available already) > > To get started with LyX and Lilypond, look for the sample file lilypond.lyx > in the examples directory. > > The LyX projects would very much welcome feedback from lilypond users to > improve support before the final release. > > Regards, > Julien > > > ___ > 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
Fwd: two problems regarding harp part
Begin forwarded message: From: Damian leGassick Date: 19 August 2010 11:11:05 BST To: 胡海鹏 - Hu Haipeng Subject: Re: two problems regarding harp part Hello Haipeng if you comment out the right hand's \showStaffSwitch it works fine perhaps this is a bug? maybe you can't have two of them in a score? i also found that your \headsOn and \headsOff weren't working as expected in bars 99 and 204 - leaving them out gives a better result i think Damian On 19 Aug 2010, at 09:24, 胡海鹏 - Hu Haipeng wrote: Dear Phil: > I can confirm that compiling this music produces a number of errors... > the score is too complex to have any chance of working out whether this is a bug or expected behaviour owing to errors in the music. I tried commenting out parts of the music but with no success. Yeah, when I deleted music before rehearsal 6, all errors except "couldn't fit music on page" go away. But the previous music has no problem when the other half is deleted. Thus, Lilypond is playing Hide-And-See with me!!! Which expert can fix it? I think it's the strangest thing I have met in my life :-) Haipeng 您想拥有和网易免费邮箱一样强大的软件吗? ___ 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: French accents
to do café = c a f option-e e être = option-i e t r e d hth On 4 Aug 2009, at 04:25, Graham Norton wrote: Dear All, iMac TeXShop MACROS give another way of inserting non-standard characters into LilyPond lyrics without using unicodes explicitly (my version of TeXShop will not allow me to insert characters directly from the Special Character table into a file). Firstly, In System Preferences > International, you can select the language/ s you wish to use. If you click on your standard flag in the top menu bar, you will see a box of the languages you have selected with a tick next to the current one. Clicking e.g. French in this box changes your ENTIRE keyboard layout: thus 2 is é, 9 is ç and so on. But this is treacherous: s2 would become sé, the letter q has now become an a and so on. So this needs a lot of care (if you are not going to use \char ##x whatever), as you will have e.g. a's where you wanted q's etc. Basically, a very impractical method. Better, in TeXShop > Macros, open the Macro editor and create macros agrave, eacute, cedilla, ihat etc. The new macros you create will appear under the Macros button in the menu at the top of your current file. So you can just click on e.g. ehat from your file Macro button and it will insert ê at the cursor. LilyPond prints these as intended, even without changing the encoding from Mac Roman to UTF-8. (You can even name the macro as ê, but then you will get an italicized ê when you put ê in the content box!) [To use the Macro editor, select New Item, and enter ehat in the Name box. In the Content box, insert ê (from the Special Character table or by changing the language to French, holding down the option key and typing e. Likewise for any other special characters.] This approach can be used to insert any special characters by clicking on the corresponding macro you have created and avoids changing the keyboard or entering special characters directly (if you can). Graham PS. The only French character that appeared from holding the option key on the standard keyboard is ç from option c. On 04/08/2009, at 6:59 AM, James E. Bailey wrote: On 02.08.2009, at 15:06, Graham Norton wrote: Dear All, The Unicodes are available from TeXShop > Edit > Special Characters (in MaC OS). Just select a character and let the mouse hover over it. (A total of 2820 glyphs can be obtained this way.) Here is a table of special French characters obtained in this way: character Unicode é 00E9 è 00E8 ê 00EA î 00EE ç 00E7 à 00E0 ô 00F4 For instance, \markup{ \concat{ B \char ##x00E9 caud } } in lyrics gives Bécaud in LilyPond output (from TeXShop input), as per the Notation Reference 3.3.3. Incidentally, TeXShop produces this output even without changing TeXShop > Preferences > Encoding to UTF-8. Graham PS I think it would be useful if the doc in Notation Reference 3.3.3 said something about how to obtain the unicodes (for users who are not using a UTF-8 supported edito)r. If you're on a macintosh, this is an extremely long way to do this. The faster way is to hold down option, the modifier, and then the character. For example, é is option-e-e and è is option-`-e. These can all be seen in the keyboard viewer, which can be accessed from System Preferences in the Input Menu of the International preferences. Also, if you're on a macintosh, your editor supports UTF-8. James E. Bailey ___ 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
wrong font for time sig and dynamics
hi all my time signatures and dynamics now print in a sans serif font. the change is that i'm using a laser rather than inkjet printer i've tried 2.12.1 and 2.13.x, i've tried copying all fonts into the / fonts folder and the otf fonts into a /.fonts folder mac osx 10.5.6 views fine in preview/acrobat any ideas welcomed d ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to produce a tiny example?
dear MAP (also doing my phD with LyX) in the terminal (well, actually in textmate...) i do: lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts filename.ly which generates a clipped eps and pdf file which i then import into lyx d On 9 Jan 2009, at 21:01, Jonathan Kulp wrote: MonAmiPierrot wrote: Hello, I need to use several example (90% are tiny fragments) of music, many times just 2 or 3 measures of some melody with words for my musicological thesis. I'ma latex user and I DON'T want to use lilypond-book, because it's too difficoult to implement in LyX 1.6.1 (the editor I use) if one uses some complex external-pass packages such for example BibLaTeX. Anyway, I can bypass the use of lilypond-book by using normal lilypond. And here come my question: I can insert a Lilypond file in my LyX document, but it get it "as it is" and paste it in the page. That means it will be as big as a page. One solution would be to play with page and music dimensions and then zoom in/out the image in the document, but this is the dirty way. The best solution is that Lilypond could produce a pdf or ps file that is already clipped of all white space, left, right, top and bottom. I found an old post where someone explain how to have the vertical space clipped with this trick: \header{ copyright = "" tagline = ""} as well as \paper{ragged-right=##t} (or ragged-last=##t if the excerpt is longer than 1 line) but left and right space is still present and depends on the page size used by Lilypond. Is there a way to have Lilypond CLIP all blank space around and produce a pdf or ps file of the same size of the music written? Thanks - Piero Faustini, PhD student Dipartimento di Scienze Storiche Sezione musicologia Università di Ferrara Software used: - LyX 1.6.1 on WinXP; EndNote & JabRef - MikTex - LaTeX class: Koma book - Lilypond and MusixTeX for example excerpts - BibLaTeX for bibliographies Patrick Horgan and I wrote a program (actually a long shell script) that does exactly what you want, but it only works on Linux and Mac so far. Depending on your computer skills, you might be able to make it work on Windows using Cygwin--I've experimented a bit with this but I'm terrible on Windows and don't have the time to fiddle with it. I'm attaching the script for you in case you want to try it out. The main dependency is the netbpm suite of image manipulation tools, which is available freely for Windows. Alternatively you could make a Linux partition or a Wubi Linux installation on your XP machine and run the program while booted into Linux. Best of luck :) Jon -- Jonathan Kulp http://www.jonathankulp.com ___ 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: noteheads gone when printing - font wrong
i tried a different printer - works fine any idea why an hp laserjet 1020 suddenly decides not to play ball? cheers d On 5 Oct 2008, at 19:11, Damian leGassick wrote: this is weird it was working fine just the other day - it's as if acrobat/preview loses the lily fonts at printing. i've cleaned the system and application font-caches (with linotype font explorer) what's odd is that even embedded in omnigraffle or pages, i get no music printed. it all looks fine on-screen, it's just the printing any ideas? tia Damian ___ 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
noteheads gone when printing - font wrong
this is weird it was working fine just the other day - it's as if acrobat/preview loses the lily fonts at printing. i've cleaned the system and application font-caches (with linotype font explorer) what's odd is that even embedded in omnigraffle or pages, i get no music printed. it all looks fine on-screen, it's just the printing any ideas? tia Damian ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR status
On 30 Aug 2008, at 12:13, Valentin Villenave wrote: Plus, it's some kind of a "laboratory" that helps improving the docs (after selection and edition of the chosen snippets). that would be my preferred 'status' cheers d ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR status
which brings us back to the beginning of the thread it's status is a bit vague, so people aren't always sure where's the best place to look i agree with graham that 'complementary' status encourages a wiki mentality - personally i'd be happy never to see another wiki again :-) d On 30 Aug 2008, at 11:58, Johan Vromans wrote: Damian leGassick <[EMAIL PROTECTED]> writes: surely if a snippet deserves/needs to be in LSR it should be incorporated into the next revision of the docs? I'd consider the LSR complementary to the docs. -- Johan Chord is alive! http://chordii.sourceforge.net ___ 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: LSR status
completely in contrast to reinhold, i'm always put out when i have to go to LSR in search of something that's not in the docs. surely if a snippet deserves/needs to be in LSR it should be incorporated into the next revision of the docs? cheers d On 27 Aug 2008, at 15:01, Reinhold Kainhofer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Mittwoch, 27. August 2008 schrieb Eluze Weehaeli: Am 27.08.2008, 11:02 Uhr, schrieb Graham Percival <[EMAIL PROTECTED]>: That's what I recommend, anyway -- that way you get (relatively) good, sensible snippets. If you look at LSR itself, you take the risk of having bad info (like all wiki-like systems). I don't follow you - better don't start to use LSR? I believed the snippets in the "big page" come out of the repository. I totally agree. The LSR is really invaluable, with its search function and quick listing of only relevant snippets, not like the snippets page in the docs, which is sorted according to some strange algorithm (alphabetically, which completely ignores which things display similar stuff). IMO, LSR should only be used when you want to add a new snippet. Actually, if I'm looking for how to do something in Lilypond, I first search the LSR for a relevant snippet. If I can't find anything there, only then I take a loot at the notation reference! Cheers, Reinhold - -- - -- Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFItV4zTqjEwhXvPN0RArp5AKDdrQDSgTYLUrL/e6FQ5E3AP/p/TwCgvsW7 XiwleM5abY4iJr1dT8jZO0I= =f1Jm -END PGP SIGNATURE- ___ 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: color notehead according to absolute pitch
thanks jay it doesn't handle b-sharp yet - but other than that it's pretty compact for absolute pitch apologies in advance to kenny for slightly hijacking the thread but... my own needs are for (e.g.) all d-sharps/e-flats/e-naturals/f-flats to be red etc (parsing webern with hexatonic/octatonic scales for analysis students) i can make it work by modifying your previous suggestion, along these lines: #(define (pitch-to-color pitch) (cond ((and (eqv? (ly:pitch-alteration pitch) 0) (eqv? (ly:pitch-notename pitch) 0)) (x11-color 'red)) ((and (eqv? (ly:pitch-alteration pitch) 1/2) (eqv? (ly:pitch- notename pitch) 0)) (x11-color 'green)) ((and (eqv? (ly:pitch-alteration pitch) -1/2) (eqv? (ly:pitch- notename pitch) 1)) (x11-color 'green)) ((and (eqv? (ly:pitch-alteration pitch) 0) (eqv? (ly:pitch-notename pitch) 2)) (x11-color 'red)) ((and (eqv? (ly:pitch-alteration pitch) 1/2) (eqv? (ly:pitch- notename pitch) 2)) (x11-color 'green)) ((and (eqv? (ly:pitch-alteration pitch) -1/2) (eqv? (ly:pitch- notename pitch) 3)) (x11-color 'red)) ((and (eqv? (ly:pitch-alteration pitch) 0) (eqv? (ly:pitch-notename pitch) 3)) (x11-color 'green)) ((and (eqv? (ly:pitch-alteration pitch) 1/2) (eqv? (ly:pitch- notename pitch) 4)) (x11-color 'red)) ((and (eqv? (ly:pitch-alteration pitch) 0) (eqv? (ly:pitch-notename pitch) 5)) (x11-color 'green)) ((and (eqv? (ly:pitch-alteration pitch) -1/2) (eqv? (ly:pitch- notename pitch) 5)) (x11-color 'red)) ((and (eqv? (ly:pitch-alteration pitch) 1/2) (eqv? (ly:pitch- notename pitch) 6)) (x11-color 'red)) ((and (eqv? (ly:pitch-alteration pitch) 0) (eqv? (ly:pitch-notename pitch) 1)) (x11-color 'blue)) ((and (eqv? (ly:pitch-alteration pitch) 1/2) (eqv? (ly:pitch- notename pitch) 3)) (x11-color 'blue)) ((and (eqv? (ly:pitch-alteration pitch) -1/2) (eqv? (ly:pitch- notename pitch) 4)) (x11-color 'blue)) ((and (eqv? (ly:pitch-alteration pitch) 1/2) (eqv? (ly:pitch- notename pitch) 5)) (x11-color 'blue)) ((and (eqv? (ly:pitch-alteration pitch) -1/2) (eqv? (ly:pitch- notename pitch) 6)) (x11-color 'blue)) ) ) but, as you can see it's hardly great programming style and somewhat error prone. any further help would be hugely appreciated — other than the obvious, which is 'go and learn scheme! ' ;-) — as i've been struggling with this one for months now. thanks again damian On 9 Aug 2008, at 05:12, Jay Anderson wrote: If anyone can come up with a nice solution, this should definitely be added to the LSR... I'm not sure this is a nice solution yet, but it is at least a little easier to manipulate the color mapping and it handles enharmonic spellings easily. Let me know what you think. -Jay \version "2.11.54" %Association list of semitones from middle c to colors. #(define color-mapping (list (cons (ly:pitch-semitones (ly:make-pitch 0 0 0)) (x11-color 'blue)) (cons 2 (x11-color 'yellow)) (cons 3 (x11-color 'red)) (cons -1 (x11-color 'green)) (cons 5 (x11-color 'purple)) (cons 7 (x11-color 'cyan)) (cons 8 (x11-color 'ForestGreen)) )) #(define (pitch-to-color pitch) (let ((color (assv (ly:pitch-semitones pitch) color-mapping))) (if color (cdr color #(define (color-notehead grob) (pitch-to-color (ly:event-property (ly:grob-property grob 'cause) 'pitch))) \score { \new Staff \relative c' { \override NoteHead #'color = #color-notehead c8 b d dis ees f g aes } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: color notehead according to absolute pitch
kenny, how about #(define (color-notehead grob) (pitch-to-color (ly:event-property (ly:grob-property grob 'cause) 'pitch))) #(define (pitch-to-color pitch) (cond ((and (eqv? (ly:pitch-octave pitch) 0) (eqv? (ly:pitch-alteration pitch) 0) (eqv? (ly:pitch-notename pitch) 6)) (x11-color 'red)) ((and (eqv? (ly:pitch-octave pitch) 0) (eqv? (ly:pitch-alteration pitch) -1/2) (eqv? (ly:pitch-notename pitch) 6)) (x11-color 'green)) ((and (eqv? (ly:pitch-octave pitch) 1) (eqv? (ly:pitch-alteration pitch) 0) (eqv? (ly:pitch-notename pitch) 6)) (x11-color 'blue)) ((and (eqv? (ly:pitch-octave pitch) 0) (eqv? (ly:pitch-alteration pitch) 0) (eqv? (ly:pitch-notename pitch) 5)) (x11-color 'orange)) ((and (eqv? (ly:pitch-octave pitch) 0) (eqv? (ly:pitch-alteration pitch) 0) (eqv? (ly:pitch-notename pitch) 4)) (x11-color 'orange)) ) ) and any kind schemers reading how would you refactor this to use lists, along the lines of (0 0 6 'red) (0 -1/2 6 'green) (1 0 6 'blue) ((0 0 5 ) (0 0 4) 'orange) thanks d On 5 Aug 2008, at 23:06, Damian leGassick wrote: thanks steven cond - yes, i was trying to use case kenny - can you figure it out from here? if not i'll try tomorrow morning london time d On 5 Aug 2008, at 21:10, Steven Weber wrote: Use the (cond) expression. Here's a simplified version of your pitch-to-color function that colors all c's red and all f's blue: #(define (pitch-to-color pitch) (cond ((eqv? (ly:pitch-notename pitch) 0) (x11-color 'red)) ((eqv? (ly:pitch-notename pitch) 3) (x11-color 'blue)) ) ) --Steven -Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damian leGassick Sent: Tuesday, August 05, 2008 5:53 AM To: lilypond-user@gnu.org Subject: Re: color notehead according to absolute pitch On 5 Aug 2008, at 05:39, Jay Anderson wrote: Kenny Stephens yahoo.com> writes: Our church has a handbell group whose members are not all musically literate. To keep themselves from having to learn to read music, they mark their notes using differently colored highlighters. Is there a means by which I can color the notes based on its absolute pitch --- not its pitch class? Some of the music spans three octaves. The requirements are: 1) b4 and b5 are different colors. 2) b\flat4 and b4 are different colors. 3) different pitches can be assigned to the same color (some "ringers" play two or more handbells). I've only been playing around with Lilypond for about a week (though I've logged numerous hours) for typesetting organ music; but this is different. I did find an example using Scheme and 'staff-position,' but this fails condition 1. Ideas, suggestions or solutions would be appreciated. Using the same idea as the example you mentioned (http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Advanced -tweaks-with-Scheme ) you can base the color on the pitch: #(define (color-notehead grob) (pitch-to-color (ly:event-property (ly:grob-property grob 'cause) 'pitch))) Now you'd just have to figure out how to implement the pitch-to- color function. For example this colors all the flat notes blue: #(define (pitch-to-color pitch) (if (eqv? (ly:pitch-alteration pitch) -1/2) (x11-color 'blue))) You might want to get a little fancy to make sure enharmonic spellings of the same pitch are the same color, but for most cases that shouldn't be a problem. -Jay ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user I can get as far as: #(define (color-notehead grob) (pitch-to-color (ly:event-property (ly:grob-property grob 'cause) 'pitch))) #(define (pitch-to-color pitch) (if (and (eqv? (ly:pitch-octave pitch) 0) (eqv? (ly:pitch-alteration pitch) -1/2) (eqv? (ly:pitch-notename pitch) 6)) (x11-color 'blue))) which sets only the b-flat above middle c to be blue. can't work out how to simultaneously colour the b-natural, say, red - i'd love to know too Damian ___ 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 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: color notehead according to absolute pitch
thanks steven cond - yes, i was trying to use case kenny - can you figure it out from here? if not i'll try tomorrow morning london time d On 5 Aug 2008, at 21:10, Steven Weber wrote: Use the (cond) expression. Here's a simplified version of your pitch-to-color function that colors all c's red and all f's blue: #(define (pitch-to-color pitch) (cond ((eqv? (ly:pitch-notename pitch) 0) (x11-color 'red)) ((eqv? (ly:pitch-notename pitch) 3) (x11-color 'blue)) ) ) --Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damian leGassick Sent: Tuesday, August 05, 2008 5:53 AM To: lilypond-user@gnu.org Subject: Re: color notehead according to absolute pitch On 5 Aug 2008, at 05:39, Jay Anderson wrote: Kenny Stephens yahoo.com> writes: Our church has a handbell group whose members are not all musically literate. To keep themselves from having to learn to read music, they mark their notes using differently colored highlighters. Is there a means by which I can color the notes based on its absolute pitch --- not its pitch class? Some of the music spans three octaves. The requirements are: 1) b4 and b5 are different colors. 2) b\flat4 and b4 are different colors. 3) different pitches can be assigned to the same color (some "ringers" play two or more handbells). I've only been playing around with Lilypond for about a week (though I've logged numerous hours) for typesetting organ music; but this is different. I did find an example using Scheme and 'staff-position,' but this fails condition 1. Ideas, suggestions or solutions would be appreciated. Using the same idea as the example you mentioned (http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Advanced -tweaks-with-Scheme ) you can base the color on the pitch: #(define (color-notehead grob) (pitch-to-color (ly:event-property (ly:grob-property grob 'cause) 'pitch))) Now you'd just have to figure out how to implement the pitch-to-color function. For example this colors all the flat notes blue: #(define (pitch-to-color pitch) (if (eqv? (ly:pitch-alteration pitch) -1/2) (x11-color 'blue))) You might want to get a little fancy to make sure enharmonic spellings of the same pitch are the same color, but for most cases that shouldn't be a problem. -Jay ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user I can get as far as: #(define (color-notehead grob) (pitch-to-color (ly:event-property (ly:grob-property grob 'cause) 'pitch))) #(define (pitch-to-color pitch) (if (and (eqv? (ly:pitch-octave pitch) 0) (eqv? (ly:pitch-alteration pitch) -1/2) (eqv? (ly:pitch-notename pitch) 6)) (x11-color 'blue))) which sets only the b-flat above middle c to be blue. can't work out how to simultaneously colour the b-natural, say, red - i'd love to know too Damian ___ 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: color notehead according to absolute pitch
On 5 Aug 2008, at 05:39, Jay Anderson wrote: Kenny Stephens yahoo.com> writes: Our church has a handbell group whose members are not all musically literate. To keep themselves from having to learn to read music, they mark their notes using differently colored highlighters. Is there a means by which I can color the notes based on its absolute pitch --- not its pitch class? Some of the music spans three octaves. The requirements are: 1) b4 and b5 are different colors. 2) b\flat4 and b4 are different colors. 3) different pitches can be assigned to the same color (some "ringers" play two or more handbells). I've only been playing around with Lilypond for about a week (though I've logged numerous hours) for typesetting organ music; but this is different. I did find an example using Scheme and 'staff-position,' but this fails condition 1. Ideas, suggestions or solutions would be appreciated. Using the same idea as the example you mentioned (http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Advanced-tweaks-with-Scheme ) you can base the color on the pitch: #(define (color-notehead grob) (pitch-to-color (ly:event-property (ly:grob-property grob 'cause) 'pitch))) Now you'd just have to figure out how to implement the pitch-to-color function. For example this colors all the flat notes blue: #(define (pitch-to-color pitch) (if (eqv? (ly:pitch-alteration pitch) -1/2) (x11-color 'blue))) You might want to get a little fancy to make sure enharmonic spellings of the same pitch are the same color, but for most cases that shouldn't be a problem. -Jay ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user I can get as far as: #(define (color-notehead grob) (pitch-to-color (ly:event-property (ly:grob-property grob 'cause) 'pitch))) #(define (pitch-to-color pitch) (if (and (eqv? (ly:pitch-octave pitch) 0) (eqv? (ly:pitch-alteration pitch) -1/2) (eqv? (ly:pitch-notename pitch) 6)) (x11-color 'blue))) which sets only the b-flat above middle c to be blue. can't work out how to simultaneously colour the b-natural, say, red - i'd love to know too Damian ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Enlarge the size of the accidentals in figured bass
I second arno d On 12 Jul 2008, at 19:43, Arno Rog wrote: Carl Sorensen byu.edu> writes: This is the place. I will make the change, if there is consensus on the -user list that this is something we want to do. I'm not an expert on figured bass (as James has noticed in the past) but I'm doing the GDP section on chords, so I'm familiar with the figured bass part of LilyPond. While we're at it, I'd be willing to change the font of the figures to something other than the music font. Several have complained in the past that the figures are too heavy for the music. So, figured bass experts, here's your opportunity to chime in: 1. Do you want the accidental size increased? 2. Do you want the figure number font changed? Carl Carl, Amazing: 1. Yes please increase the accidental size ( 0 0 ), seems fine to me 2. figure font is fine by me. Thanks in advance, Arno Rog (organist, continuo-player) ___ 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: bracketed silence
hi luis i use this snippet: http://lsr.dsi.unimi.it/LSR/Item?id=377 hope this helps damian On 12 Jul 2008, at 00:53, Jonathan Kulp wrote: Hi Luis, I got the brackets to go inside the staff with this code. If you fiddle with the markup (change font size, spacing, whatever) and the values inside the parentheses you can probably get it to look like you want. Jon \version "2.11.51" \relative c'' { \override TextScript #'staff-padding = #'() \once \override TextScript #'extra-offset = #'(-0.6 . -3.0) b4\rest^\markup { [ ] } } luis jure wrote: hello list, i'd need to place brackets around a rest in the score. something like \parenthesize but square brackets [ ]. i tried using a \markup, but no matter what i try, i found no way to place the brackets in the staff around the rest. i tried every tweak i could find in the manual, but it seems to me that lilypond is always smarter and refuses to place the markup _in_ the staff. could anyone help me with this? is it at all possible? best, lj ___ 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 on OSX
download the ppc version, it works fine - just use a different editor - vim, emacs, textmate, lilypond-tool (jEdit) are all good- it's only the lilypond text editor which doesn't work, and to be honest you won't miss it. d On 22 Jun 2008, at 23:40, Steve Schow wrote: Has Lilypond been fixed to work properly on OSX Leopard yet? I see all kinds of archived messages about problems with it and I have just downloaded the latest 2.11.x version and indeed it does not seem to work on first try. here is what happens now: 1 - Download lilypond for Intel OSX 2 - Decompress it, there is only one file extracted, called Lilypond. Its actually a package with much stuff found inside its contents, but I'm not at all sure how, for example, to execute musicxml2ly since its deep inside the package. 3 - If I double click on the Lilypond package, something launches and a text window comes up with the test ly code. There is no way to save this file. The menu has "Lilypond" displayed but there is no way to save, quit or do anything else. I have to use ForceQuit to kill the application. 4 - I am able to copy and paste this code into another text editor and save test.ly that way. However when I then try to drag and drop this test.ly into the Lilypond icon, the same thing happens as when I just double clicked on the icon.it opens up a text editor with the sample ly code in it and wedges the menu so that there is no way to quit or do anything. Nothing is rendered. ___ 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: location of rests and bar alignment between staffs
for synchronized staves you need to do something like this: \version "2.11.43" \header { tagline = "" } #(define mydrums '( (bassdrum default #f -1) (acousticbassdrum default #f 1) (hihat cross #f -1) (closedhihatcross #f 1) (snare harmonic#f -1) (acousticsnare harmonic#f 1) ) ) drumOne = \drummode { \override Beam #'positions = #'(3 . 3) sn4._\markup{!} sn8[r8 sna8]^\markup {signal} r8[r8 sn8] r8[r8 sna8] sn4. hh8[r8 hhc8] hh4. r4. \bar "|:" bd4. hh8[r8 hhc8] bd8[r8 sna8] sn4. bd4. hh4. bd8[r8 sna8] sn4. \bar ":|" } drumTwo = \drummode { \override Beam #'positions = #'(3 . 3) s1. s1. \bar "|:" hh4._\markup{*palm slap} sn8[r8 sn8] r2. sn4. _ \markup{!} sn4. _\markup{!} hh8[r8 hhc8] r4. \bar ":|" } \score { << \new DrumStaff << \override DrumStaff.StaffSymbol #'line-count = #1 \override DrumStaff.BarLine #'bar-size = #4 \time 12/8 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) \new DrumVoice { \voiceOne \set Staff.instrumentName = "Drum 1" \drumOne } >> \new DrumStaff << \override DrumStaff.StaffSymbol #'line-count = #1 \override DrumStaff.BarLine #'bar-size = #4 \time 12/8 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) \new DrumVoice { \voiceOne \set Staff.instrumentName = "Drum 2" \drumTwo } >> >> } for the rests, you'll need to use this format d4\rest (see docs on rests) can't remember how to set this as a default, someone else will i'm sure d On 22 May 2008, at 19:35, Brian Kidd wrote: Hello, I'm new to lilypond and would like to create notation for an ensemble of hand drums. Currently, I'm having trouble with two specific layout issues and I wasn't able to find exactly what I needed in searching the archives. The first is how to position a rest relative to a single line so that the rest symbol is centered on the single line. Is there a way to define the default rest position relative to the line? The second is how to adjust the horizontal spacing of each bar so that they are aligned between each staff. I've had a lot of trouble with this issue and tried tweaking a number of parameters including proportionalNotationDuration and the SpacingSpanner, which hasn't produced the desired results. I've included the syntax and the output it produces. Thanks, -Brian #(define mydrums '( (bassdrum default #f -1) (acousticbassdrum default #f 1) (hihat cross #f -1) (closedhihatcross #f 1) (snare harmonic#f -1) (acousticsnare harmonic#f 1) ) ) drumOne = \drummode { \override Beam #'positions = #'(3 . 3) sn4._\markup{!} sn8[r8 sna8]^\markup {signal} r8[r8 sn8] r8[r8 sna8] sn4. hh8[r8 hhc8] hh4. r4. \bar "|:" bd4. hh8[r8 hhc8] bd8[r8 sna8] sn4. bd4. hh4. bd8[r8 sna8] sn4. \bar ":|" } drumTwo = \drummode { \override Beam #'positions = #'(3 . 3) s1. s1. \bar "|:" hh4._\markup{*palm slap} sn8[r8 sn8] r2. sn4. _ \markup{!} sn4. _\markup{!} hh8[r8 hhc8] r4. \bar ":|" } \new DrumStaff << \override DrumStaff.StaffSymbol #'line-count = #1 \override DrumStaff.BarLine #'bar-size = #4 \time 12/8 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) \new DrumVoice { \voiceOne \set Staff.instrumentName = "Drum 1" \drumOne } >> \new DrumStaff << \override DrumStaff.StaffSymbol #'line-count = #1 \override DrumStaff.BarLine #'bar-size = #4 \time 12/8 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) \new DrumVoice { \voiceOne \set Staff.instrumentName = "Drum 2" \drumTwo } >> ___ 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: Error when trying to install LilyPond under kubuntu
surely those same copy-pasters will simply paste sh lilypond-*.*.*.linux-x86.sh and get an error it's always best to give an example like: "at the command line type sh lilypond-X.Y.Z.linux-x86.sh according to your version and platform (e.g. for Version 2.11.14 type sh lilypond-2.11.14.linux-x86.sh)" it isn't always obvious, even for experienced users d On 20 May 2008, at 10:44, Valentin Villenave wrote: 2008/5/19 Silvan <[EMAIL PROTECTED]>: I tried to install LilyPond using the command "sh lilypond- X.Y.Z.linux-x86.sh". 2008/5/20 Mats Bengtsson <[EMAIL PROTECTED]>: You have to replace the X.Y.Z with the actual version number of the file you downloaded. Maybe we'd better change the instructions into "sh lilypond-*.*.*.linux-x86.sh", in case users want to blindly copy/paste? (we must keep in mind that some Linux users are not familiar with the command-line, and copy/pasting is about all they can do) Cheers, Valentin ___ 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: Accent and unaccent signs
there's a few things to do and a few different places to look in the docs - if you search for unicode or utf8 it covers it then you can use the unicode 02D8 or UTF8 CB 98 for the breve (or 0306/ CC 86 for the 'combining breve') the acute is 00B4/C2 B4 and 0301/CC 81 is the combining acute. the thing i usually forget is to save the file as UTF8 encoded hope this helps d On 18 May 2008, at 08:30, Kim Bastin wrote: How do I get these articulations? The accent sign I mean is shaped like an acute accent (aigu) in French, and the unaccent sign is like a saucer (or a breve in old-fashioned printing of Latin). There's nothing like them defined in font-table.ly. Is there a way to define scripts to use other fonts? kb ___ 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
conditional formatting by note name (again)
hi all still no joy with this for composition worksheets it would be great if i could, for example, make all b-flats and c-sharps red, or have it so that only the notes of the E-pentatonic scale have white-note-heads in a chromatically embellished piece. i'd like to do this with conditional formatting rather than in-line. i've seen examples on LSR which have some conditional formatting eg. based on staff-line position but i can't make the leap to note-name (including enharmonic) conditionals. tia damian ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Two voices, only one note
it works for me on 10.5.2 i'm thinking...i do have xtools installed - that might be the difference as regards the missing library d On 6 May 2008, at 21:36, Alberto Simões wrote: Mats Bengtsson wrote: Did you try with version 2.10? It seems to work well with 2.10.23 when I try it, and the property is documented at http://lilypond.org/doc/v2.10/Documentation/user/lilypond-internals/NoteCollision#NoteCollision Well, yes. I tried it :-S I have 2.10.33 here. << { \override Staff.NoteCollision #'merge-differently-headed = ##t c8[ c'(-1 g-2 c g c]) } \\ { c,2. } >> :-( Thanks Alberto -- Alberto Simões - Departamento de Informática - Universidade do Minho Campus de Gualtar - 4710-057 Braga - Portugal ___ 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: Two voices, only one note
the ppc version of 2.11 works fine on leopard from the command line or within jEdit or Textmate it's only the bundled text editing program that does not work yet all the best d On 6 May 2008, at 20:57, Alberto Simões wrote: Simon Bailey wrote: try: << { \override Staff.NoteCollision #'merge-differently-headed = ##t c8[ c'(-1 g c g c]) } \\ { c,2. } >> found here: http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Collision-resolution#Collision-resolution Damn. I think this is new with 2.11, and I couldn't make 2.11 work on Leopard :( Thanks, anyway -- Alberto Simões - Departamento de Informática - Universidade do Minho Campus de Gualtar - 4710-057 Braga - Portugal ___ 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