Chord tremolos
In the following example, why do the unfolded repeats fit into the first two bars, but I get "barcheck failed" errors for the third and fourth bars with tremolo repeats? (18+6)*2 / 32 = 12/8 ? \version "1.7.30" \score { \context Voice \notes \relative c { \time 12/8 \repeat "unfold" 18 { c'32 f32 } \repeat "unfold" 6 { b32 e32 } | \repeat "unfold" 18 { c,32 f32 } \repeat "unfold" 6 { b32 e32 } | \repeat "tremolo" 18 { c,32 f32 } \repeat "tremolo" 6 { b32 e32 } | \repeat "tremolo" 18 { c,32 f32 } \repeat "tremolo" 6 { b32 e32 } | } } -- chris ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: some problems
Stefaan Himpe wrote: >> 3) it seems that notes from different voices cannot be tied together. >> Is this an inherent restriction of Lilypond or a bug ? Is there a >> reason for this? IIRC I saw mentioned somewhere that slurs need >> to remain within one voice, but is this also true for ties? And >> why? Yes. A "voice" is considered as an independent line of music played by one instrument. If you want the instrument to change on the second of two tied notes, then that should be considered as a separate voice. If you don't want the instrument to change, then you are logically remaining in the same voice. If you really want to typeset notes in different voices as tied, for example to give the effect of a seamless transition between voices, you might be able to fake it by duplicating the same note in each voice, and making the note head and stem invisible in one of the voices. See, for example, the "blank notes" trick: http://lilypond.org/doc/v1.8/input/test/out-www/lily-103844006.ly -- chris ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Cygwin dll oddness
I'm trying to install the latest Cygwin binary (1.7.29-11) from one of the official Cygwin mirrors. After installing, running lilypond --help (or --anything) fails with a dialog error box with the following message. "The procedure entry point __getreent could not be located in the dynamic link library cygwin1.dll" I've tried hosing my entire Cygwin directory and reinstalling from scratch, but still get this message. Anyone know what this is a symptom of? Also tried installing from the lilypond.org mirror, but same problem. Incidentally, downloading the package index from the lilypond.org mirror gives another error box, containing (null) line 25: syntax error, unexpected STRING, expecting NL (null) line 25: unrecognised line 25 (do you have the latest setup) -- chris ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: can't get a foot in
Lance <[EMAIL PROTECTED]> wrote: > Hello. My name is Lance and I'm a composer and pianist living is > Australia. I've been messing around with trying to set up something > with 'Lilypond' but just can't get past first base. I'm not a > computer wizard but neither am I a total buffoon. I downloaded > everything on the 'setup.exe' on the Lilypond stable site and wound > up with something working in DOS that I couldn't fathom. Hi Lance, Are you working through the instructions on http://lilypond.org/stable/Documentation/windows/out-www/installing.html If so, it might be more helpful if you let us know exactly where you've got stuck. I guess somewhere in the "Testing Lilypond" section? You'll have to get used to working with the command-line I'm afraid! The basic process is - create your score file using a text editor, like Notepad. - go to the command-line, navigate to the directory where you saved the score file. Run the ly2dvi command to make the output file. - have a look at the output, using a Postscript or PDF file reader. But I appreciate that there's many hitches for newbies in these three fundamental steps! > Surely there must be an easier step by step approach to the setting > up of this program. I'd love to use it for the publishing of a book > of piano works that is almost ready to start typesetting and am sure > that I could be a constructive member of the Lilypond community given > the chance to get passed the technical gobbledygook. > > Just drowning at the moment. Can somebody get me started. As I understand it, the website is in the process of being rewritten, and will be released with the imminent next version of lilypond. This is likely to be more friendly to newbies who are getting started on Windows. Bear in mind that the developers are almost all Linux users. Stick with it - it's a great program - your experiences might help produce better documentation! As another pianist and composer I can confirm that the learning curve is worth it. -- Chris ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
unbeamed quavers
I want to use manual beaming to indicate that quavers are beamed by default, but occasionally some quavers are non-beamed, like so. \version "1.7.21" \score { < \notes \relative c'' {a8 b c b [a] [b] [c d]} > \paper { } } But this produces ugly warnings about the beam having less than two stems. Are these warnings necessary, or are [ ] not supposed to be used like that, or should I be setting the automatic beaming properties instead? -- Chris ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Centering text spanners under a note
Maurizio Tomasi wrote: I am typesetting an old edition of Mozart quartets, and sometimes dynamics appear in parentheses. I manage to write these with --- \score { \context Staff { \notes \relative c' { c1_#'(columns (large "(") (dynamic "p") (large ")")) } } } --- but the "(p)" string is not rightly centered above the note (it is a bit at the right because of the parentheses). I tried with the "edge-text" of the Text Spanner grob, but without success (brackets are not shown at all): That's because it's not a text spanner - it's a text script. You could use the extra-offset property to fiddle the horizontal position - the following produces an approximately centered (p) for me: \score { \context Staff { \notes \relative c' { \property Voice.TextScript \override #'extra-offset = #'(-0.7 . 0) c1_#'(columns (large "(") (dynamic "p") (large ")")) } } } To create a text spanner see Expressive marks->Text spanners in the manual. -- chris ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Can't get the thing to compile...
Alexandre Aractingi wrote: ... actually I can't get past the ./configure stage... I am using a Mandrake 9.0 Linux distribution, and I have tetex, python and libpython-devel installed (from Mandrake packages). I downloaded Lilypond 1.6.6, but ./configure says : ERROR: Please install required programs: python.h (python-devel, python-dev or libpython-dev package) Did you remember to remove config.cache before rerunning ./configure? Now if I try to do the same with 1.7.4, everything is ok regarding Python, but it says I need guile-config 1.6, which I only have in version 1.4. So what do you think, do I really have to install guile 1.6 to get the thing compiled, or does somebody know a quick workaround to make 1.6.6 compile properly? Should be no problems with building 1.6 from source and putting it in /usr/local. However as you're running Mandrake 9.0, even after you've got configure to run, you might run into problems doing the compile. This distro has a buggy version of flex which generates code which is not recognised by gcc 3.2. See past threads on this list: http://mail.gnu.org/pipermail/lilypond-user/2002-October/002916.html describes a workaround (I haven't tried this myself). -- chris ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: How to lengthen the arpeggio...
Minh A. Hoang wrote: ...so that the arpeggio grob would cover the whole staff vertically (and over the other voices as well). You might be able to do something like this, which adds invisible notes that are spanned by the arpeggio: blanknotes = { \property Thread.NoteHead \override #'transparent = ##t \property Thread.Stem \override #'transparent = ##t } \score { \notes \relative c' \context Voice { } > } } The stem length also needs shortening here, but you get the general idea. -- chris ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Fwd: 8va
Jule Slootbeek wrote: >> >> in the meantime i found TextSpanners, but it gives me this error: >> >> Parsing... >> /Users/jslootbe/musc220/ass4/ass4.ly:16:27: error: parse error: >> [bes'! bes,!]\spanrequest >> \start "text" [b'! b,!] >> [bes'! bes,!] \spanrequest \stop "text" >> >> /Users/jslootbe/musc220/ass4/ass4.ly:16:78: error: parse error: >> [bes'! bes,!]\spanrequest \start "text" [b'! b,!] >> [bes'! bes,!] \spanrequest >> >> \stop "text" > Try putting the \spanrequests inside the square brackets, immediately after the note you want it attached to: [ b'! \spanrequest \start "text" b,!] [bes'! bes,! \spanrequest \stop "text" ] or [bes'! bes,! \spanrequest \start "text" ] [b'! b,!] [bes'! bes,! \spanrequest \stop "text" ] Or alternatively use \commandspanrequest instead of \spanrequest, but I'm not sure how the internals work here. -- chris ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Multi-measure rests
It doesn't seem to be possible to attach articulations to multi-measure rests. Is this by design? Although it is possible to work around this by using skips. \score { \notes { \time 3/4 R2.^"Allegro" | | r2.^"Allegro" } } ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: other_brackets
On Sat, Jun 29, 2002 at 12:25:32PM +, David Bobroff wrote: > I asked a question some time ago about bracketing some notes but never got > a suggestion. I'm not talking about the same kind of brackteing as the > recent bracket thread. What I would like to do is something like this: > > ____ > | * * * * | > | | | | || > | | | | || > | | | | || > | | | | || > | ---| > |__ --- __| > > I want the bracket to extend above and below the group of notes in > question. I want a large version of '[ ]' and not '( )'. Currently it is possible to use \arpeggio to draw a bracket to group together the set of note heads in a chord - see the Piano Music->Arpeggio section of the development version reference manual. (CC'd to lilypond-devel...) If you apply the patch below to the latest CVS version of lilypond, then you'll be able to extend the bottom of the bracket to embrace the stems as well. This is done by modifying the 'shorten-pair' property of these fake arpeggios. Then you can achieve the above using something like... \score { \notes \relative c'' { \property Staff.Arpeggio \override #'molecule-callback = \arpeggioBracket \property Staff.Arpeggio \override #'shorten-pair = #'(0.0 . -3.0) [ e16 \arpeggio e e \property Staff.Arpeggio \override #'direction = #1 e \arpeggio ] } } -- chris Index: ChangeLog === RCS file: /home/lilypond/lilypond/ChangeLog,v retrieving revision 1.250 diff -p -u -r1.250 ChangeLog --- ChangeLog 30 Jun 2002 15:17:11 - 1.250 +++ ChangeLog 30 Jun 2002 16:47:39 - @@ -1,3 +1,8 @@ +2002-06-30 Chris Jackson <[EMAIL PROTECTED]> + + * lily/arpeggio.cc: shorten-pair property added to 'arpeggio' + vertical brackets. direction property mirrors the bracket on the + right of the notes. + 2002-06-30 Jan Nieuwenhuizen <[EMAIL PROTECTED]> * lily/grob.cc (mark_smob): don't mark parents, explain why. Index: lily/arpeggio.cc === RCS file: /home/lilypond/lilypond/lily/arpeggio.cc,v retrieving revision 1.16 diff -p -u -r1.16 arpeggio.cc --- lily/arpeggio.cc10 Apr 2002 17:25:35 - 1.16 +++ lily/arpeggio.cc30 Jun 2002 16:47:40 - @@ -17,7 +17,6 @@ #include "font-interface.hh" #include "lookup.hh" - MAKE_SCHEME_CALLBACK (Arpeggio, brew_molecule, 1); SCM Arpeggio::brew_molecule (SCM smob) @@ -89,7 +88,7 @@ Arpeggio::brew_molecule (SCM smob) return mol.smobbed_copy () ; } -/* Draws a vertical bracket to the left of a chord +/* Draws a vertical bracket to the left or right of a chord Chris Jackson <[EMAIL PROTECTED]> */ MAKE_SCHEME_CALLBACK (Arpeggio, brew_chord_bracket, 1); @@ -119,10 +118,19 @@ Arpeggio::brew_chord_bracket (SCM smob) } Real lt = me->paper_l ()->get_var ("linethickness"); - Real sp = 1.5 * Staff_symbol_referencer::staff_space (me); - Real dy = heads.length() + sp; - Real x = 0.7; - + Drul_array sp; + SCM s = me->get_grob_property ("shorten-pair"); + Real pad = 1.5 * Staff_symbol_referencer::staff_space (me); + sp[UP] = sp[DOWN] = 0.0; + if (gh_pair_p(s)) { +sp[UP] += gh_scm2double (ly_car (s)); +sp[DOWN] += gh_scm2double (ly_cdr (s)); + } + + Real dy = heads.length() + pad - sp[UP] - sp[DOWN]; + int dir = to_dir (me->get_grob_property ("direction")); + Real x = 0.7 * (- dir); + Molecule l1 = Lookup::line (lt, Offset(0, 0), Offset (0, dy)); Molecule bottom = Lookup::line (lt, Offset(0, 0), Offset (x, 0)); Molecule top= Lookup::line (lt, Offset(0, dy), Offset (x, dy)); @@ -130,7 +138,9 @@ Arpeggio::brew_chord_bracket (SCM smob) mol.add_molecule (l1); mol.add_molecule (bottom); mol.add_molecule (top); - mol.translate_axis (heads[LEFT] - sp/2.0, Y_AXIS); + mol.translate_axis (heads[LEFT] - pad/2.0 + sp[DOWN], Y_AXIS); + if (dir == 1) +mol.translate_axis (-x, X_AXIS); return mol.smobbed_copy(); } ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Chord spanning two staffs
On Thu, Apr 11, 2002 at 09:11:05AM +, David Raleigh Arnold wrote: > Chris Jackson wrote: > > > I'm happy with automatic and manual staff changes for voices in piano > > staffs, but is it possible to typeset a single chord, with notes on both > > staffs, whose stem spans the two staffs? > > > How is that not just a matter of increasing the stem length on > one of the staves? Sometimes when there are multiple voices, the stems of the two chords aren't exactly aligned vertically, because head collisions force one of the chords to be shifted sideways. So I might have to find out how to add bits of extra horizontal space, or force them to be aligned vertically some other way. -- chris ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Chord spanning two staffs
I'm happy with automatic and manual staff changes for voices in piano staffs, but is it possible to typeset a single chord, with notes on both staffs, whose stem spans the two staffs? -- chris ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user