Re: Note names are causing text marks to be duplicated
True, I was using \mark instead of \textMark. I just switched to \textMark, which is definitely more correct, and I am also using \textEndMark, so I can have one at the end of one system and the other at the beginning of the next system in the same spot in the score. It does seem to me that if you are using NoteNames in addition to regular notation you would not want to include anything other than those note labels. Perhaps this could be added as an option. I don't suppose NoteNames gets very much use, but I do have some users who need the help! I was unaware of tags in LilyPond until now. I might have some other uses for them. On Fri, Apr 26, 2024 at 8:15 AM David Wright wrote: > On Fri 26 Apr 2024 at 07:59:09 (-0700), Aaron Hill wrote: > > On 2024-04-26 7:44 am, Eric Benson wrote: > > > I see. How hard would it be to write a Scheme function that would > > > copy a > > > melody variable and remove the text marks, or in fact everything > > > other than > > > the note values, which are all I want in the NoteNames variable? > > > That would > > > be preferable to entering a separate sequence containing only the text > > > marks in my application. > > > > > > \tagging your \textMarks would let you apply them only where you intend: > > > > > > \version "2.24.3" > > > > textMark = \tag textMark \textMark \etc > > withTextMarks = \keepWithTag textMark \etc > > withoutTextMarks = \removeWithTag textMark \etc > > > > melody = { b'4 4 \textMark "Hey!" 2 } > > > > << \withTextMarks \melody \\ \withoutTextMarks \melody >> > > > > Ironically, replacing \textMark with \mark would achieve much the > same thing in the MWE provided. But I suppose it all depends on > the purpose of including the text mark in melody itself. > > Cheers, > David. >
Re: Note names are causing text marks to be duplicated
I see. How hard would it be to write a Scheme function that would copy a melody variable and remove the text marks, or in fact everything other than the note values, which are all I want in the NoteNames variable? That would be preferable to entering a separate sequence containing only the text marks in my application. On Fri, Apr 26, 2024 at 6:48 AM David Wright wrote: > On Thu 25 Apr 2024 at 22:16:21 (-0700), Eric Benson wrote: > > Is this intentional or desired? > > AIUI this is one of the reasons \textMark was invented, so that > multiple text marks could be placed at the same point: > > "Note: Older LilyPond versions used the \mark command for text marks, > even though it is primarily intended for rehearsal marks (see > [Rehearsal marks], page 127). The \textMark and \textEndMark > commands are better suited for text marks with regard to their de- > fault settings as well as the ability to have several text marks at > the same moment. It is therefore recommended to use \textMark and > \textEndMark instead of \mark "Text" or \mark \markup Note that > if converting code that uses \mark for text marks, overrides using > RehearsalMark should be changed to TextMark." > > > If so, is there a way to prevent this from happening? > > Treat the text mark as you would lyrics or dynamics, defined in a > separate variable, which you interpret inside your << >> only once. > > Cheers, > David. >
Re: Note names are causing text marks to be duplicated
Is this intentional or desired? If so, is there a way to prevent this from happening? On Thu, Apr 25, 2024 at 10:09 PM Aaron Hill wrote: > On 2024-04-25 9:43 pm, Eric Benson wrote: > > I took one of the NoteName examples from the documentation and dropped > > a > > \textMark in the middle of it, and there is an extra copy of that text > > mark > > for each NoteName staff. > > > This makes sense, since the \textMark command is within the \melody > music variable, which gets used three times. The same behavior occurs > without NoteNames: > > > \version "2.24.3" > > melody = { b'4 4 \textMark Hey 2 } > > << \melody \\ \melody >> > > > > -- Aaron Hill >
Note names are causing text marks to be duplicated
I took one of the NoteName examples from the documentation and dropped a \textMark in the middle of it, and there is an extra copy of that text mark for each NoteName staff. nntest.ly Description: Binary data nntest.pdf Description: Adobe PDF document
\repeat segno questions
I'm just starting to try out the new-ish \repeat segno feature. I want to customize the labels. Is there a way to change the text that is used? Also, I'm not sure how to combine \repeat volta with \repeat segno. Can I put a "to coda" mark in the middle of the body of a \repeat volta?
Minimize flats or sharps in transposed key signature?
I'm using \transpose pretty heavily, and I'm running into an issue I don't quite know how to solve. I'm aware of the \naturalizeMusic hack described in the LilyPond documentation. I'm looking for something similar, but for key signatures. When a \key specification gets transposed, I would like to intervene to force the processor to choose the enharmonic equivalent with the smallest signature. For example, if a transposed key ends up being G# major, I would like to use Ab major instead, or if the key ends up as Db minor I would prefer to use C# minor. Just take the key with the least number of sharps or flats. In the case of exactly six sharps or six flats, my preference in my application would be flats instead of sharps, because I am working mostly with jazz musicians, but I understand that some might prefer sharps and some might have no preference. I've searched a little bit for an answer to this, but I haven't found it yet.
Re: Assembling individual scores into a book
One limitation to keep in mind is that you must not put lilypond page numbers in the scores, because pdfpages needs to write its own page numbers that correspond to the ToC. On Mon, Feb 12, 2024 at 2:42 PM Eric Benson wrote: > I should say that aside from wasting space on repeated font data, my > technique of using pdfpages in LaTeX is very effective and not > difficult, including a mechanism for starting two-page scores on even > pages. Here's my template: > > On Mon, Feb 12, 2024 at 2:27 PM Charlie Ma wrote: > >> I should add that one issue with this method is with optimizing page >> turns. >> E.g., if you were relying on a piece to start on an odd page but the >> prior piece in the book ended on an odd page, you'd end up having to insert >> a blank page in order to preserve your intended page turn. For large books >> this can become onerous to manage. >> I'm hoping someone can enlighten me with a better way. >> >> thanks. >> >
Re: Assembling individual scores into a book
I should say that aside from wasting space on repeated font data, my technique of using pdfpages in LaTeX is very effective and not difficult, including a mechanism for starting two-page scores on even pages. Here's my template: On Mon, Feb 12, 2024 at 2:27 PM Charlie Ma wrote: > I should add that one issue with this method is with optimizing page turns. > E.g., if you were relying on a piece to start on an odd page but the prior > piece in the book ended on an odd page, you'd end up having to insert a > blank page in order to preserve your intended page turn. For large books > this can become onerous to manage. > I'm hoping someone can enlighten me with a better way. > > thanks. > Template.tex Description: Binary data
Assembling individual scores into a book
I have a growing collection of one- or two-page scores that I want to assemble into books, each with a table of contents. I've been using LaTeX's pdfpages package for this purpose, just pulling together all the LilyPond pdf output with page numbers added and a ToC on the front. This method works pretty well and is in fact completely independent of LilyPond itself, but I was thinking that the resulting assembled PDF files would be much smaller if they shared font info and wondered if anyone has advice on making a LilyPond book using \markuplist \table-of-contents with \tocItem and \include for each separate score, while also maintaining the ability to build each score as a separate PDF file.
Re: Lilypond 2.24.3 / iMac Sonoma / GS -dNODISPLAY fatal error
Well, that worked. (I can now continue collating the parts of at least the first movement of Robert Fuchs' 4th string quartet (1916) into score past bar 195 where I left my project... ;) ) Thanks much!! On Tue, Nov 28, 2023 at 5:38 AM Eric wrote: > Well, that’s depressing, I thought I had. I’ll get on that- thanks! > > On Tue, Nov 28, 2023 at 01:51 Jonas Hahnfeld wrote: > >> On Tue, 2023-11-28 at 01:33 -0500, Eric wrote: >> > Installed 2.24.3 -docs using Macports, used convert-ly on a couple of >> > files I'd last worked on in June, and received the following (see >> > attached text file) after trying lilypond on one of those files and >> > adding the -V flag. I know that several solutions have been proposed, >> > including on this list back in June, e.g., but I can't figure out how >> > to apply them in my own case, sorry... >> >> Hi, >> >> your log file says that you are actually running LilyPond 2.24.2, which >> is incompatible with Ghostscript 10.02.1. Please update to the very >> latest version 2.24.3 that contains a fix, either via MacPorts or by >> downloading our official binaries. >> >> Cheers >> Jonas >> >
Re: Lilypond 2.24.3 / iMac Sonoma / GS -dNODISPLAY fatal error
Well, that’s depressing, I thought I had. I’ll get on that- thanks! On Tue, Nov 28, 2023 at 01:51 Jonas Hahnfeld wrote: > On Tue, 2023-11-28 at 01:33 -0500, Eric wrote: > > Installed 2.24.3 -docs using Macports, used convert-ly on a couple of > > files I'd last worked on in June, and received the following (see > > attached text file) after trying lilypond on one of those files and > > adding the -V flag. I know that several solutions have been proposed, > > including on this list back in June, e.g., but I can't figure out how > > to apply them in my own case, sorry... > > Hi, > > your log file says that you are actually running LilyPond 2.24.2, which > is incompatible with Ghostscript 10.02.1. Please update to the very > latest version 2.24.3 that contains a fix, either via MacPorts or by > downloading our official binaries. > > Cheers > Jonas >
Lilypond 2.24.3 / iMac Sonoma / GS -dNODISPLAY fatal error
Installed 2.24.3 -docs using Macports, used convert-ly on a couple of files I'd last worked on in June, and received the following (see attached text file) after trying lilypond on one of those files and adding the -V flag. I know that several solutions have been proposed, including on this list back in June, e.g., but I can't figure out how to apply them in my own case, sorry... Eric Schissel lilypond -V robertfuchsquartetno4_i.ly Log level set to 287 GNU LilyPond 2.24.2 (running Guile 2.2) Relocation LilyPond binary has absolute file name: /opt/local/libexec/lilypond-bin Setting INSTALLER_PREFIX to '/opt/local' Using run-time value for datadir, setting it to '/opt/local/share/lilypond/2.24.2' Using run-time value for libdir, setting it to '/opt/local/lib/lilypond/2.24.2' Using run-time value for localedir, setting it to '/opt/local/share/locale' Using compile-time value for relocdir, setting it to '' Prepending '/opt/local/libexec' to PATH Setting PATH to '/opt/local/libexec:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin' Setting GUILE_AUTO_COMPILE to '0' Setting GUILE_WARN_DEPRECATED to 'detailed' Setting XDG_CACHE_HOME to '/opt/local/share/lilypond/2.24.2' Setting GC_INITIAL_HEAP_SIZE to '40M' Setting GC_NPROCS to '1' Setting GC_FREE_SPACE_DIVISOR to '1' Effective prefix: '/opt/local/share/lilypond/2.24.2' PATH="/opt/local/libexec:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin" [/opt/local/share/lilypond/2.24.2/scm/lily/lily.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/lily-library.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/output-lib.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/markup-macros.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/parser-ly-from-scheme.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/file-cache.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/define-event-classes.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/define-music-callbacks.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/define-music-types.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/define-note-names.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/c++.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/chord-entry.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/skyline.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/markup.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/define-markup-commands.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/stencil.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/modal-transforms.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/chord-ignatzek-names.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/music-functions.scm [/opt/local/share/lilypond/2.24.2/scm/lily/define-music-display-methods.scm] ] [/opt/local/share/lilypond/2.24.2/scm/lily/part-combiner.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/autochange.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/define-music-properties.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/time-signature.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/time-signature-settings.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/auto-beam.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/chord-name.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/define-context-properties.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/translation-functions.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/breath.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/script.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/midi.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/layout-beam.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/parser-clef.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/layout-slur.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/font.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/font-encodings.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/bar-line.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/flag-styles.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/fret-diagrams.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/tablature.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/harp-pedals.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/define-woodwind-diagrams.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/display-woodwind-diagrams.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/predefined-fretboards.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/define-grob-properties.scm] [/opt/local/share/lilypond/2.24.2/scm/lily/define
Re: pageBreak outside a score?
Thanks. Yes, this looks like it will work for my needs. On Fri, May 5, 2023 at 2:36 PM Jean Abou Samra wrote: > Le vendredi 05 mai 2023 à 11:02 -0700, Eric Benson a écrit : > > Would there be a way to conditionally include a \pageBreak at top level? > E.g. \if #(some-predicate) { \pageBreak } > > Try > > $(if (some-predicate) #{ \pageBreak #}) > > Generally speaking, LilyPond doesn't reinvent the wheel through a > full-fledged programming language of its own, but just reuses its host > language, Scheme. > > Reading these pages might help: > > https://extending-lilypond.gitlab.io/en/scheme/conditions.html#if-syntax > > > https://extending-lilypond.gitlab.io/en/extending/intro.html#inserting-scheme-inside-lilypond > > https://extending-lilypond.gitlab.io/en/extending/lily-and-scheme.html >
Re: pageBreak outside a score?
Would there be a way to conditionally include a \pageBreak at top level? E.g. \if #(some-predicate) { \pageBreak } On Fri, May 5, 2023 at 7:58 AM Valentin Petzel wrote: > Hello Eric, > > that is understandable. For some context: > > when you put \pageBreak at toplevel (or bookpart level) it is first just a > music stream made up of a single event. Now, when Lilypond encounters > toplevel > music objects it usually defaults to truning it into a score, using the > scheme > procedure (scorify-music music). But there is some additional logic, which > is > done by the scheme procedure (collect-music-aux score-handler music) > (where > score-handler is a function that handles the created score). This > procedure > has a special path for single event music of type page-marker (which > something > like \pageBreak falls under as can be seen in \displayMusic \pageBreak). > > Basically instead of a score it creates a Page_marker object, which you > can > see if you do > > { c } > \pageBreak > { c } > #(display toplevel-scores) > > Now, of course in markup this does not work, as first a markup will not > take > music, and very importantly markup will not include any page layout events > of > any sort. It would be possible to do something like > > (collect-music-aux add-score #{ \pageBreak #}) > > in a markup, scheme or void function, but this would cause some trouble in > when exactly this is evaluated. Usually we’d expect something like this to > to > be placed positionally where the markup is. Let’s say we use a scheme > function: > > pagebreak = > #(define-void-function () () >(collect-music-aux add-score #{ \pageBreak #})) > > This is evaluated at the time the expression is parsed (more or less). So > doing > > \markup "a" > \markup "b" > \markup{ \pagebreak } > \markup "c" > > will behave as intended, but > > \markup "a" > test = \markup { \pagebreak } > \markup "b" > \test > \markup "c" > > will not. If we use a markup function like this > > #(define-markup-command (pagebreak layout props) () >(collect-music-aux add-score #{ \pageBreak #}) >empty-stencil) > > the command is only evaluated when interpreting that markup, at which > point > all scores have been added (so we do not get any effect): > > \markup "a" > \markup "b" > \markup { \pagebreak } > \markup "c" > > So you see there is currently no real way of any kind for getting page > layout > commands into a markup. Of course this can be limiting if you want to do > complex formatting of markups and markuplists, but Lilypond is a music > engraving software, not a typesetting or text layouting software. > Lilypond’s > handling of text is quite primitive, as this is not the main focus of > development. > > Cheers, > Valentin > > Am Freitag, 5. Mai 2023, 01:34:56 CEST schrieb Eric Benson: > > Well then, sorry for bothering you all! I don't know how I confused > myself > > so badly, but I'm just glad to be out of that hole! I think I tried to > put > > the \pageBreak inside the \markup, which definitely does not work. > > > > On Thu, May 4, 2023 at 4:24 PM Kieren MacMillan > > > > wrote: > > > Hi Eric, > > > > > > > Oh! I think this is new behavior. > > > > > > I don’t think so…? > > > I’ve been using this for many years. :) > > > > > > Cheers, > > > Kieren. > > > __ > > > > > > My work day may look different than your work day. Please do not feel > > > obligated to read or respond to this email outside of your normal > working > > > hours. > >
Re: pageBreak outside a score?
Well then, sorry for bothering you all! I don't know how I confused myself so badly, but I'm just glad to be out of that hole! I think I tried to put the \pageBreak inside the \markup, which definitely does not work. On Thu, May 4, 2023 at 4:24 PM Kieren MacMillan wrote: > Hi Eric, > > > Oh! I think this is new behavior. > > I don’t think so…? > I’ve been using this for many years. :) > > Cheers, > Kieren. > __ > > My work day may look different than your work day. Please do not feel > obligated to read or respond to this email outside of your normal working > hours. > >
Re: pageBreak outside a score?
Oh! I think this is new behavior. I have struggled with this in previous versions, but I guess it works now! Thank you! On Thu, May 4, 2023 at 3:44 PM Jean Abou Samra wrote: > Le jeudi 04 mai 2023 à 15:17 -0700, Eric Benson a écrit : > > \pageBreak doesn't work outside of a \score > > What makes you believe this? > > This works fine over here: > > \version "2.24.1" > > \score { { c' d' e' } } > \markup "Foobar" > \pageBreak > \score { { c' d' f' } } > >
Re: pageBreak outside a score?
Thanks, for the quick response! This doesn't seem to be exactly what I want, though. I'm really just trying to make one score with some performance notes at the end of one section, which also happens to be a natural place for a page break. I don't want or need a whole header on the next page. If there is a way to put a line or two of notes in the middle of a score, that would work just as well, or better, for my needs. On Thu, May 4, 2023 at 3:28 PM Hwaen Ch'uqi wrote: > Greetings, Eric, > > This occurs automatically when using \bookpart containers, as in: > > \book { > \bookpart { > TEXT > MUSIC > \pageBreak (if you need) > MORE TEXT > MORE MUSIC > } > \bookpart { > ... > } > } > > Hwaen Ch'uqi > > > On 5/4/23, Eric Benson wrote: > > I find myself doing this more than once: > > > > Enter a score. > > > > Enter some notes as markup text. > > > > Enter another score. > > > > Between the notes and the second score, I want a page break. I don't see > > how to do this. \pageBreak doesn't work outside of a \score, nor at the > > very beginning of a \score. How can I force a page break in LilyPond > after > > the notes but before the second score? > > >
pageBreak outside a score?
I find myself doing this more than once: Enter a score. Enter some notes as markup text. Enter another score. Between the notes and the second score, I want a page break. I don't see how to do this. \pageBreak doesn't work outside of a \score, nor at the very beginning of a \score. How can I force a page break in LilyPond after the notes but before the second score?
Change in titling-init.ly and corresponding document
I'm testing 2.23.81 with my scores that have been working in 2.22.2, and I notice that the file titling-init.ly and the corresponding documentation page notation/custom-titles-headers-and-footers have changed a great deal. Is there any guidance available for how to change our scores from the old interface to the new interface? I've been using a solution derived from the example in https://music.stackexchange.com/questions/75802/lilypond-v2-19-how-do-i-add-a-title-to-the-second-page-of-the-same-score which no longer works.
modern-codas.ily
Years ago, this was posted by David Stocker. I've adopted it for my own use and added one more entry for convenience, "daCapo". https://github.com/neonscribe/lilypond-hacks/blob/main/modern-codas.ily
Lilypond 2.20 on Mac 10.15
Actually, both the latest version and 2.19.84 seem not to launch at all on my iMac (late 2015, dual core, etc running os 10.15.3...) (2.19.84 did but it doesn’t.)
Re: 64 bit
On the assumption that it would have been pointed out if this link was dangerous phished spam (apologies, Mr Sorensen!!) I have decided to install this development version to replace my slashed-out 32-bit Lilyponds. Has anyone else - or are others who use Mac Catalina waiting for Lilypond 2.20 to possibly include a 64-bit version (if even then) linked from the Lilypond site? I can't seem to find much followup on this topic, and nothing? in our mailing list (maybe I need to search better) that mentions the below (rather unusually large, maybe because 64-bit?) unofficial development update. On Thu, Oct 17, 2019 at 10:47 PM wrote: > Send lilypond-user mailing list submissions to > lilypond-user@gnu.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.gnu.org/mailman/listinfo/lilypond-user > or, via email, send a message with subject or body 'help' to > lilypond-user-requ...@gnu.org > > You can reach the person managing the list at > lilypond-user-ow...@gnu.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lilypond-user digest..." > Today's Topics: > >1. Re:Lilypond on OS X Catalina (Chris Crossen) >2. Re:Lilypond on OS X Catalina (Chris Crossen) >3. Re:Lilypond on OS X Catalina (Carl Sorensen) >4. Re:64 bit (Carl Sorensen) > > > > -- Forwarded message -- > From: Chris Crossen > To: Allan Kinnaird > Cc: Carl Sorensen , "lilypond-user@gnu.org" < > lilypond-user@gnu.org> > Bcc: > Date: Thu, 17 Oct 2019 17:29:39 -0700 > Subject: Re: Lilypond on OS X Catalina > > > > On Oct 17, 2019, at 4:48 PM, Allan Kinnaird via lilypond-user < > lilypond-user@gnu.org> wrote: > > > > Thanks, Carl - I haven’t upgraded to Catalina myself for exactly that > reason (and Lilypond is my only significant 32-bit app!). I’ll see if I can > work out how to use Hans’s version. > > Allan > > I have Catalina installed on a Mac laptop. I downloaded the installer and > am running it now. I’ll report back when I have some results to share. > > > > > > > > > -- Forwarded message -- > From: Chris Crossen > To: Allan Kinnaird , Carl Sorensen < > c_soren...@byu.edu>, "lilypond-user@gnu.org" > Cc: > Bcc: > Date: Thu, 17 Oct 2019 18:46:46 -0700 > Subject: Re: Lilypond on OS X Catalina > > > > On Oct 17, 2019, at 5:29 PM, Chris Crossen wrote: > > > >> Thanks, Carl - I haven’t upgraded to Catalina myself for exactly that > reason (and Lilypond is my only significant 32-bit app!). I’ll see if I can > work out how to use Hans’s version. > >> Allan > > > > I have Catalina installed on a Mac laptop. I downloaded the installer > and am running it now. I’ll report back when I have some results to share. > > The install was successful. I didn’t know where it installed, but found it > in /opt/lilypond . > > It successfully generated a correct-looking pdf and midi (I’ll verify them > tomorrow) from a single source file (no includes but english.ly). The > file was already version 2.19. I’ll try using convert-ly and more complex > files tomorrow. > > Since this may not be of general interest, please give me some guidance on > whether to continue posting to the group or confine it to those interested. > > > > > > > > > > > > > -- Forwarded message -- > From: Carl Sorensen > To: Chris Crossen , Allan Kinnaird < > akinna...@icloud.com>, "lilypond-user@gnu.org" > Cc: > Bcc: > Date: Fri, 18 Oct 2019 02:42:37 + > Subject: Re: Lilypond on OS X Catalina > > > On 10/17/19, 7:46 PM, "Chris Crossen" wrote: > > > > > On Oct 17, 2019, at 5:29 PM, Chris Crossen > wrote: > > > >> Thanks, Carl - I haven’t upgraded to Catalina myself for exactly > that reason (and Lilypond is my only significant 32-bit app!). I’ll see if > I can work out how to use Hans’s version. > >> Allan > > > > I have Catalina installed on a Mac laptop. I downloaded the > installer and am running it now. I’ll report back when I have some results > to share. > > The install was successful. I didn’t know where it installed, but > found it in /opt/lilypond . > > That's where it was supposed to be. > > It successfully generated a correct-looking pdf and midi (I’ll verify > them tomorrow) from a single source file (no includes but english.ly). > The file was already version 2.19. I’ll try using convert-ly and more > complex files tomorrow. > > Yes, it was made from the latest development release, 2.19.83 > > Since this may not be of general interest, please give me some > guidance on whether to continue posting to the group or confine it to those > interested. > > > Please report your experiences. > > Here's some test code that has been known to fail on 32-bit lilypond > executables, but succeed on 64-bit linux executables. > > Start of code > > \version "2.19.82" > { > \time 4/4 > \repeat unfold 1000 { c4 d e f } % TEN PAGES of music > \repeat unfold 1000 { f1 } % + SIX MORE
Re: Use jazz fonts in LilyPond?
I've been working from Leigh Verlag's page on faking a Real Book page in LilyPond (thanks to Kieren for the link): http://leighverlag.blogspot.ca/2015/12/mimicking-real-book-look.html That page answers many of my questions. I still have some font questions. Please forgive my ignorance of both LilyPond (this is my first project) and fonts in general (no experience other than changing fonts inside a Microsoft Word document). Can I use any jazz character font set with LilyPond? Or is there a magic order that the symbols need to be in? I like the look of the commercial product JazzFont (to view the complete character sets, click on "KEYSTROKES" in the rightmost blue box on the second line of boxes in the top center of the page, then click on "Jazzfont for Windows", which is down a bit on the right): www.jazzfont.com I see that this font set has several subsets (pardon the wrong language), including one ("JazzCord") that appears to map single character codes to things such as "-7(b5)". Can this feature be uses with LilyPond? Or is it easier to use LilyPond with one character code mapping to a single character? I guess the basic question is: Could I use this font set productively with LilyPond? Or should I stick to LilyJazz and LilyJazzText? I realize my questions may be incoherent or incomprehensible. My apologies. I just installed by first font (Windows 7 Pro) five minutes ago... Thanks! -- Eric ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Use jazz fonts in LilyPond?
Hi Kieren, Wow, that's a great help! I hadn't thought it was possible to emulate the "title on bar lines" look. I can see LilyPond is *extremely* customizable. -- Eric >Hi Eric, > >You might want to look at ><http://leighverlag.blogspot.ca/2015/12/mimicking-real-book-look.html> > >Hope this helps! >Kieren. > >On Mar 4, 2016, at 8:25 PM, Eric Albert <e...@ericalbert.net> wrote: > >> I'm interested in creating jazz lead sheets in LilyPond. Here's an example >> of what I'd like (scroll down for "On the Sunny Side of the Street"): >> >> >> http://graphicdesign.stackexchange.com/questions/31184/what-are-the-common-fonts-used-in-music >> >> How much of the look and feel of this ("(SWING)", title, authors, clef, time >> signature, notes, rests, chord names, etc.) can I reasonably expect to >> re-create in LilyPond? >> >> If it *is* possible to recreate much or all of this, how? That is, do I need >> to buy/find a single font? A set of fonts? Do something else entirely? >> >> One possibility I've found is JazzFont (to view the complete character sets, >> click on "KEYSTROKES" in the rightmost blue box on the second line of boxes >> in the top center of the page, then click on "Jazzfont for Windows", which >> is down a bit on the right): >> >> www.jazzfont.com >> >> If I were to buy JazzFont for Windows, could I use it with LilyPond to help >> with my goal above? (I'm running Windows 7 Pro.) >> >> Answers to the above, or pointers to some completely different approach, or >> telling me it's not possible are all welcome. >> >> Thanks! >> >> -- Eric > > >Kieren MacMillan, composer >⣠website: www.kierenmacmillan.info >⣠email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Use jazz fonts in LilyPond?
I'm interested in creating jazz lead sheets in LilyPond. Here's an example of what I'd like (scroll down for "On the Sunny Side of the Street"): http://graphicdesign.stackexchange.com/questions/31184/what-are-the-common-fonts-used-in-music How much of the look and feel of this ("(SWING)", title, authors, clef, time signature, notes, rests, chord names, etc.) can I reasonably expect to re-create in LilyPond? If it *is* possible to recreate much or all of this, how? That is, do I need to buy/find a single font? A set of fonts? Do something else entirely? One possibility I've found is JazzFont (to view the complete character sets, click on "KEYSTROKES" in the rightmost blue box on the second line of boxes in the top center of the page, then click on "Jazzfont for Windows", which is down a bit on the right): www.jazzfont.com If I were to buy JazzFont for Windows, could I use it with LilyPond to help with my goal above? (I'm running Windows 7 Pro.) Answers to the above, or pointers to some completely different approach, or telling me it's not possible are all welcome. Thanks! -- Eric ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: First measure too far to right
Thanks to all for your quick, helpful suggestions! My first measure is back where I want it, my fonts are warmer and fuzzier, and my minor 7 flat 5's are displaying as I prefer. I can already see that this list is going to be one of the great parts of using LilyPond. Warmly, Eric >2016-03-03 22:29 GMT+01:00 Simon Albrecht <simon.albre...@mail.de>: >> On 03.03.2016 21:18, Eric Albert wrote: >>> >>> I'd also love to know how to: >>> >>> - have a B minor 7 flat 5 display as "Bm7b5" (rather than the default >>> half-diminished symbol, an 'O' with a slash through it) >> >> >> Customizing chord names is explained in the first of the âSelected >> snippetsâ >> on >> <http://lilypond.org/doc/v2.18/Documentation/notation/displaying-chords#customizing-chord-names>. > > is already in the exceptions. > >Hence, it is sufficient to do: > >theMusic = \chordmode { > bes,1:3-.5-.7 > \once \set chordNameExceptions = #'() > bes,1:3-.5-.7 > bes,1:3-.5-.7 >} > ><< > \new ChordNames \theMusic > \new Voice \theMusic >>> > >If you _really_ _never_ want the LilyPond-default for that chord you >may use the brute-force: > >#(assoc-remove! > ignatzekExceptions > (cdr (event-chord-pitches #{ <c' es' ges' bes'> #}))) > >somewhere on top-level in your score. >Be aware: it will bleed over into other files, when you compile >several files in one go. > >Safer is Simon's suggestion, below although I'd add a "m" ;) > >> Adapted to your case, this would be something like the following: >> >> >> \version "2.18.2" >> % modify half-diminished >> % Exception music is chords with markups >> chExceptionMusic = { >> 1-\markup { \super { 7 \hspace #0.2 \concat { \tiny \raise >> #0.4 \flat 5 } } } >> } > >chExceptionMusic = { > 1-\markup {"m" \super { 7 \hspace #0.2 \concat { \tiny >\raise #0.4 \flat 5 } } } >} > >> >> % Convert music to list and prepend to existing exceptions. >> chExceptions = #(append >> (sequential-music-to-chord-exceptions chExceptionMusic #t) >> ignatzekExceptions) >> > >HTH, > Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
First measure too far to right
Hi all, I'm a new LilyPond user who's trying to re-create, as much as possible, a lead sheet from one of the Hal Leonard Real Books. Below is what I've got so far. My current problem is that this code creates a .pdf with the first measure indented. What am I doing wrong? I'd also love to know how to: - have a B minor 7 flat 5 display as "Bm7b5" (rather than the default half-diminished symbol, an 'O' with a slash through it) - substitute more warm and friendly fonts for both the chord names and the lyrics I've Googled for LilyPond resources for jazz lead sheets, and none so far has completely addressed my issues. Thanks! -- Eric = = = = = LILYPOND SOURCE FILE BELOW = = = = = \version "2.18.2" % necessary for upgrading to future LilyPond versions. \header{ title = "TIME AFTER TIME" composer = "JULIE STYNE / SAMMY CAHN" } \layout { \context { \Score %\override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/16) } } << \new ChordNames \chordmode{ \set majorSevenSymbol = \markup { maj7 } c2:maj7 a:m7 d:m7 g:7 c:maj7 a:m7 d:m7 g:7 c1:maj7 a1:m7 b1:m7.5- e1:7.9- } \relative c' { \time 4/4 \tempo "(MED.)" e2 c4. d8 c2. d4 e a g e c2. d4 e4 b' a e d2. c4 d1~ d2. e4 e e e e } \addlyrics { Time af -- ter time, I tell my -- self that I'm so luck -- y to be lov -- ing you. __ So } >> ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Help to beging please
Hello, This my first steps in your comunity. Sorry for my mistakes. I'm a disable man from Pais. I'm a programmer in Java. Well, always I would to play blues, but with my handicap I can't so I think, Lily Pond it's the solution :-D I have no problem with the compiler. But some with the struct of language. Exemple, for the piano, how to have two key in a partition? Someone living to Paris? Thank's Eric ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: System Vertical Spacing and Lyric Placement
Thank you very much, your suggestions helped the situation. I have two more issues. On Tue, Jul 9, 2013 at 5:04 PM, Thomas Morley thomasmorle...@gmail.com wrote: 2013/7/9 Eric Pancer epan...@gmail.com: I'm working on the following file but having some issues where formatting tricks don't seem to be working. A couple of questions: 1. How can I increase the veritical space between the systems ? The \paper configuration of markup-system-spacing #'basic-distance = #20 doesn't seem to really help the situation. How about system-system-spacing #'basic-distance = #120 % adjust the value in \paper This works fine. Another \layout vs. \paper issue I'm having is the following: \layout { \context { \StaffGroup \override StaffGrouper #'staff-staff-spacing #'basic-distance = #12 } } This snippet works, but if I try and place it in \paper, as follows, the staff-staff spacing does not work. \paper { default-staff-staff-spacing #'basic-distance = #12 } system-system-spacing *does* work in \paper, so I'm confused as to why default-staff-staff-spacing does not. \teeny is defined in /ly/property-init.ly teeny = \set fontSize = #-3 Choose a lower value. Works well, thanks. Is there a way to make this portable so changes to /Applications/LilyPond.app//Contents/Resources/share/lilypond/current/ly would not be required? If there's a way to avoid having to change system files in future upgrades, I'd appreciate the suggestion. And one last item: what is the tweak to pad more space between the last system on a page and the copyright and/or tagline? I've gone through a amount of changes but can't determine how to add more space so the copyright does not look to be part of the lyrics *grin* Thank you, - Eric ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
System Vertical Spacing and Lyric Placement
I'm working on the following file but having some issues where formatting tricks don't seem to be working. A couple of questions: 1. How can I increase the veritical space between the systems ? The \paper configuration of markup-system-spacing #'basic-distance = #20 doesn't seem to really help the situation. 2. How can I move my lyrics to be closer to the actual notes. I'd like the top staff to have it's lyrics moved closer (as you can see when compiled, the o (denoting open tones) are further away from the notes than the other two instruments. 3. I've used \teeny in line 123 here, but it still doesn't make the toml8 and ss8 small enough. Is there an easy fix? 123 ss8 \teeny toml8 ss8 \normalsize toml4. | Thanks in advance, - Eric %% %% $Id: file.ly,v 1.3 2013/07/09 21:00:57 eric Exp $ %% \version 2.16.1 \header { title = Agayú Chola subtitle = \markup { \italic { \small { from the Oru Contado }}} instrument = arranger = composer = tagline = copyright = Copyright (c) 2013. All Rights Reserved. } \layout { \context { \StaffGroup \override StaffGrouper #'staff-staff-spacing #'basic-distance = #12 } } \paper { markup-system-spacing #'basic-distance = #20 top-margin = 0.5\in indent = 2\cm bottom-margin = 1\in right-margin = 0.5\in left-margin = 0.5\in ragged-last-bottom = ##t } % main call-in to section 1 iyaCALLINr = \drummode { r4. r8 r8^\markup { \small { call } } toml8 | ss4 toml4 ss4 ss8 toml8 | } iyaCALLINt = \lyricmode { o o \skip4 \skip8 o } itoCALLINr = \drummode { r2. | r8 ss8 toml8 ss8 toml8 ss8 | } itoCALLINt = \lyricmode { \skip8 o \skip8 m \skip8 } ocoCALLINr = \drummode { r2.^\markup { \tiny { [ 3-2 clavé ] }} | r4 toml8 ss4 toml8 | } ocoCALLINt = \lyricmode { o \skip4 o } % Section 1 iyaAr = \drummode { \repeat volta 2 { ss4 toml4 ss4 ss8 toml8 | ss4 toml4 ss4 ss8 toml8 | ss4 toml4 ss4 ss8 toml8 | ss4 toml4 ss4 ss8 toml8 | } } iyaAt = \lyricmode { o \skip4 \skip8 o o \skip4 \skip8 o o \skip4 \skip8 o o \skip4 \skip8 o } itoAr = \drummode { \repeat volta 2 { r8 ss8 toml8 ss8 toml8 ss8 | r8 ss8 toml8 ss8 toml8 ss8 | r8 ss8 toml8 ss8 toml8 ss8 | r8 ss8 toml8 ss8 toml8 ss8 | } } itoAt = \lyricmode { \skip8 o \skip8 m \skip8 \skip8 o \skip8 m \skip8 \skip8 o \skip8 m \skip8 \skip8 o \skip8 m \skip8 } ocoAr = \drummode { \repeat volta 2 { ss4^\markup { \small { Section 1 } } toml8 ss4 toml8 | ss4 toml8 ss4 toml8 | ss4 toml8 ss4 toml8 | ss4 toml8 ss4 toml8 | } } ocoAt = \lyricmode { \skip4 o \skip8 o \skip4 o \skip8 o \skip4 o \skip8 o \skip4 o \skip8 o } % Bridge measure to section 2 (needed to flip to 2-3 clave) iyaXTRAar = \drummode { ss4 toml4 ss4 r4 | } iyaXTRAat = \lyricmode { o \skip4 } itoXTRAar = \drummode { r8 ss8 toml8 ss8 toml8 ss8 | } itoXTRAat = \lyricmode { \skip8 o \skip8 m \skip8 } ocoXTRAar = \drummode { ss4^\markup { \italic { \teeny { (extra bar to turn clavé) }}} toml8 ss4 toml8 | } ocoXTRAat = \lyricmode { \skip4 o \skip4 o } % Section 2 iyaBr = \drummode { \repeat volta 2 { ss8 \teeny toml8 ss8 \normalsize toml4. | r16 ss8. toml8 toml4. | ss4. r4 toml8 | ss8 toml8 toml4 toml4 \parenthesize toml8 | } } iyaBt = \lyricmode { s t t o s o o s o o o o o } itoBr = \drummode { \repeat volta 2 { r8 ss8 toml8 ss8 toml8 ss8 | r8 ss8 toml8 ss8 toml8 ss8 | r8 ss8 toml8 ss8 toml8 toml8 ss8 toml8 | r8 ss8 toml8 ss8 toml8 ss8 | } } itoBt = \lyricmode { \skip8 o \skip8 m \skip8 \skip8 o \skip8 m \skip8 \skip8 o o o o \skip8 o \skip8 m \skip8 } ocoBr = \drummode { \repeat volta 2 { ss4^\markup { \small { Section 2 } } toml8 ss4 toml8 | ss4 toml8 ss4 toml8 | ss4 toml8 ss4 toml8 | ss4 toml8 ss4 toml8 | } } ocoBt = \lyricmode { \skip4 o \skip8 o \skip4 o \skip8 o \skip4 o \skip8 o \skip4 o \skip8 o } % Bridge measure back to section 1 (needed to flip to 3-2 clave) iyaXTRAbr = \drummode { ss4 toml4 ss4 ss8 toml8 | } iyaXTRAbt = \lyricmode { o \skip4 \skip8 o } itoXTRAbr = \drummode { r8 ss8 toml8 ss8 toml8 ss8 | } itoXTRAbt = \lyricmode { \skip8 o \skip8 m \skip8 } ocoXTRAbr = \drummode { ss4^\markup { \italic { \teeny { (back to 3-2 clavé) }}} toml8 ss4 toml8 | } ocoXTRAbt = \lyricmode { \skip4 o \skip4 o } % layout the score \score { \new StaffGroup = main \time 6/8 \new DrumStaff = oconcolo \set Staff.instrumentName = #Okónkolo \new DrumVoice = oconcolo { \ocoCALLINr \ocoAr \ocoXTRAar \ocoBr
roman numeral chord notation
I'm trying to write up some text using latex (and lilypond-book) that describes cadences and chords using notation such as IV4/3, where I with the 4 to be typeset directly above the 3 and the 4/3 designation to the right of the roman numeral chord designator. How can I do this in lilypond-book (lilypond)? It looks like the \new FiguredBass { \figuremode {} } is intended to be used along with music (e.g. under a staff). I'm trying to reference this in a latex document, where I'm using lilypond-book. Can anyone give me any advice? Should I simply not use lilypond for this, and resort to straight latex macros? Any pointers to same? Thanks. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: roman numeral chord notation
Thanks David. This appears to work fine when adding markup to a staff (as in annotating below the staff). However, I'm trying to reference chords using this notation in text, in a music theory discussion regarding chord resolution. Since this isn't within lilypond markup, I don't think I can use this. I tried the obvious in my .lytex file: \lilypondfile[quote,noindent]{rN.ly} \begin[fragment,quote,staffsize=26,verbatim]{lilypond} \rN { V 4/3 } \end{lilypond} As well as preceeding the \rN with \markup, and both result in errors such as: lilypond-book --output=out --pdf bar.lytex lilypond-book (GNU LilyPond) 2.16.2 Reading bar.lytex... Running `pdflatex' on file `/var/folders/4m/_ndvz2k14wj63vptwlb4fs74gn/T/tmpg_VEGR.tex' to detect default page settings. Dissecting... Writing snippets... Processing... Running lilypond... GNU LilyPond 2.16.2 Processing `snippet-map--2975239498719330227.ly' Parsing... Processing `bar.lytex' Parsing... bar.lytex:29:2: error: unknown escaped string: `\rN' \rN { V 4/3 } bar.lytex:29:2: error: syntax error, unexpected STRING \rN { V 4/3 } bar.lytex:21:0: error: errors found, ignoring music expression { fatal error: failed files: ee/lily-62b9e5aa.ly Any suggestions? Or should I just try to figure out the superscript-subscript tex macros to make this work? Thanks. -- Eric On Tue, Jan 22, 2013 at 5:57 PM, David Nalesnik david.nales...@gmail.comwrote: Hi Eric, On Tue, Jan 22, 2013 at 6:58 PM, Eric Swenson e...@swenson.org wrote: I'm trying to write up some text using latex (and lilypond-book) that describes cadences and chords using notation such as IV4/3, where I with the 4 to be typeset directly above the 3 and the 4/3 designation to the right of the roman numeral chord designator. How can I do this in lilypond-book (lilypond)? It looks like the \new FiguredBass { \figuremode {} } is intended to be used along with music (e.g. under a staff). I'm trying to reference this in a latex document, where I'm using lilypond-book. Can anyone give me any advice? Should I simply not use lilypond for this, and resort to straight latex macros? Any pointers to same? You can create the Roman numeral analysis with LilyPond using the \rN command defined here: http://www.mail-archive.com/lilypond-user@gnu.org/msg69861/rN.ly HTH, David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 4-Drum Conga Notation in LilyPond
On Mon, Dec 17, 2012 at 7:09 PM, Thomas Morley thomasmorle...@googlemail.com wrote: Is C6 considered 0? Well, here I'm the one who is confused. I never heard C6 and the others you mention below. Apologies. C5 is known as middle C. C6 is the C in the third space of treble clef. etc.. Thank you for the example. What I'm thinking is that I should just define a whole new drum configuration since it would be easier to read and write. I'd like to do the following: quinto (E6), conga (C6), hitumba (A5), lotumba (F5) (with a generic tumba equal to hitumba). I've patched /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ly/drumpitch-init.ly (see diff below), I would never change the internal files (apart from testings or to create a patch to be included in the source-code) for two reasons: 1) The next upgrade will not contain it. You'll have to repeat it 2) Noone will be able to compile your scores until he/she made the same changes. And you'll will get little help on the list. I understand, but I was also going to submit it as a patch to development since only have two conga pitches is very antiquated at this point. However, that's a different issue. but the following snippet only puts 4 quarter notes in the middle line of a percussion staff: \new DrumStaff \drummode { quinto4 conga4 hitumba4 mutelotumba4 } I didn't apply the diff so I can't say anything detailed to it. But: the LilyPond-extension-language is scheme. Why not use it as shown in my example? I'm not sure how to apply what I'm trying to do using your example. How do I make things like this work with your example: (muteconga () stopped 1) or opentumba . ,(ly:make-pitch 0 -1 NATURAL)) Can I put that all in a new drum definition and have the corresponding MIDI files generated properly? Thank you, again. - Eric ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 4-Drum Conga Notation in LilyPond
On Thu, Dec 13, 2012 at 10:55 AM, Eric Pancer epan...@gmail.com wrote: On Wed, Dec 12, 2012 at 6:05 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2012/12/12 Eric Pancer epan...@gmail.com: On Wed, Dec 12, 2012 at 2:33 PM, Eric Pancer epan...@gmail.com wrote: [..] I've got this working using the following definition: #(define mydrums '( (bassdrum default #f -3) (snaredefault #f0) (hihat default #f 1) (lowtom default #f 3))) Of course I don't exactly understand what the #f is, but do get the numerical values are positions in the staff. A bit of explanation could help me. Every entry in your new list consists of the name, note-head, use-which-script-sign? and staff-position. Thank you. Where is that documented? I don't understand what #f is, or how it compares to #t. Also, the line position is confusing. Is C6 considered 0? Also, is there an easy way to make each pitch with an x (slap)? I'm not sure what you want with the x-slap. Below I've set the NoteHead to cross and additional I've used some crazy script-signs to demonstrate. I'm sure you'll want to alter them. :) You could have a look in /ly/drumpitch-init.ly and in /scm/script.scm for more info about the code. \version 2.16.1 #(define mydrums '( (bassdrum cross coda -3) (snare cross upbow 0) (hihat cross espressivo 1) (lowtomcross reverseturn 3))) dr = \drummode { bd4 sn hh toml } \new DrumStaff \set DrumStaff.drumStyleTable = #(alist-hash-table mydrums) \new DrumVoice \dr Thank you for the example. What I'm thinking is that I should just define a whole new drum configuration since it would be easier to read and write. I'd like to do the following: quinto (E6), conga (C6), hitumba (A5), lotumba (F5) (with a generic tumba equal to hitumba). I've patched /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ly/drumpitch-init.ly (see diff below), but the following snippet only puts 4 quarter notes in the middle line of a percussion staff: Perhaps I should send this to the devel list, instead? \new DrumStaff \drummode { quinto4 conga4 hitumba4 mutelotumba4 } Thanks for any help. Here's the diff: --- drumpitch-init.ly.old 2012-12-13 09:28:05.0 -0600 +++ drumpitch-init.ly 2012-12-13 10:46:39.0 -0600 @@ -40,12 +40,21 @@ drumPitchNames = (mutelobongo . mutelobongo) (lobongo . lobongo) (openlobongo . openlobongo) - (mutehiconga . mutehiconga) - (muteloconga . muteloconga) - (openhiconga . openhiconga) - (hiconga . hiconga) - (openloconga . openloconga) - (loconga . loconga) + (quinto . quinto) + (openquinto . openquinto) + (mutequinto . mutequinto) + (conga . conga) + (openconga . openconga) + (muteconga . muteconga) + (tumba . tumba) + (opentumba . opentumba) + (mutetumba . mutetumba) + (lotumba . lotumba) + (openlotumba . openlotumba) + (mutelotumba . mutelotumba) + (hitumba . hitumba) + (openhitumba . openhitumba) + (mutehitumba . mutehitumba) (hitimbale . hitimbale) (lotimbale . lotimbale) (hiagogo . hiagogo) @@ -113,12 +122,16 @@ drumPitchNames = (bolm . mutelobongo) (bol . lobongo) (bolo . openlobongo) - (cghm . mutehiconga) - (cglm . muteloconga) - (cgho . openhiconga) - (cgh . hiconga) - (cglo . openloconga) - (cgl . loconga) + (qnto . openquinto) + (qntm . mutequinto) + (cgo . openconga) + (cgm . muteconga) + (tmbo . opentumba) + (tmbm . mutetumba) + (tmbho . openhitumba) + (tmbhm . mutehitumba) + (tmblo . openhitumba) + (tmblm . mutelotumba) (timh . hitimbale) (timl . lotimbale) (agh . hiagogo) @@ -190,12 +203,21 @@ midiDrumPitches = #`( (mutelobongo . ,(ly:make-pitch -1 6 DOUBLE-SHARP)) (lobongo . ,(ly:make-pitch 0 0 SHARP)) (openlobongo . ,(ly:make-pitch 0 1 FLAT)) - (mutehiconga . ,(ly:make-pitch 0 1 NATURAL)) - (muteloconga . ,(ly:make-pitch 0 2 DOUBLE-FLAT)) - (openhiconga . ,(ly:make-pitch 0 1 SHARP)) - (hiconga . ,(ly:make-pitch 0 2 FLAT)) - (openloconga . ,(ly:make-pitch 0 1 DOUBLE-SHARP)) - (loconga . ,(ly:make-pitch 0 2 NATURAL)) + (quinto . ,(ly:make-pitch 0 3 NATURAL)) + (openquinto . ,(ly:make-pitch 0 3 NATURAL)) + (mutequinto . ,(ly:make-pitch 0 3 SHARP)) + (conga . ,(ly:make-pitch 0 1 NATURAL)) + (openconga . ,(ly:make-pitch 0 1 NATURAL)) + (muteconga . ,(ly:make-pitch 0 1 SHARP)) + (tumba . ,(ly:make-pitch 0 -1 NATURAL)) + (opentumba . ,(ly:make-pitch 0 -1 NATURAL)) + (mutetumba . ,(ly:make-pitch 0 -1 SHARP)) + (hitumba . ,(ly:make-pitch 0 -1 NATURAL)) + (openhitumba . ,(ly:make-pitch 0 -1 NATURAL)) + (mutehitumba . ,(ly:make-pitch 0 -1 SHARP
Re: Writing to the console (debug info)
On Dec 14, 2012, at 17:05, Olivier Biot olivier.b...@gmail.com wrote: Hi all, Is there a way to write text to the console in LilyPond? I'd like to display the file currently processed to keep track of problems on a 60 part etude Use a -v flag when running it in Terminal. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 4-Drum Conga Notation in LilyPond
On Wed, Dec 12, 2012 at 6:05 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2012/12/12 Eric Pancer epan...@gmail.com: On Wed, Dec 12, 2012 at 2:33 PM, Eric Pancer epan...@gmail.com wrote: [..] I've got this working using the following definition: #(define mydrums '( (bassdrum default #f -3) (snaredefault #f0) (hihat default #f 1) (lowtom default #f 3))) Of course I don't exactly understand what the #f is, but do get the numerical values are positions in the staff. A bit of explanation could help me. Every entry in your new list consists of the name, note-head, use-which-script-sign? and staff-position. Thank you. Where is that documented? I don't understand what #f is, or how it compares to #t. Also, the line position is confusing. Is C6 considered 0? Also, is there an easy way to make each pitch with an x (slap)? I'm not sure what you want with the x-slap. Below I've set the NoteHead to cross and additional I've used some crazy script-signs to demonstrate. I'm sure you'll want to alter them. :) You could have a look in /ly/drumpitch-init.ly and in /scm/script.scm for more info about the code. \version 2.16.1 #(define mydrums '( (bassdrum cross coda -3) (snare cross upbow 0) (hihat cross espressivo 1) (lowtomcross reverseturn 3))) dr = \drummode { bd4 sn hh toml } \new DrumStaff \set DrumStaff.drumStyleTable = #(alist-hash-table mydrums) \new DrumVoice \dr Thank you for the example. What I'm thinking is that I should just define a whole new drum configuration since it would be easier to read and write. I'd like to do the following: quinto (E6), conga (C6), hitumba (A5), lotumba (F5) (with a generic tumba equal to hitumba). I've patched /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ly/drumpitch-init.ly (see diff below), but the following snippet only puts 4 quarter notes in the middle line of a percussion staff: \new DrumStaff \drummode { quinto4 conga4 hitumba4 mutelotumba4 } Thanks for any help. Here's the diff: --- drumpitch-init.ly.old 2012-12-13 09:28:05.0 -0600 +++ drumpitch-init.ly 2012-12-13 10:46:39.0 -0600 @@ -40,12 +40,21 @@ drumPitchNames = (mutelobongo . mutelobongo) (lobongo . lobongo) (openlobongo . openlobongo) - (mutehiconga . mutehiconga) - (muteloconga . muteloconga) - (openhiconga . openhiconga) - (hiconga . hiconga) - (openloconga . openloconga) - (loconga . loconga) + (quinto . quinto) + (openquinto . openquinto) + (mutequinto . mutequinto) + (conga . conga) + (openconga . openconga) + (muteconga . muteconga) + (tumba . tumba) + (opentumba . opentumba) + (mutetumba . mutetumba) + (lotumba . lotumba) + (openlotumba . openlotumba) + (mutelotumba . mutelotumba) + (hitumba . hitumba) + (openhitumba . openhitumba) + (mutehitumba . mutehitumba) (hitimbale . hitimbale) (lotimbale . lotimbale) (hiagogo . hiagogo) @@ -113,12 +122,16 @@ drumPitchNames = (bolm . mutelobongo) (bol . lobongo) (bolo . openlobongo) - (cghm . mutehiconga) - (cglm . muteloconga) - (cgho . openhiconga) - (cgh . hiconga) - (cglo . openloconga) - (cgl . loconga) + (qnto . openquinto) + (qntm . mutequinto) + (cgo . openconga) + (cgm . muteconga) + (tmbo . opentumba) + (tmbm . mutetumba) + (tmbho . openhitumba) + (tmbhm . mutehitumba) + (tmblo . openhitumba) + (tmblm . mutelotumba) (timh . hitimbale) (timl . lotimbale) (agh . hiagogo) @@ -190,12 +203,21 @@ midiDrumPitches = #`( (mutelobongo . ,(ly:make-pitch -1 6 DOUBLE-SHARP)) (lobongo . ,(ly:make-pitch 0 0 SHARP)) (openlobongo . ,(ly:make-pitch 0 1 FLAT)) - (mutehiconga . ,(ly:make-pitch 0 1 NATURAL)) - (muteloconga . ,(ly:make-pitch 0 2 DOUBLE-FLAT)) - (openhiconga . ,(ly:make-pitch 0 1 SHARP)) - (hiconga . ,(ly:make-pitch 0 2 FLAT)) - (openloconga . ,(ly:make-pitch 0 1 DOUBLE-SHARP)) - (loconga . ,(ly:make-pitch 0 2 NATURAL)) + (quinto . ,(ly:make-pitch 0 3 NATURAL)) + (openquinto . ,(ly:make-pitch 0 3 NATURAL)) + (mutequinto . ,(ly:make-pitch 0 3 SHARP)) + (conga . ,(ly:make-pitch 0 1 NATURAL)) + (openconga . ,(ly:make-pitch 0 1 NATURAL)) + (muteconga . ,(ly:make-pitch 0 1 SHARP)) + (tumba . ,(ly:make-pitch 0 -1 NATURAL)) + (opentumba . ,(ly:make-pitch 0 -1 NATURAL)) + (mutetumba . ,(ly:make-pitch 0 -1 SHARP)) + (hitumba . ,(ly:make-pitch 0 -1 NATURAL)) + (openhitumba . ,(ly:make-pitch 0 -1 NATURAL)) + (mutehitumba . ,(ly:make-pitch 0 -1 SHARP)) + (lotumba . ,(ly:make-pitch 0 -3 NATURAL)) + (openlotumba . ,(ly:make-pitch 0 -3 NATURAL)) + (mutelotumba . ,(ly:make-pitch 0 -3 SHARP)) (hitimbale . ,(ly:make-pitch 0 3 NATURAL
Re: Lilypond in Mac OS X Terminal
On Wed, Dec 12, 2012 at 8:31 AM, Parham FH par...@hil.t.u-tokyo.ac.jp wrote: I tried asking on IRC but got no replies. I am curious if it is possible to run lilypond from the Mac OS X (my case: 10.6.8) terminal since I am generating the data for lilypond via a python application. It would therefor be preferred to run lilypond from the terminal in an automated non-user-interaction- demanding manner. add this script to your $PATH and make it executable. #!/bin/sh exec /Applications/LilyPond.app/Contents/Resources/bin/lilypond $@ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond in Mac OS X Terminal
On Wed, Dec 12, 2012 at 9:32 AM, David Kastrup d...@gnu.org wrote: Paul Morris p...@paulwmorris.com writes: On Dec 12, 2012, at 9:31 AM, Parham FH par...@hil.t.u-tokyo.ac.jp wrote: I am curious if it is possible to run lilypond from the Mac OS X (my case: 10.6.8) terminal Instructions are here: http://www.lilypond.org/doc/v2.16/Documentation/web/macos-x Running on the command-line Stupid question: why would one create executable shims to something like DIR/LilyPond.app/Contents/Resources/bin/* in ~/bin and then add ~/bin to one's PATH when one can just add DIR/LilyPond.app/Contents/Resources/bin/ instead? Is DIR expected to contain stuff that is bad for PATH? Or, another way to approach the matter is there an easier way to register .ly file extensions so that one can just do the following? $ open -a LilyPond example.ly I've already configured my machine to always open that file extension with LilyPond.app, but if there's an easier way to do it, maybe it's more idiomatic for Mac users. - Eric ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond in Mac OS X Terminal
On Wed, Dec 12, 2012 at 2:14 PM, David Kastrup d...@gnu.org wrote: The libexec route appears to cater for all of that. We should use bin just for executables supposed to be entry points of LilyPond. Please, no! From man 1 hier [..] libexec/ system daemons system utilities (executed by other programs) vs. [..] local/executables, libraries, etc. not included by the basic operating system and.. [..] /usr/ contains the majority of user utilities and applications bin/ common utilities, programming tools, and applications ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
4-Drum Conga Notation in LilyPond
While writing some conga exercises (for four drums) in Lilypond, I've found I can get by using the following notes*: - bd (super tumba) - toml (tumba) - sn (conga) However, I'm looking for a 4th pitch to notate a quinto (high drum) and would like to use E6 (4th space in treble clef). Since there's no standard notehead for that in http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Percussion-notes, could someone please advise on how to change my file to redefine the pitch with the correct notehead? Also, is there an easy way to make each pitch with an x (slap)? Thanks, - Eric * - I realize that LilyPond does have a built-in way to notate congas, but I'm already working with a system that notates 4 drums in a standard staff. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond in Mac OS X Terminal
On Wed, Dec 12, 2012 at 2:25 PM, David Kastrup d...@gnu.org wrote: Which is pretty much what we are talking about. I was not talking about /libexec but libexec, like the LilyPond executables are not in /bin but some bin (well, actually out/bin) and, after installation, in some /usr/local/bin (so the companion would be something like /usr/local/libexec/lilypond/2.17.7/i686-pc-linux-gnu/ if we are taking things literally). Okay, I understand that, but do not view LilyPond as a system utility. Perhaps it is, since other items such as mysql, gpg-protect-tool, and other third-party tools get put on other *BSD-derived systems, as well. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Snippet music box does not work in 2.16
Hi Lilypond helpers, The following snippet : http://lsr.dsi.unimi.it/LSR/Snippet?id=346 does not work any longer. The error occurs In procedure car in expression (car pes): /home/eric/musique/lilypond/test.ly:49:49: Wrong type (expecting pair): () that is, at line (in function defineTransform) : (pnew (ly:music-property (car pes) 'pitch)) Can anyone find what is wrong ? Thanks for any hint, Eric ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond in Mac OS X Terminal
On Wed, Dec 12, 2012 at 3:02 PM, David Kastrup d...@gnu.org wrote: Eric Pancer epan...@gmail.com writes: On Wed, Dec 12, 2012 at 2:25 PM, David Kastrup d...@gnu.org wrote: Which is pretty much what we are talking about. I was not talking about /libexec but libexec, like the LilyPond executables are not in /bin but some bin (well, actually out/bin) and, after installation, in some /usr/local/bin (so the companion would be something like /usr/local/libexec/lilypond/2.17.7/i686-pc-linux-gnu/ if we are taking things literally). Okay, I understand that, but do not view LilyPond as a system utility. Which is why we are talking /usr/local/libexec rather than /usr/libexec or /libexec. Alright, it's your rodeo and I'm just a spectator. Just make sure you let us all know to add it to our PATHs since most people, I'm guessing, don't have /usr/local/libexec added. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond in Mac OS X Terminal
On Wed, Dec 12, 2012 at 3:15 PM, David Kastrup d...@gnu.org wrote: The whole point was _not_ to have it added to the PATH as it was supposed to _only_ contain binaries used _internally_ in LilyPond. Ah! Sorry, I'll smack my own forehead :-) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 4-Drum Conga Notation in LilyPond
On Wed, Dec 12, 2012 at 2:33 PM, Eric Pancer epan...@gmail.com wrote: While writing some conga exercises (for four drums) in Lilypond, I've found I can get by using the following notes*: - bd (super tumba) - toml (tumba) - sn (conga) However, I'm looking for a 4th pitch to notate a quinto (high drum) and would like to use E6 (4th space in treble clef). Since there's no standard notehead for that in http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Percussion-notes, could someone please advise on how to change my file to redefine the pitch with the correct notehead? I've got this working using the following definition: #(define mydrums '( (bassdrum default #f -3) (snaredefault #f0) (hihat default #f 1) (lowtom default #f 3))) Of course I don't exactly understand what the #f is, but do get the numerical values are positions in the staff. A bit of explanation could help me. Also, is there an easy way to make each pitch with an x (slap)? I still don't understand how to do this. ^ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond in Mac OS X Terminal
On Wed, Dec 12, 2012 at 4:48 PM, Hans Aberg haber...@telia.com wrote: On 12 Dec 2012, at 21:16, Eric Pancer wrote: On Wed, Dec 12, 2012 at 2:14 PM, David Kastrup d...@gnu.org wrote: The libexec route appears to cater for all of that. We should use bin just for executables supposed to be entry points of LilyPond. Please, no! From man 1 hier libexec/ system daemons system utilities (executed by other programs) ... local/executables, libraries, etc. not included by the basic operating system There is a Filesystem Hierarchy Standard http://www.pathname.com/fhs/ https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard Right, like hier(1) describes. FHS looks to be rather Linux-specific. Correct me if I'm wrong. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Snippet music box does not work in 2.16
(pnew (ly:music-property (list-ref pitches i) 'pitch)) Thanks, it works perfectly :^) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond in Mac OS X Terminal
On Dec 12, 2012, at 16:57, Hans Aberg haber...@telia.com wrote: On 12 Dec 2012, at 23:50, Eric Pancer wrote: On Wed, Dec 12, 2012 at 4:48 PM, Hans Aberg haber...@telia.com wrote: On 12 Dec 2012, at 21:16, Eric Pancer wrote: On Wed, Dec 12, 2012 at 2:14 PM, David Kastrup d...@gnu.org wrote: The libexec route appears to cater for all of that. We should use bin just for executables supposed to be entry points of LilyPond. Please, no! From man 1 hier libexec/ system daemons system utilities (executed by other programs) ... local/executables, libraries, etc. not included by the basic operating system There is a Filesystem Hierarchy Standard http://www.pathname.com/fhs/ https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard Right, like hier(1) describes. FHS looks to be rather Linux-specific. Correct me if I'm wrong. Linux is a strictly speaking a kernel, like Mac OS X is running the kernel Mach, often combined with what is called GNU OS. Mac OS X derives originally from FreeBSD. Yes I know. As for the standard, it is a development of BSD old traditions. So a similar origin of OSs make them putting stuff in similar places, but with some differences. Right. As for the POSIX/UNIX standards, they have no so such requirements, so in general, there can be quite some variation. Right. What's the point here? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Aligning Text Above (and Below) Notes
On Wed, Dec 5, 2012 at 3:23 AM, Eluze elu...@gmail.com wrote: Eric Pancer wrote either put these indications in a supplemental (Lyric) staff (staves) or add some padding: Would I use a \ChoirStaff for it, with drum notation? here's a simplified example: [..] Thank you, the example worked quite well. One more issue: my lyrics above the second line of music have more affinity towards the bottom lyric of the first line, than the actual notes of the second line. Any pointers on how to fix it are appreciated. http://dl.dropbox.com/u/3107300/Transcriptions/abakua-layout-issue-20121205-1713UTC.png Code snippet: %% BEGIN %% \version 2.16.0 \header { title = Abakuá Solo Licks composer = tagline = } \paper { top-margin = 2\cm bottom-margin = 3\cm } % example A exAAnotes = \drummode { sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 r8 r8 r4. r2. } exAAtones = \lyricmode { m m m m m m m m m m m m m m m m m m m m m m m m m m m m } exAAstick = \lyricmode { R L R R L R R L R R L R R L R R L R R L R R L R R L R R } % example B exABnotes = \drummode { sn8 sn sn sn r8 sn8 sn sn sn r8 sn8 sn sn sn r8 sn8 sn sn sn r8 sn8 sn sn sn r8 sn8 sn sn sn r8 sn8 sn sn sn r8 sn8 sn r8 r8 r4. r2. } exABtones = \lyricmode { m m s s m m s s m m s s m m s s m m s s m m s s m m s s m s } exABstick = \lyricmode { R L R L R L R L R L R L R L R L R L R L R L R L R L R L L R } % layout the score \score { \new DrumStaff = exAA \repeat volta 2 { \time 6/8 \set Staff.instrumentName = #ex. A \new DrumVoice = exAA \with { fontSize = #-2 } { \exAAnotes } } \new Lyrics \with { alignAboveContext = exAA fontSize = #-2 } \lyricsto exAA \exAAtones \new Lyrics \with { fontSize = #-2 } \lyricsto exAA \exAAstick } \score { \new DrumStaff = exAB \repeat volta 2 { \time 6/8 \set Staff.instrumentName = #ex. B \new DrumVoice = exAB \with { fontSize = #-2 } { \exABnotes } } \new Lyrics \with { alignAboveContext = exAB fontSize = #-2 } \lyricsto exAB \exABtones \new Lyrics \with { fontSize = #-2 } \lyricsto exAB \exABstick } % set ts=4 %% END %% ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changing spacing between title and first system
On Dec 5, 2012, at 15:54, Jeffrey Trevino jeffrey.trevi...@gmail.com wrote: PPS -- alright, I've found how to manipulate the spacing as I wanted; however, it would be nice to hear a resolution to the above Maybe post your solution? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Aligning Text Above (and Below) Notes
I'm trying to layout text above, and below, a transcription to designate the hand, and tone, required for a transcription of conga rhythms. How can I align the super-text and sub-text notations to be on similar horizontal planes with each other? Sample of the output: http://dl.dropbox.com/u/3107300/Transcriptions/abakua-layout-issue-20121204-1905UTC.png The excerpt of code I am using follows. Thanks in advance. - Eric % \version 2.16.0 \header { title = Abakuá Quinto Licks composer = } \layout { raggedright = ##t } \paper { top-margin = 2\cm bottom-margin = 3\cm right-margin = 1\cm left-margin = 1\cm ragged-last-bottom = ##t } % quinto solo - single drum, abakuá licks quintosoloA = \drummode { sn8_R^m sn_L^m sn_R^m r8 sn_R^m sn_L^m sn_R^m r8 sn_R^m sn_L^m sn_R^m r8 sn_R^m sn_L^m sn_R^m r8 sn_R^m sn_L^m sn_R^m r8 r8 r4. } quintosoloB = \drummode { sn8_R^o sn_L^o sn_R^s sn_L^s r8 sn8_R^o sn_L^o sn_R^s sn_L^s r8 sn8_R^o sn_L^o sn_R^s sn_L^s r8 sn8_R^o sn_L^o sn_R^s sn_L^s r8 r8 r4. } % accompaniment - fancy yambú, two drums congasaccompA = \drummode { sn8_R^b sn_L^t toml_R^m toml_L^m toml_R^o toml_R^s sn_L^p sn_L^f sn_R^o sn_L^o sn_R^t sn_L^s } % layout the score \score { \new DrumStaff \with { fontSize = #-2 } \repeat volta 2 { \time 6/8 \set Staff.instrumentName = #quinto \new DrumVoice { \quintosoloA \quintosoloB } } \new DrumStaff \with { fontSize = #-2 \override StaffSymbol #'staff-space = #(magstep -2) } \repeat volta 2 { \time 6/8 \set Staff.instrumentName = #congas \new DrumVoice { \congasaccompA \congasaccompA \congasaccompA \congasaccompA } } } %% end file ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Aligning Text Above (and Below) Notes
On Tue, Dec 4, 2012 at 1:48 PM, Eluze elu...@gmail.com wrote: Eric Pancer wrote I'm trying to layout text above, and below, a transcription to designate the hand, and tone, required for a transcription of conga rhythms. How can I align the super-text and sub-text notations to be on similar horizontal planes with each other? either put these indications in a supplemental (Lyric) staff (staves) or add some padding: Would I use a \ChoirStaff for it, with drum notation? \override TextScript #'padding = #4 Yeah, that pretty much looked awful. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics disappear with associatedVoice in a duet
On 11/15/2012 09:24 AM, Trevor Daniels wrote: Phil Holmes wrote Thursday, November 15, 2012 9:06 AM From: Eric van Gyzen e...@vangyzen.net I'm writing a vocal duet on a ChoirStaff with lyrics between two staves. When one voice rests, I'm trying to use associatedVoice to make the lyrics follow the other voice. I would expect the lyrics to remain between the staves, but the lyrics disappear completely. I can get the voice switch to work by (a) reading the NR, where it says \set associatedVoice = two % must be set one syllable early and (b) creating the alto part before we try to set the lyrics to it. However, the lyrics seem stuck below the music for me. Read NR 5.1.7, give the Staff context a name and use alignBelowContext: \new ChoirStaff \new Staff = SopranoStaff \new Voice = SopranoVoice \relative c' { c4 d e f r1 } \new Staff \new Voice = AltoVoice \relative c' { r1 f4 e d c } \new Lyrics \with { alignBelowContext = SopranoStaff } \lyricsto SopranoVoice { So -- pran -- os \set associatedVoice = #AltoVoice rule. Al -- tos are cool. } That's exactly what I needed. I had read about all of those directives, but hadn't thought of combining them in quite that way. Thanks for your help, Trevor! Eric ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics disappear with associatedVoice in a duet
On 11/15/2012 03:06 AM, Phil Holmes wrote: - Original Message - From: Eric van Gyzen e...@vangyzen.net To: lilypond-user@gnu.org Sent: Thursday, November 15, 2012 5:05 AM Subject: Lyrics disappear with associatedVoice in a duet Fellow Lilypond Users: I'm writing a vocal duet on a ChoirStaff with lyrics between two staves. When one voice rests, I'm trying to use associatedVoice to make the lyrics follow the other voice. I would expect the lyrics to remain between the staves, but the lyrics disappear completely. Here is the tiniest example I can write: \version 2.16.0 % also tried 2.17.6 \new ChoirStaff \new Staff \new Voice = SopranoVoice \relative c' { c4 d e f r1 } \new Lyrics \lyricsto SopranoVoice { So -- pran -- os rule. \set associatedVoice = #AltoVoice Al -- tos are cool. } \new Staff \new Voice = AltoVoice \relative c' { r1 f4 e d c } I can get the voice switch to work by (a) reading the NR, where it says \set associatedVoice = two % must be set one syllable early and (b) creating the alto part before we try to set the lyrics to it. However, the lyrics seem stuck below the music for me. \new ChoirStaff \new Staff \new Voice = SopranoVoice \relative c' { c4 d e f r1 } \new Staff \new Voice = AltoVoice \relative c' { r1 f4 e d c } \new Lyrics \lyricsto SopranoVoice { So -- pran -- os \set associatedVoice = #AltoVoice rule. Al -- tos are cool. } Thanks, Phil. I did have associatedVoice one syllable early in my real score; I just failed to do that in my tiny example. Oversimplification, I suppose. ;-) Thanks again. Eric ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Lyrics disappear with associatedVoice in a duet
Fellow Lilypond Users: I'm writing a vocal duet on a ChoirStaff with lyrics between two staves. When one voice rests, I'm trying to use associatedVoice to make the lyrics follow the other voice. I would expect the lyrics to remain between the staves, but the lyrics disappear completely. Here is the tiniest example I can write: \version 2.16.0 % also tried 2.17.6 \new ChoirStaff \new Staff \new Voice = SopranoVoice \relative c' { c4 d e f r1 } \new Lyrics \lyricsto SopranoVoice { So -- pran -- os rule. \set associatedVoice = #AltoVoice Al -- tos are cool. } \new Staff \new Voice = AltoVoice \relative c' { r1 f4 e d c } It looks like this: http://vangyzen.net/music/associatedVoice_problem.pdf I would like the Alto's lyrics above her notes. What am I doing wrong? Thanks for any help you can offer. --Eric (near Minneapolis, Minnesota, US) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Fatal Error on Launching 2.15.31
This may belong on the developer list- apologies. Immediately after downloading and expanding 2.15.31 in the version appropriate for my Macintosh (10.7.3 Intel Duo) I got a crash reflected in my console with these message: 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: Traceback (most recent call last): 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File /Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/__boot__.py, line 31, in module 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: _run('LilyPond.py') 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File /Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/__boot__.py, line 28, in _run 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: execfile(path, globals(), globals()) 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File /Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/LilyPond.py, line 3, in module 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: from PyObjCTools import AppHelper 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File PyObjCTools/AppHelper.pyc, line 14, in module 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File AppKit/__init__.pyc, line 8, in module 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File objc/__init__.pyc, line 22, in module 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File objc/__init__.pyc, line 19, in _update 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File objc/_objc.pyc, line 18, in module 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File objc/_objc.pyc, line 11, in __load 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: ImportError: dlopen(/Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/lib/python2.6/lib-dynload/objc/_objc.so, 2): Symbol not found: _objc_sync_notify 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: Referenced from: /Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/lib/python2.6/lib-dynload/objc/_objc.so 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: Expected in: /usr/lib/libobjc.A.dylib 3/3/12 9:52:59.392 AM LilyPond: LilyPond Error 3/3/12 9:52:59.393 AM LilyPond: LilyPond Error An unexpected error has occurred during execution of the main script ImportError: dlopen(/Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/lib/python2.6/lib-dynload/objc/_objc.so, 2): Symbol not found: _objc_sync_notify Referenced from: /Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/lib/python2.6/lib-dynload/objc/_objc.so Expected in: /usr/lib/libobjc.A.dylib 3/3/12 9:53:28.736 AM com.apple.launchd.peruser.501: ([0x0-0x916916].org.lilypond.lilypond[24955]) Exited with code: 255 3/3/12 9:54:39.134 AM LilyPond: The Info.plist file must have a PyRuntimeLocations array containing string values for preferred Python runtime locations. These strings should be otool -L style mach ids; @executable_stub and ~ prefixes will be translated accordingly. 3/3/12 9:55:05.153 AM [0x0-0x91b91b].LilyPond: 0x9a66212b 3/3/12 9:55:05.153 AM com.apple.launchd.peruser.501: ([0x0-0x91b91b].LilyPond[24997]) Exited with code: 255 Apologies for the dump but not sure what to do with that! Seemed to deserve a report somewhere - if not here, again apologies, will forward to if and as I can. Eric ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fatal Error on Launching 2.15.31
Macintosh OS 10.7.3 (Intel , not PPC - Duo Core, desktop, computer is several years old and was bought with 10.4 I think...) - sorry about that. Yes, most recently 2.15.24. On Sat, Mar 3, 2012 at 12:07 PM, Phil Holmes m...@philholmes.net wrote: ** Top-posting, because my mail reader interprets this as HTML and won't use proper indenting. What operating system are you using? Have you used previous versions of LilyPond without this problem? Phil Holmes - Original Message - *From:* Eric eric.schis...@gmail.com *To:* lilypond-user@gnu.org *Sent:* Saturday, March 03, 2012 3:01 PM *Subject:* Fatal Error on Launching 2.15.31 This may belong on the developer list- apologies. Immediately after downloading and expanding 2.15.31 in the version appropriate for my Macintosh (10.7.3 Intel Duo) I got a crash reflected in my console with these message: 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: Traceback (most recent call last): 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File /Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/__boot__.py, line 31, in module 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: _run('LilyPond.py') 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File /Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/__boot__.py, line 28, in _run 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: execfile(path, globals(), globals()) 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File /Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/LilyPond.py, line 3, in module 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: from PyObjCTools import AppHelper 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File PyObjCTools/AppHelper.pyc, line 14, in module 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File AppKit/__init__.pyc, line 8, in module 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File objc/__init__.pyc, line 22, in module 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File objc/__init__.pyc, line 19, in _update 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File objc/_objc.pyc, line 18, in module 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: File objc/_objc.pyc, line 11, in __load 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: ImportError: dlopen(/Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/lib/python2.6/lib-dynload/objc/_objc.so, 2): Symbol not found: _objc_sync_notify 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: Referenced from: /Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/lib/python2.6/lib-dynload/objc/_objc.so 3/3/12 9:52:59.193 AM [0x0-0x916916].org.lilypond.lilypond: Expected in: /usr/lib/libobjc.A.dylib 3/3/12 9:52:59.392 AM LilyPond: LilyPond Error 3/3/12 9:52:59.393 AM LilyPond: LilyPond Error An unexpected error has occurred during execution of the main script ImportError: dlopen(/Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/lib/python2.6/lib-dynload/objc/_objc.so, 2): Symbol not found: _objc_sync_notify Referenced from: /Users/ericschissel/donotbackup/chromedownloads/LilyPond 3.app/Contents/Resources/lib/python2.6/lib-dynload/objc/_objc.so Expected in: /usr/lib/libobjc.A.dylib 3/3/12 9:53:28.736 AM com.apple.launchd.peruser.501: ([0x0-0x916916].org.lilypond.lilypond[24955]) Exited with code: 255 3/3/12 9:54:39.134 AM LilyPond: The Info.plist file must have a PyRuntimeLocations array containing string values for preferred Python runtime locations. These strings should be otool -L style mach ids; @executable_stub and ~ prefixes will be translated accordingly. 3/3/12 9:55:05.153 AM [0x0-0x91b91b].LilyPond: 0x9a66212b 3/3/12 9:55:05.153 AM com.apple.launchd.peruser.501: ([0x0-0x91b91b].LilyPond[24997]) Exited with code: 255 Apologies for the dump but not sure what to do with that! Seemed to deserve a report somewhere - if not here, again apologies, will forward to if and as I can. Eric -- ___ 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: Help, simple music function not compiling
%% the function that will fail tempoMarkEqual = #(define-music-function (parser location before after) (string? string?) #{ \mark \markup \tiny { \note $before #1 = \note $after #1 } #} ) with a '#' before $before and $after, it works. Thanks a lot ! Can somebody explain why the #s were needed in that case ? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Help, simple music function not compiling
Hi lilypond helpers, Here is a small program that does not compile: --- \version 2.12.3 %% the function that will fail tempoMarkEqual = #(define-music-function (parser location before after) (string? string?) #{ \mark \markup \tiny { \note $before #1 = \note $after #1 } #} ) %% example begins here { \time 2/4 re'2 | %% this works well \mark \markup \tiny {\note #8 #1 = \note #8 #1 } re'2 | %% this is an attempt to get the same result with a function \tempoMarkEqual #8 #8 re'2 } -- The first \mark command works well, but the function fails with: string:2:30: Error : syntax error, unexpected STRING_IDENTIFIER, expecting SCM_IDENTIFIER or SCM_TOKEN \mark \markup \tiny { \note \lilyvartmpb #1 = \note \lilyvartmpc #1 } What did I miss ? Thanks, Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
horizontal space after rehearsal mark (or bar line)
Hi everyone! What ways are there to add horizontal space after a rehearsal mark? In detail: How to shift notes and their textscripts to the right, to get the rehearsal mark and text-script besides each other instead of the (i my opinion somewhat ugly) vertical stacking? Or, if that is hard: How to increase the x-padding of a double bar? I the example below, the M2 get spaced above the Tutti. Some extra space after the double bar would avoid stacking. Using lilypond 2.12.2 (lilypond.org installer) on Debian 5.0.4 AMD64. test.ly \version 2.12.2 \score { \relative c' { \clef G \time 4/4 c'1 d \bar || \mark \markup{\box M2} e( \f ^\markup{Tutti} f) } } - I have tried extra-spacing-width and looking for other ways, but nothing found in the archives by the search words I could come up with at least ... Thanks in advance! Per Eric Rosén, Uppsala, Sweden -- ^): Per Eric Rosén http://rosnix.net/~per/ / p...@rosnix.net GPG 7A7A BD68 ADC0 01E1 F560 79FD 33D1 1EC3 1EBB 7311___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond on iPhone
On Thursday, February 4, 2010, Dave Addey lilyp...@addey.com wrote: Hi all, I’m wondering if anyone has built or tried to build the Lilypond library for the iPhone platform, to render engraved music on an iPhone-OS-powered device? I’m considering this for an upcoming project, and wanted to ask a few questions before diving in to trying it myself. Here goes: 1) How do you rate my chances of getting Lilypond to compile for the ARM-based iPhone OS, especially given the number of libraries it depends on? 2) Would there be any licensing issues in using Lilypond (and dependent libraries) in a paid app on a closed platform such as the iPhone? 3) What’s the likely performance of rendering .ly files on a lower-powered (and lower-memory) device such as an iPhone or iPod Touch? Is it likely to take seconds, minutes or hours? How about on an iPad? (I’m looking for rough guesses here, before I go through the pain of attempting compilation.) 4) If performance is likely to be a no-go, what are my best alternative? Server-side PDF generation for delivery to a device? Any thoughts or ideas much appreciated. I’ve a fair bit of experience in Mac open-source development (I wrote much of the audio code for Handbrake), but I’m new to Lilypond, so would be starting from scratch in compiling it. Thanks! Dave. I'm working on this idea for the upcoming iPad. I would love to be able to sit with my instrument and notate with the iPad on a stand or table. The first approach I'm going to try is with a RESTful web service backend app running on my desk computer. If I don't get the performance I want with that, I'll create a Cocoa server app with direct sockets. This seems like a very doable project and I'm looking forward to giving it a try. Waiting for my iPad! -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Question about scheme engravers
Thanks, Carl. I am making a bit progress, but I haven't cracked the fingerings in a chord, yet. I'll post another with my source to the devel list. -Eric On Mon, Jan 18, 2010 at 4:49 PM, Carl Sorensen c_soren...@byu.edu wrote: On 1/18/10 2:41 PM, Eric Knapp ekn...@gmail.com wrote: Hello, everyone. I'm working on creating engravers in scheme. I have the example from here: http://codereview.appspot.com/181109/show In the example file named, scheme-engraver.ly there is this piece of code: (cons 'rest-event (lambda (engraver event) (let* ((x (ly:engraver-make-grob engraver 'TextScript event))) (display (list caught event event \ncreate:\n x \n)) (ly:grob-set-property! x 'text hi)) )) If there's a rest in the notation code like this, c-2\61 r2, then the above display function will output this: (caught event #Prob: Stream_event C++: Stream_event((music-cause . #Prob: Music C++: Music((length . #Mom 1/2) (elements) (duration . #Duration 2 ) (origin . #location scheme-engraver.ly:23:11))((display-methods #procedure #f (rest parser)) (name . RestEvent) (types general-music event rhythmic-event rest-event)) ) (length . #Mom 1/2) (elements) (duration . #Duration 2 ) (origin . #location scheme-engraver.ly:23:11))((class . rest-event)) Here's my question. How do I access elements in the event? For example, the duration of the rest is shown above as, (duration . #Duration 2). I would like to have an if statement look at the duration variable and do something based on the value. What would an if for that look like? First, you want to extract the music from the stream event, I think (ly:event-property event 'Music) (but I'm not sure about this step) Once you have the music, then you get the elements of the music: (ly:music-property music 'elements) Now, elements is a list of music elements, so you'll want to get the duration from the first element of elements: (ly:music-property (car elements) 'duration) As you can probably tell, I'm also learning scheme. I've been looking for a reason to learn scheme and the new capability of writing scheme engravers has hooked me! Looks like you're doing a good job of it! Thanks for the help in advance, this is getting exciting. I think so! HTH, Carl P.S. Questions at this level of detail probably belong on -devel, rather than -user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Trying to build latest dev version on OS X 10.6.2
I'll just use the new download on OS X and build it on linux when I need a nightly. Thanks, -Eric On Fri, Jan 15, 2010 at 4:43 PM, Eric Knapp ekn...@gmail.com wrote: Hello, I'm having problems trying to build lilypond from source. I just got the source with this: git clone git://git.sv.gnu.org/lilypond.git Then I followed the instructions from Nicholas Sceaux here: http://nicolas.sceaux.free.fr/index.php/2008/11/30/26-building-lilypond-from-git-sources-on-mac-os-105-intel I had to upgrade all my macport dependencies and that was successful. When I try to build, it will run for a very long time and then I get a full crash of lilypond. In the terminal where I ran the build I get this: dyld: Library not loaded: /usr/lib/libsasl2.2.dylib Referenced from: /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer Reason: Incompatible library version: PasswordServer requires version 3.0.0 or later, but libsasl2.2.dylib provides version 0.0.0 help2man: can't get `--help' info from out/lilypond make[1]: *** [out/lilypond.1] Error 255 make: *** [all] Error 2 Then a big crash dialog window opens with this, which might have more information: Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0002, 0x Crashed Thread: 0 Dyld Error Message: Library not loaded: /usr/lib/libsasl2.2.dylib Referenced from: /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer Reason: Incompatible library version: PasswordServer requires version 3.0.0 or later, but libsasl2.2.dylib provides version 0.0.0 Does anyone see what my issue is? Thanks, -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Question about scheme engravers
Hello, everyone. I'm working on creating engravers in scheme. I have the example from here: http://codereview.appspot.com/181109/show In the example file named, scheme-engraver.ly there is this piece of code: (cons 'rest-event (lambda (engraver event) (let* ((x (ly:engraver-make-grob engraver 'TextScript event))) (display (list caught event event \ncreate:\n x \n)) (ly:grob-set-property! x 'text hi)) )) If there's a rest in the notation code like this, c-2\61 r2, then the above display function will output this: (caught event #Prob: Stream_event C++: Stream_event((music-cause . #Prob: Music C++: Music((length . #Mom 1/2) (elements) (duration . #Duration 2 ) (origin . #location scheme-engraver.ly:23:11))((display-methods #procedure #f (rest parser)) (name . RestEvent) (types general-music event rhythmic-event rest-event)) ) (length . #Mom 1/2) (elements) (duration . #Duration 2 ) (origin . #location scheme-engraver.ly:23:11))((class . rest-event)) Here's my question. How do I access elements in the event? For example, the duration of the rest is shown above as, (duration . #Duration 2). I would like to have an if statement look at the duration variable and do something based on the value. What would an if for that look like? As you can probably tell, I'm also learning scheme. I've been looking for a reason to learn scheme and the new capability of writing scheme engravers has hooked me! Thanks for the help in advance, this is getting exciting. -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Trying to build latest dev version on OS X 10.6.2
Hello, I'm having problems trying to build lilypond from source. I just got the source with this: git clone git://git.sv.gnu.org/lilypond.git Then I followed the instructions from Nicholas Sceaux here: http://nicolas.sceaux.free.fr/index.php/2008/11/30/26-building-lilypond-from-git-sources-on-mac-os-105-intel I had to upgrade all my macport dependencies and that was successful. When I try to build, it will run for a very long time and then I get a full crash of lilypond. In the terminal where I ran the build I get this: dyld: Library not loaded: /usr/lib/libsasl2.2.dylib Referenced from: /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer Reason: Incompatible library version: PasswordServer requires version 3.0.0 or later, but libsasl2.2.dylib provides version 0.0.0 help2man: can't get `--help' info from out/lilypond make[1]: *** [out/lilypond.1] Error 255 make: *** [all] Error 2 Then a big crash dialog window opens with this, which might have more information: Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0002, 0x Crashed Thread: 0 Dyld Error Message: Library not loaded: /usr/lib/libsasl2.2.dylib Referenced from: /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer Reason: Incompatible library version: PasswordServer requires version 3.0.0 or later, but libsasl2.2.dylib provides version 0.0.0 Does anyone see what my issue is? Thanks, -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Staff Tab notation support?
On Sat, Jan 9, 2010 at 11:33 AM, Carl Sorensen c_soren...@byu.edu wrote: Eric Knapp asked about doing something for Chapman Stick in 2008, but as far as I know, nothing ever came of it. I doubt that there are any developers here at LilyPond that will take the lead in developing Staff Tab notation, but I think you'll find lots of support if you want some help developing it yourself. HTH, Carl I'm that Eric and I am still working on doing StaffTab in Lilypond. I have a set of music functions that work for me just fine. However, as you all know, getting them to the point where others could use them easily is another matter. I also don't have everything working. The string indicators are small lines or rectangles that show what string the note is played on. For an instrument with 12 strings this is quite important. However, I can't make a foolproof mechanism for this, yet. I need to learn Scheme and write some fairly smart functions before this will be the way I want it to be. For now I do everything except the string indicators in lilypond and then add those in a graphics program. Since my scores are not large, this works for me. Should I put up a page with my work-in-progress? Would this be of interest to anyone? Thanks, -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Variable substitution in postscript?
Hi, all. I'm attempting to create some music functions that have some postscript commands in them. Is there a way to pass an argument from the Scheme music function into the embedded postscript? Here's a simplified example that makes a hollow square notehead: The function: sample = #(define-music-function (parser location thickness note ) (number? ly:music?) #{ \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = \markup { \postscript # -1.65 0 translate 0.25 setlinewidth 0.75 -0.4 0.8 0.8 rectstroke } $note #}) Usage: \sample #0.25 bf2 What I want to do is have the value of the thickness variable replace the 0.25 in the postscript. I've tried everything that I can think of and have also looked in some postscript documentation. Is there a way to do this? It would allow me to solve a lot of things I want to do with Lilypond. I'm not sure if I should post questions like this here or to the devel forum. I did not cross-post so let me know if I should repost there. Thanks, -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Variable substitution in postscript?
Thanks, Mark. This works and will really help with the custom things I want to do. -Eric On Monday, May 25, 2009, Mark Polesky markpole...@yahoo.com wrote: Eric Knapp wrote: What I want to do is have the value of the thickness variable replace the 0.25 in the postscript. Eric, the ly:format function http://lilypond.org/doc/v2.13/Documentation/user/lilypond-internals/Scheme-functions.html#index-ly_003aformat is loosely based on the guile format function: http://www.gnu.org/software/guile/manual/html_node/Formatted-Output.html but it is not the same thing. __ \version 2.13.0 \include english.ly sample = #(define-music-function (parser location thickness note) (number? ly:music?) #{ \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = \markup { \postscript #(ly:format -1.65 0 translate ~4f setlinewidth 0.75 -0.4 0.8 0.8 rectstroke $thickness) } $note #}) { \sample #0.25 bf2 } _ I'm not sure if I should post questions like this here or to the devel forum. I did not cross-post so let me know if I should repost there. This is a user question. IIUC, -user is for finding a way to make something work and -devel is for finding a way to change the program. If you're ever unsure post to -user first. HTH - Mark ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
decreasing spacing between staves
Greetings, I've looked high and low for the solution to this (rather basic, IMO) problem, and seem to be coming up empty-handed: I have a score that requires a single-line tablature staff above the main staff, which contains pitches. I need to find a way to decrease the space between the tablature staff and the main one such that it generally is not more than 2 spaces (i.e. staff spaces) above the main staff, but yet will move higher if needed to avoid collisions with leger lines, articulations, etc. Noteheads between these two staves will typically be beamed together (i.e. cross-staff beaming). Adjusting the minimum-Y-extent of VerticalAxisGroup does not seem to have the desired effect (staves are too far apart); adjusting offsets in NonMusicalPaperColumn is possible, but only doable at the very last stage, i.e. once all other input is done. So, is there an easy (and hopefully intuitive) way to decrease space between two staves (even if the score were to contain more than 2 staves) globally, without having to set system breaks, such that the layout will default to a narrower vertical spacing for those staves? Thanks, EF ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tenuto/tie collision
Jonathan Kulp jonlancekulp at gmail.com writes: You might try the tweaks covered in Learning Manual 4.5.3 Real Music Example, which has an instance of a tie that needs to be raised to avoid collision with something. Right, but this is precisely the point: I'll be making dozens of such adjustments, when IMO such collisions should be avoidable by default, if not by design. This is why I'm wondering if there isn't a way to globally ensure the positioning of ties _between_ (as opposed to above) noteheads; there would likely then be the problem of the left ends of ties colliding (or at least interfering) with augmentation dots, but there are likely to be fewer such instances. Cheers, EF ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
tenuto/tie collision
Greetings, I'm sure this has been addressed elsewhere, although my search of the forum turns up negative: It seems that in some instances the program will default to a tie placement such that it is bound to collide with certain articulations, such as tenuto marks. It appears as if ties are lowered for notes on spaces (e.g. the B5), yet they are higher for notes on lines (the 5). I would imagine this is to avoid tie endpoints on lines when such notes appear within the staff, yet one ends up with two different tie appearances, i.e. ties wholly between noteheads (the first measure) and ties above and just slightly off- centered from noteheads (the second measure). The previous would correspond, for instance, to Vinci's recommendations for tie endpoints (see _Die Notenschrift_), whereas the latter corresponds to Gardner Read. Can one _easily_ override the problem in the latter measure, without having to tweak tie end-points or offsets? (I have done both in the past.) The ideal would be to create a global behavior in which ties appear either a) wholly between noteheads (this would require offsetting the left tie end-point to the right of augmentation dots), as per Vinci, or b) to raise ties so that they appear above tenuto marks. This latter occurs above the A5 with the augmentation dot, and I'm not sure why only it has the raised tie, although I suppose it has something to do with the dot itself. Thanks, EF inline: tenuto.jpg___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: air-tone tablature
Bertalan Fodor (LilyPondTool lilypondtool at organum.hu writes: How do you do that in Sibelius? Perhaps mirroring the same approach would be the best. With Sibelius, one can easily start and stop a staff mid-system (or measure) by changing that staff to an invisible one. Thus, the passage was engraved with two staves: a normal one for pitched notes, and a second, single line staff above for non-pitched notes. Instead of placing pitches on that line, I engraved pitches one line higher (this line does not show, of course) and used invisible noteheads; thus the extended stem. Circular noteheads were placed manually as symbols (e.g. articulations). My approach with Lilypond thus far has been similar, but I'm having difficulty suppressing the single-line staff mid-measure or -system: if I change the number of staff lines to zero, I get a whole host of warnings. Also, placing graphical symbols over blank stems to create circular noteheads is problematic, as one then triggers collision avoidance (which, as you say, one should be able to turn off). If I can find a way to create the notehead _and_ shift its position down and to the left on the stem (assuming down stems), then I'm 80% there. Thanks! ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: air-tone tablature
Mark Polesky markpolesky at yahoo.com writes: Eric, I've gotten as far as I care to for now. Undoubtedly you'll want to tweak things anyway, so I'm sending off what I have as it is. You could re-code the stencil using Carl's (more efficient) way, but the code here should work fine. Let me know if anything breaks or if you need more from this function, or if you have any questions. - Mark Brilliant! Looks like this should work; I'll play around with it tomorrow. Thanks! EF ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
problem with engraving breath tones
I have a score that involves numerous passages of wind instruments making pure breath (i.e. non-pitched) sounds; as per Kurt Stone, these should be indicated on a single tablature line above the staff with circular noteheads. These noteheads are unusual in that they are centered on the stem (i.e. the stem goes through the center of the circle), with the stem protruding about a half a space above/below the notehead. A simple example can be found here: http://www.ericflesher.com/scores/example/air.jpg What I'm looking for is a solution that will allow me to introduce and remove this tablature staff at will, including in the middle of the bar; I would further like to be able to import a pre-existing symbol for this notehead, as it does not appear that the Feta font has such a symbol. Any ideas? Many thanks in advance. EF P.S. I have tried the following work-arounds, neither are terribly good: 1. Creating a 6-line staff, with the top line moved up 2 spaces to simulate a separate tablature line. Advantage: ease of getting the breath pitches onto the staff. Disadvantage: Solution does not work if leger-line pitches occur while this 6-line staff is in effect. 2. Creating a separate, 1-line staff for the tablature pitches. Advantage: Can easily accommodate leger-line pitches from (1) above, without placing these above the tablature staff. Disadvantage: Space between staves must be adjusted; may encounter problems in introducing/hiding staff mid-measure and/or mid-system. 3. Creating a line with \draw-line under \markup for the tablature staff. Advantage: None I can see so far. Disadvantages: The line will move to avoid collisions, thus making it difficult (if not impossible) to place noteheads on the line. Insufficient documentation (IMO) on the destination arguments taken by \draw-line, thus making the placement of such line a lengthy trial-and-error process. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: leopard in the pond
If you have trouble doing this with macports please report the issues here, I would be glad to try to help. Macports can be fussy and there are way to make it behave if you have had to spend some time with it like I have. The dependencies were a mystery to me for a long time and since I really wanted lilypond I forced myself to research the topic and understand what was going on. It has even helped with other macports because I'm no longer intimidated when an install fails due to dependency issues. Lilypond is also making me learn Scheme so the project is actually benefitting me more than just in music. -Eric On Wed, Aug 27, 2008 at 2:40 AM, James E. Bailey [EMAIL PROTECTED] wrote: Also, installing without macports is doable. The first time is a pain, but it has the advantage of not being dependent on macports. Am 27.08.2008 um 05:17 schrieb Jonathan Kulp: Found it. Thanks. I'm going to try to follow these instructions tomorrow. I've had trouble getting all the dependencies installed via MacPorts but maybe following his instructions will help. In the end it doesn't matter so much b/c I'm not running Leopard anyway. I just want to try to build it on the Mac for the sake of nerdiness :) I have no problem building on Linux and it irritates me that I can't make it work on the Mac. Best, Jon Carl D. Sorensen wrote: Scroll down the page about 1/3. Or search for Git on that page. Carl On 8/26/08 6:08 PM, Jonathan Kulp [EMAIL PROTECTED] wrote: I couldn't find the instructions there. Nicolas, did you remove them or am I just missing them? I was very impressed with the opera projects, though. Wow! :) Jonathan ___ 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: point and click, was: Template: String Quartet (score-only), first draft
I have it working with Preview and TextMate. There are others with it working with other editors. It involves some applescript. There was a thread earlier this summer on it, here's the link to the thread: http://lists.gnu.org/archive/html/lilypond-user/2008-07/msg00031.html I was using LilypondTool in jEdit but it's not working now that I'm on 10.5 and compiling lilypond from source. I'd be happy to share the applescript and help. -Eric On Sun, Aug 17, 2008 at 5:35 PM, James E. Bailey [EMAIL PROTECTED] wrote: Speaking of which, is there a way to get point and click working on a macintosh with OS 10.5? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: markup dynamics wrong size
Mats Bengtsson mats.bengtsson at ee.kth.se writes: The best solution for you is probably to use #(make-dynamic-script ... ) to define all your dynamic commands, see subsection New dynamics. Then, they will behave exactly as all the other dynamics. I haven't investigated how much tweaks would be involved to make ordinary \markup commands work better in the centered dynamics context, but you will certainly always suffer from the same lack of vertical alignment that I just pointed out in an email with subject line Re: GDP: NR 1.3 Expressive marks, second draft on the mailing list. There, you can also find hints on how to use #(make-dynamic-script ) without having to learn Scheme syntax for markup commands. /Mats Thanks - this works very well. However, I have had another issue arise from implementing this technique: Longer dynamic strings (e.g. p delicato, crescendo, etc.) that are engraved as dynamic scripts in this fashion end up getting centered, as a text string, horizontally under the notehead. This necessitates offsetting them somehow; my immediate workaround is to apply \once \override DynamicText #'extra-offset = #'( x . y ) to shift the dynamic string to the appropriate position. With this in mind, however, is there a means of doing the following: a) Defining a dynamic text string that will left-align to the notehead? This is generally what is desired for markings such as cresc. dim., plus other expressive markings (dolce, etc.) that stand alone, i.e. without a dynamic marking such as p, f, etc. b) Defining a dynamic text string that centers the dynamic mark (p, f, etc.) under the notehead as per usual, while allowing any modifiers in the string (e.g. dim., dolce, etc.) to follow to the right? I know that this latter, in particular, is a rather sophisticated request, but it would be worth being able to automate such issues that are likely to occur frequently. Regards, EF ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
duplets
Greetings, Is it possible to suppress/alter the tuplet number in the case of the duplet shown below? (m. 91, bass staff) According to Stone, this should be engraved as a duplet with the numeral 2 in the bracket. This could of course be represented instead by dotted eighths, but these then get rather cumbersome given the quadruplet that follows on the next beat. Replacing the duplet's 4 with a fraction (4:3) is possible, but rather counterintuitive to read. EF inline: duplet.JPEG___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
markup dynamics wrong size
Wondering if anyone has experienced the following problem: When creating new centered dynamics in a piano staff in ver. 2.11.55 (and several earlier versions) using \markup, three things happen: 1. the markup text created is significantly larger than the normal dynamic size 2. the text does not align with other dynamic markings 3. the presence of the markup text forces additional space between the staves inline: dynamics.JPEG The dynamic marking concerned is contained in a variable thus: pocoF = \markup { \italic poco \dynamic f } and is deployed locally as follows: \times 4/5 { s16 s\mp s s-\pocoF s\ } \times 4/5 { s8\! s\mp s16 } s4 (I would include more code, but the file is extremely long.) Any idea what might be wrong here, and how this could be fixed? Thanks, EF___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond under Leopard
I have successfully compiled lilypond 2.11.50 and 2.11.52 on my mac. It is worth the effort since the resulting application is so much faster. How did your efforts fail? MacPorts can be fussy and I had to do some juggling of dependencies to get everything installed correctly. And a few of the required ports were broken the day I tried the install. When that happens you have to know the macports system pretty well to get things running. Maybe I can help you? Let me know if you want to try again with some assistance. -Eric On Fri, Jul 18, 2008 at 1:05 PM, Alberto Simões [EMAIL PROTECTED] wrote: Hi, Folks No, I am not asking how to install Lilypond in Leopard. I know there are at least two options: - to compile it from the source, using a set of instructions and macports (that installs/reinstalls almost everything) - and another option that is to use the G4 binary (the one I use, as the previous one failed) My question is another (or, my questions...) - is it known why the 10.4 binary doesn't work under 10.5? - if so, is there any work on preparing a standard binary for Leopard? Cheers 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: Changing notes based on fingerings
Hello, Nicolas. On Thu, Jul 17, 2008 at 8:12 AM, Nicolas Sceaux [EMAIL PROTECTED] wrote: Do you mean a FingeringEvent music expression, or a Fingering grob? Once you have grobs, it's too late for modifying music expressions. You can navigate down music expressions, but not up. But see below. I think I would like the music expression. I didn't know that once I had a grob it was too late. I'm not exactly sure what you're trying to do, but here is my guess. Based on an input like: a''2-2 you want to produce something like: [fill in the blank] I would like to start with: a''2-2 And produce: a''2 with customized NoteHeads and Stems based on the -2 fingering. I want to produce a note with a custom notehead and suppress the fingering numbers. The notation I'm trying to code indicates fingerings with notehead shapes, not fingering numbers or letters. But, I would like users to still be able to indicate fingerings with the normal lilypond notation like a-2. The process is the following: 1. \displayMusic a''2-2 as you have done, to be able to recognize how to get the interesting elements 2. \displayMusic [fill in the blank] to see how to programmatically build the result 3. write a basic music function that transforms the input to the desired result. If what you're working on is complex, at first implement elementary transformations. Then, progresseivey merge them in single music function that does what you aim at. I am using this approach with good results. I know the music expression I want to create. I just need to be able to catch music expressions so that I can get the fingering number that the user entered. Then I can create the correct note based on the fingering. With code like this: \override Fingering #'stencil = #custom-fingerings %-- a function I can intercept any music expression that has a fingering. But, I receive the Fingering grob in the function. How do I intercept all music expressions before they are grobs so that I can make them myself? If this is documented then I'm just missing it and would love to be enlightened. nicolas Thanks, Nicolas, this is very helpful and educational. -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Changing notes based on fingerings
The next issue in trying to extend Lilypond for my instrument is that I want to change things in the Note based on the text in the Fingering. Here's an example, this displayMusic call results in the make-music call that is after it. I have code working that gives me the 2 from the FingeringEvent that I got from the very helpful Neil Puttock. Now I need to be able to retrieve the NoteEvent that is in the same list. \displayMusic {a''2-2} (make-music 'SequentialMusic 'elements (list (make-music 'EventChord 'elements (list (make-music 'NoteEvent -- I want to make changes here. 'duration (ly:make-duration 1 0 1 1) 'pitch (ly:make-pitch 1 5 0)) (make-music 'FingeringEvent 'digit 2) Based on this. If I'm in a function that was delivered a Fingering grob, can I navigate up to the containing list and then up to the SequentialMusic object? Or is this not the direction that will give me a solution? The other idea I have about this is to override the creation of all music notes and if there is a Fingering object then rewrite the entire make-music call. I don't know how to do that, either. Thanks, -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Determining Fingering digit?
Hi, all. This is a working example that I got from the LSR. It is used with \applyOutput: #(define (mc-squared grob grob-origin context) (let* ( (ifs (ly:grob-interfaces grob)) (sp (ly:grob-property grob 'staff-position)) ) (if (memq 'note-head-interface ifs) (begin (ly:grob-set-property! grob 'stencil ly:text-interface::print) (ly:grob-set-property! grob 'font-family 'roman) (ly:grob-set-property! grob 'text (make-raise-markup -0.5 (case sp ((-5) (make-simple-markup m)) ((-3) (make-simple-markup c )) ((-2) (make-smaller-markup (make-bold-markup 2))) (else (make-simple-markup bla)) ))) In this line: (sp (ly:grob-property grob 'staff-position)) The staff position of the note is assigned to the variable sp. How could I get the fingering digit of the note? For example: c''-3 I want to programmatically get the 3 as a number or text. Also, the \applyOutput command only seems to run once. I was expecting to apply to all occurrences in the Voice when used like this: \context Voice \relative c' { \applyOutput #'Voice #mc-squared { d f g b2 d f g b d f g b d f g b c e g1 | c2-1 c'-2 | b4 \displayMusic {g8} a b4-3 c | c,2 a'-4 | g1 | } } Thanks, -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
ties across voices -- DIFFICULT!!!
I am having an extremely difficult time finding an acceptable coding solution for a fairly straightforward (though relatively complex) notational problem: I have several measures of piano music (code appended below) in which an initial chord is struck, with voices released at different times. This _visually_ requires no more than 2 voices to be present during any given beat. Most of my coding attempts, however, require 3 or more voices, often using tweaks to hide pitches and shifting note columns to rectify the default displacement of subsidiary voices. I have tried the documented moving of the Tie_engraver to the staff (vs. voice) level, but end up with simultaneous tie events that end up junking a required tie. Does anyone have any practical advice for solving this problems? The necessity of creating invisible noteheads in 3 or more parts seems cumbersome and carries with it a whole host of horizontal voice-offset (shift) problems. I have also tried manipulating the control points on individual ties (documented elsewhere on this forum) but cannot find any reference as to how this might be done with tie columns. Incidentally, the _simplest_ solution would appear to me to be somehow engraving ties as individual graphic events, i.e. neither attached to, nor dependent upon noteheads in any particular voice. (Is this possible?) I will try to post another message with the code attached, but so far the server fails to accept such, claiming I'm top-posting. Many thanks, EF ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ties across voices -- DIFFICULT!!!
Eric Flesher ericflesher at gmail.com writes: I am having an extremely difficult time finding an acceptable coding solution for a fairly straightforward (though relatively complex) notational problem: ... et cetera... Here's the code: \version 2.11.51 upper = \relative c'' { \clef bass \time 3/1 { s1 s1 r1 } \\ { \stemUp fis,,,_~ gis_~ cis^~ dis^~ 1 fis~ gis~ cis^~ dis 1 fis gis~ cis~ 2 gis~ cis^~ 2 } \time 3/1 \clef bass fis! gis!~ cis!~ dis! 1 gis cis 1~ gis cis 2.~ gis cis 8 r8 \break \time 4/1 \clef bass { fis_~ gis_~ cis^~ dis^~ 1 fis \tweak #'transparent ##t gis cis \tweak #'transparent ##t dis 1~ \stemDown \tweak #'transparent ##t fis cis' 1~ \stemUp cis'2. r4 } \\ { s1 s1 fis,2~ fis8 r8 r4 s1 } \\ { s1 gis dis' 2. r4 s1 s1 } } lower = \relative c { \clef bass { f,!_~ g!^~ c!^~ d!^~ 1 \tweak #'transparent ##t f g \tweak #'transparent ##t c d 1~ g d' 1~ } \\ { s1 \stemDown \once \override NoteColumn #'force-hshift = #0.75 f c' 4 c4\rest c2\rest s1 } { s1 \once \override NoteColumn #'force-hshift = #-0.15 d'2. r4 s1 } \\ { f,!_~ g!_~ c!^~ d!^~ 1 f g c \tweak #'transparent ##t d 1~ \stemUp f_~ \tweak #'transparent ##t g c^~ 2 f c' 4. d'8\rest } \\ { s1 s1 \stemDown g,4. a,8\rest a2\rest } { f'!_~ g!_~ c!^~ d!^~1 \once \override TieColumn #'tie-configuration = #'((-5.5 . -1) (-4.5 . -1) (0.5 . 1) (1.5 . 1)) \once \override NoteColumn #'force-hshift = #-0.75 \tweak #'transparent ##t f \tweak #'transparent ##t g \tweak #'transparent ##t c \tweak #'transparent ##t d \stemDown \once \override NoteColumn #'force-hshift = #-2.5 g2_~ g8 c,8\rest c4\rest c2\rest des\harmonic ges\harmonic as\harmonic des\harmonic 2 } \\ { s1 \stemDown \once \override NoteColumn #'force-hshift = #-0.75 g c 1~ \once \override TieColumn #'tie-configuration = #'((-6.5 . -1) (-2 . -1)) \once \override NoteColumn #'force-hshift = #-2.75 \tweak #'transparent ##t g c^~ \stemUp c2. a'4\rest } \\ { s1 \once \override NoteColumn #'force-hshift = #0.25 f, d' 2. r4 } \\ { \stemUp } } \score { \new PianoStaff \new Staff = upper \upper \new Staff = lower \lower \layout { } \midi { } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Creating Chorded Notes
Hi, all. I'm trying to write a music function that creates chorded notes. I'm starting simply and I'm stumped. How would I create this simple music expression in a function? a c2 Is there a grob for these? What I'm working on is being able to customize the individual NoteHead and Stem grobs for each note. Thanks, -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Creating Chorded Notes
Sounds like you are also saying that the way I'm going to get this to work is to learn a little scheme. I'm OK with that, I like learning new languages. I like to learn a new one every year or so. It's just that I'm already learning a couple this year. Getting this all to work is a big priority for me so here I go. I'm starting with the Scheme Tutorial in the LM. Then I'll read the Interfaces for programmers chapter in the NR. If that doesn't get me all the way there I'll keep asking questions. Thanks for getting going in the right direction. Having a path to follow makes the journey fun. -Eric On Sat, Jul 12, 2008 at 10:59 AM, Trevor Daniels [EMAIL PROTECTED] wrote: Eric The key to discovering how to do this is \displayMusic. Compile \displayMusic { a c 2 } in LilyPond and the Scheme equivalent is shown in the console log. In this case it is: (make-music 'SequentialMusic 'elements (list (make-music 'EventChord 'elements (list (make-music 'NoteEvent 'duration (ly:make-duration 1 0 1 1) 'pitch (ly:make-pitch -1 5 0)) (make-music 'NoteEvent 'duration (ly:make-duration 1 0 1 1) 'pitch (ly:make-pitch -1 0 0)) Trevor - Original Message - From: Eric Knapp [EMAIL PROTECTED] To: List lilypond-user lilypond-user@gnu.org Sent: Saturday, July 12, 2008 3:36 PM Subject: Creating Chorded Notes Hi, all. I'm trying to write a music function that creates chorded notes. I'm starting simply and I'm stumped. How would I create this simple music expression in a function? a c2 Is there a grob for these? What I'm working on is being able to customize the individual NoteHead and Stem grobs for each note. Thanks, -Eric ___ 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
Custom noteheads and chords
Hello, With the help of a recent thread I have custom noteheads working just the way I want them except for one detail. I would like to have chords where each note in the chord has a different custom notehead. Here's an example. This works and each note has its own custom notehead. { \noteheadOne c \noteheadTwo d } This is a syntax error: { \noteheadOne c \noteheadTwo d 2 } This is not a syntax error but each note has noteheadTwo { \noteheadOne c2 \noteheadTwo e2 } Thanks for the help. -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Special Markup Within Staff?
Hello, I'm trying to use lilypond to do the full notation of my instrument, the Chapman Stick. The one feature that I'm really struggling with are String Markers. The Chapman Stick has lots of strings, 8, 10, or 12, and its notation uses special markers on the staff lines to indicate strings. This is essentially the combination of Staff notation and Tab notation and it is called StaffTab. I have attached a small image that shows the markers. The string markers are the small rectangles above or below the notes. The marker doesn't have to be a rectangle, it could be a short thick line, too. I have tried to implement them with a new Voice with custom noteheads and no stems. This runs into some collision issues with eighth and sixteenth and the barlines. I have spent a few days working on custom noteheads and these string markers. I just can't find a way to add these to a staff. Does anyone have any ideas? Was I on the right track treating them as notes in a voice? Many thanks to the list for all your help. -Eric attachment: StringMarkers.jpg___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Custom noteheads and chords
Music functions? Ah, ha! That may be the answer. I'm embarrassed to say it but I actually teach computer programming at a college and I didn't know about music functions. I think I will be using them a lot now that I have read about them. I can't believe that I haven't stumbled on them before. I will try a bunch of experiments and post my progress. -Eric (the hopeless newbie) On Wed, Jul 9, 2008 at 11:00 PM, Carl Sorensen [EMAIL PROTECTED] wrote: Trevor Daniels t.daniels at treda.co.uk writes: Eric \tweak may be the command you need. Have a look at section 4.1.4 Tweaking methods in the Learning Manual for release 2.11 to see why this is needed and how to use it. The explanation there applies just as well to release 2.10. However, I believe it is not possible to use \tweak in a variable, so this might not be quite the answer you want. You can, however, use \tweak in a music function, can't you? Carl ___ 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: defining custom note heads
Hello, I'm trying to get the second option below to work. This is one where you use markup commands to create the notehead. I can't get the syntax right, could you also provide an example of that? Thanks, -Eric On Tue, Jun 3, 2008 at 10:20 AM, v!ictor [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello Brian, There are two things you need to do to create arbitrary noteheads from within lilypond: 1. change the NoteHead stencil to the text interface: \once \override NoteHead #'stencil = #ly:text-interface::print 2. define the text attribute of the NoteHead. you can put any markup command you want. The easiest thing to do is to simply call a musicglyph, as in the example below. With musicglyph you can use any of the feta font glyphs: http://lilypond.org/doc/v2.11/Documentation/user/lilypond/The-Feta-font#The-Feta-font But you can also draw lines, circles, etc. basically anything you can do in a markup. See http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Text-markup-commands#Text-markup-commands ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: defining custom note heads
I have it working when you define glyphs, like this: headCircle = {\once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = #(markup #:musicglyph scripts.flageolet ) } What I can't get to work is what Victor mentioned but didn't give and example for. Here's what he said, But you can also draw lines, circles, etc. basically anything you can do in a markup. See http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Text-markup-commands#Text-markup-commands; I can't figure out the exact syntax for when you use markup and not a glyph. I would love an example like the one above with markup. Thanks, -Eric On Mon, Jul 7, 2008 at 12:09 PM, James E. Bailey [EMAIL PROTECTED] wrote: On Tue, Jun 3, 2008 at 10:20 AM, v!ictor [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello Brian, There are two things you need to do to create arbitrary noteheads from within lilypond: 1. change the NoteHead stencil to the text interface: \once \override NoteHead #'stencil = #ly:text-interface::print 2. define the text attribute of the NoteHead. you can put any markup command you want. The easiest thing to do is to simply call a musicglyph, as in the example below. With musicglyph you can use any of the feta font glyphs: http://lilypond.org/doc/v2.11/Documentation/user/lilypond/The-Feta-font#The-Feta-font But you can also draw lines, circles, etc. basically anything you can do in a markup. See http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Text-markup-commands#Text-markup-commands Am 07.07.2008 um 18:04 schrieb Eric Knapp: Hello, I'm trying to get the second option below to work. This is one where you use markup commands to create the notehead. I can't get the syntax right, could you also provide an example of that? Thanks, -Eric They work in tandem, not independantly, first, you change the NoteHead stencil to the text interface, (see previous code), then you define the musicglyph that you want to use as a notehead. See http://lsr.dsi.unimi.it/LSR/Item?id=475 (and just as I finish complaining that I can never find anything on the lsr…) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: defining custom note heads
Thanks, Victor! I see the correct syntax now and I have it working. This is really great, I've been trying to do this for a long time. -Eric On Mon, Jul 7, 2008 at 1:23 PM, V!ctor Adán [EMAIL PROTECTED] wrote: Hello Eric, here are a few more examples. The first (headCircle) is the one I had given before. It just calls musicgryph inside a markup. The second (headTriW) just draws a triangle. Notice how you can set the size with the fontsize command. The third (headXinD) combines (with the combine directive) a drawn circle (draw-circle) with a mysicglyph. Notice how halign and lower are used to move things around. Hope these help, Victor. %%% START \version 2.11.50 headCircle = {\once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = #(markup #:musicglyph scripts.flageolet ) } headTriW = {\once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = #(markup #:lower .5 #:fontsize -3 #:triangle #t) } headXinD = { \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = #(markup #:combine #:halign -0.7 #:draw-circle 0.85 0.2 #f #:musicglyph noteheads.s2cross) } \score{ { \relative c' {\headCircle c4. %%% just use musicglyph \headTriW d %%% just draw \headXinD e %%% combine drawing with musicglyph f %%% normal notehead } } } %%% END On Mon, Jul 7, 2008 at 1:46 PM, Eric Knapp [EMAIL PROTECTED] wrote: I have it working when you define glyphs, like this: headCircle = {\once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = #(markup #:musicglyph scripts.flageolet ) } What I can't get to work is what Victor mentioned but didn't give and example for. Here's what he said, But you can also draw lines, circles, etc. basically anything you can do in a markup. See http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Text-markup-commands#Text-markup-commands; I can't figure out the exact syntax for when you use markup and not a glyph. I would love an example like the one above with markup. Thanks, -Eric On Mon, Jul 7, 2008 at 12:09 PM, James E. Bailey [EMAIL PROTECTED] wrote: On Tue, Jun 3, 2008 at 10:20 AM, v!ictor [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello Brian, There are two things you need to do to create arbitrary noteheads from within lilypond: 1. change the NoteHead stencil to the text interface: \once \override NoteHead #'stencil = #ly:text-interface::print 2. define the text attribute of the NoteHead. you can put any markup command you want. The easiest thing to do is to simply call a musicglyph, as in the example below. With musicglyph you can use any of the feta font glyphs: http://lilypond.org/doc/v2.11/Documentation/user/lilypond/The-Feta-font#The-Feta-font But you can also draw lines, circles, etc. basically anything you can do in a markup. See http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Text-markup-commands#Text-markup-commands Am 07.07.2008 um 18:04 schrieb Eric Knapp: Hello, I'm trying to get the second option below to work. This is one where you use markup commands to create the notehead. I can't get the syntax right, could you also provide an example of that? Thanks, -Eric They work in tandem, not independantly, first, you change the NoteHead stencil to the text interface, (see previous code), then you define the musicglyph that you want to use as a notehead. See http://lsr.dsi.unimi.it/LSR/Item?id=475 (and just as I finish complaining that I can never find anything on the lsr…) ___ 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: defining custom note heads
I have one more piece of the puzzle to solve. How do you translate this markup command into scheme? \draw-line #'(4 . 4) Some of the markup commands call for pairs of numbers. I can't find any docs for how the pairs are coded in scheme. Thanks, -Eric On Mon, Jul 7, 2008 at 1:31 PM, Eric Knapp [EMAIL PROTECTED] wrote: Thanks, Victor! I see the correct syntax now and I have it working. This is really great, I've been trying to do this for a long time. -Eric On Mon, Jul 7, 2008 at 1:23 PM, V!ctor Adán [EMAIL PROTECTED] wrote: Hello Eric, here are a few more examples. The first (headCircle) is the one I had given before. It just calls musicgryph inside a markup. The second (headTriW) just draws a triangle. Notice how you can set the size with the fontsize command. The third (headXinD) combines (with the combine directive) a drawn circle (draw-circle) with a mysicglyph. Notice how halign and lower are used to move things around. Hope these help, Victor. %%% START \version 2.11.50 headCircle = {\once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = #(markup #:musicglyph scripts.flageolet ) } headTriW = {\once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = #(markup #:lower .5 #:fontsize -3 #:triangle #t) } headXinD = { \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = #(markup #:combine #:halign -0.7 #:draw-circle 0.85 0.2 #f #:musicglyph noteheads.s2cross) } \score{ { \relative c' {\headCircle c4. %%% just use musicglyph \headTriW d %%% just draw \headXinD e %%% combine drawing with musicglyph f %%% normal notehead } } } %%% END On Mon, Jul 7, 2008 at 1:46 PM, Eric Knapp [EMAIL PROTECTED] wrote: I have it working when you define glyphs, like this: headCircle = {\once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = #(markup #:musicglyph scripts.flageolet ) } What I can't get to work is what Victor mentioned but didn't give and example for. Here's what he said, But you can also draw lines, circles, etc. basically anything you can do in a markup. See http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Text-markup-commands#Text-markup-commands; I can't figure out the exact syntax for when you use markup and not a glyph. I would love an example like the one above with markup. Thanks, -Eric On Mon, Jul 7, 2008 at 12:09 PM, James E. Bailey [EMAIL PROTECTED] wrote: On Tue, Jun 3, 2008 at 10:20 AM, v!ictor [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello Brian, There are two things you need to do to create arbitrary noteheads from within lilypond: 1. change the NoteHead stencil to the text interface: \once \override NoteHead #'stencil = #ly:text-interface::print 2. define the text attribute of the NoteHead. you can put any markup command you want. The easiest thing to do is to simply call a musicglyph, as in the example below. With musicglyph you can use any of the feta font glyphs: http://lilypond.org/doc/v2.11/Documentation/user/lilypond/The-Feta-font#The-Feta-font But you can also draw lines, circles, etc. basically anything you can do in a markup. See http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Text-markup-commands#Text-markup-commands Am 07.07.2008 um 18:04 schrieb Eric Knapp: Hello, I'm trying to get the second option below to work. This is one where you use markup commands to create the notehead. I can't get the syntax right, could you also provide an example of that? Thanks, -Eric They work in tandem, not independantly, first, you change the NoteHead stencil to the text interface, (see previous code), then you define the musicglyph that you want to use as a notehead. See http://lsr.dsi.unimi.it/LSR/Item?id=475 (and just as I finish complaining that I can never find anything on the lsr…) ___ 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: defining custom note heads
Thank you, Neil. That is a very good point and I'm now switching to standard \markup usage. An thanks to everyone who chimed in here. I have been trying to develop a way to notate for my instrument, the Chapman Stick, for a long time. I really made a big leap today. -Eric On Mon, Jul 7, 2008 at 3:06 PM, Neil Puttock [EMAIL PROTECTED] wrote: Hi Eric, 2008/7/7 Eric Knapp [EMAIL PROTECTED]: I have one more piece of the puzzle to solve. How do you translate this markup command into scheme? \draw-line #'(4 . 4) #:draw-line '(4 . 4) or #:draw-line (cons 4 4) Some of the markup commands call for pairs of numbers. I can't find any docs for how the pairs are coded in scheme. '(4 . 4) is a Scheme pair; the hash sign tells LilyPond's parser that there's some Scheme code coming up. There's a short tutorial here, http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Scheme-tutorial#Scheme-tutorial, which explains how Scheme data types are used in LilyPond. BTW, it's an unnecessary complication to use Scheme markup syntax for simple 'text overrides; you'll find it much easier if you stick to LilyPond's standard \markup usage. For example: headXinD = { \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = \markup { \combine \halign #-0.7 \draw-circle #0.85 #0.2 ##f \musicglyph #noteheads.s2cross } } Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond working on Mac OS X 10.5, thanks
Hi, all. I used the excellent instructions from Nicolas Sceaux and was successful in building lilypond 2.11.50 on my new macbook pro. I'm only using it on the command line or with command line utilities and I'm really appreciating the speed. Many thanks to Nicolas and this list for steering me in the right direction. Next I'm trying to get Point and Click to open the editor of my choice. I'm using Apple's Preview application to see the PDF documents with the embedded hyperlinks. I want to open TextMate which has a command line utility. So far I have tried to set the LYEDITOR environment variable but it's not working yet. When clicking on a hyperlink in a PDF document, the graphic PPC version of Lilypond.app is launched. Has anyone gotten this to work on OS X? Is this the right place to ask this or should I be on a dev list? Thanks, -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fingering between notehead and beam?
Thanks, however before asking this list I had read this page and the notation guide and searched the internal reference, and did not find what I want. All the tweaks I thought of would be awkward; for example moving all the fingering positions by a fixed offset could work (1) if I disabling add-stem-support for fingerings worked, and (2) if all my stems were all up or all down. Is it possible to specify an offset that will inverse the Y-offset automatically according to stem direction? The best way would be an excplicit option to place fingerings below beams, but still avoiding collisions with stems. - Mail Original - I'm not sure if this will get precisely what you want, but it should get you on the right track: http://kainhofer.com/~lilypond/Documentation/user/lilypond-learning/Within_002dstaff-objects.html#Within_002dstaff-objects It has to do with placement of objects, including fingerings. I tried all of these while proofreading for the GDP and was able to make them work as shown in the examples, but haven't tried any finer placement. If you come up with tweaks that get exactly the placement you want, please share with the list. I'd like to know how to do this, too. Jon ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Orchestra file template?
Just curious if there's a place to find lilypond templates, particularly one for an orchestra score? I'm having too many errors while trying to program my own layout with partcombine and staffgroup not getting along with one another. Thanks. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Orchestra file causing an init.ly error
Hi, I'm attempting to parse/compile (not sure what you call it for lilypond) an Orchestra score I'm writing but I keep getting this error: /usr/bin/../share/lilypond/2.10.25/ly/init.ly:45:70: error: syntax error, unexpected $end (apply ly:make-book $defaultpaper $defaultheader toplevel-scores))) any words of wisdom? Here's the score forming portion of the lilypond file: \score { % woodwinds \new Staff \partcombine \FlOne %flute1 \FlTwo %flute2 \new Staff \partcombine \ObOne %oboe1 \ObTwo %oboe2 \new Staff \partcombine \ClarOne %clarinet1 \ClarTwo %clarinet2 \new Staff \partcombine \BsnOne %bassoon1 \BsnTwo %bassoon2 %brass \new Staff \partcombine \FrhOne %frenchhorn1 \FrhTwo %frenchhorn2 \FrhThree %frenchhorn3 \FrhFour %frenchhorn4 \new Staff \partcombine \TptOne %bestrumpet1 \TptTwo %bestrumpet2 \new Staff \partcombine \TTrmbOne %tenortromb1 \TTrmbTwo %tenortromb2 \new Staff {\BTrmb %basstromb } \new Staff {\Tuba %tuba } %percussion \new Staff {\Timp %timpani } \new Staff {\Perc %percussioncleff } %harp \new GrandStaff \HrpTop %harptopcleff \HrpBtm %harpbottomcleff %strings \new Staff {\VlnOne %violin1 } \new Staff {\VlnTwo %violin2 } \new Staff {\Vla%viola1 } \new Staff {\Vlc%cello } \new Staff {\Db %doublebass } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Orchestra file causing an init.ly error
Looks like you forgot a } or somewhere. Also, try putting everything inside a GrandStaff or or something like that. Cheers, - Graham Hi Grahm, Whenever I put in a I get an: orchestra.ly:199:0: error: syntax error, unexpected And I did a visual check to make sure all of the {} and are matching throughout the document. Any thoughts? -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user