Re: Object hierarchy in LilyPond?
On Monday 08 May 2006 19:30, Arjan Bos wrote: On 6 mei 2006, at 21:20, Mats Bengtsson wrote: Quoting Erik Sandberg [EMAIL PROTECTED]: On Tuesday 02 May 2006 09:06, Tomas Valusek wrote: Or the context hierarchy or which engravers are included in each context or which objects are created by which engraver (or context) or ... What I would like to see is a model of all the data being used within LilyPond, There's a lot of data used in lily. It would require quite some effort to build the model you're suggesting, and someone would need to maintain the model (which is changing all the time). I think all the current developers have better things to do, but I nothing stops you from writing such documentation. -- Erik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Object hierarchy in LilyPond?
-Oorspronkelijk bericht- Van:Simon Dahlbacka On 5/10/06, Erik Sandberg [EMAIL PROTECTED] wrote: There's a lot of data used in lily. It would require quite some effort to build the model you're suggesting, and someone would need to maintain the model (which is changing all the time). I think all the current developers have better things to do, but I nothing stops you from writing such documentation. the only sane way to do such a thing would be to auto-generate the data by parsing the source or something so it would be updated with the click of a button. Personally, I don't have the extra time to build such a scraping tool.. There is no need to write one. I got myself the lily source of cvs and downloaded Doxygen. This creates lots of nice graphs and object hierarchies from the .cc and .hh files. It also shows links between and even definitions of the classes. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Object hierarchy in LilyPond?
On Wednesday 10 May 2006 08:11, Simon Dahlbacka wrote: On 5/10/06, Erik Sandberg [EMAIL PROTECTED] wrote: On Monday 08 May 2006 19:30, Arjan Bos wrote: On 6 mei 2006, at 21:20, Mats Bengtsson wrote: Quoting Erik Sandberg [EMAIL PROTECTED]: On Tuesday 02 May 2006 09:06, Tomas Valusek wrote: Or the context hierarchy or which engravers are included in each context or which objects are created by which engraver (or context) or ... What I would like to see is a model of all the data being used within LilyPond, There's a lot of data used in lily. It would require quite some effort to build the model you're suggesting, and someone would need to maintain the model (which is changing all the time). I think all the current developers have better things to do, but I nothing stops you from writing such documentation. the only sane way to do such a thing would be to auto-generate the data by parsing the source or something so it would be updated with the click of a button. Personally, I don't have the extra time to build such a scraping tool.. Such documentation exists, see Program Reference in the manual. -- Erik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Arpeggio too short
The arpeggio squiggle on the chord in the snippet below is really short: \version 2.8.1 \score { a'' g'' d''4\arpeggio } I presume this is intentional and not a bug, but is there any way I can make the arpeggio longer without an ugly tweak (such as adding another note to the chord and then hiding it)? The arpeggio squiggle is also too close to objects on the left, but I think that may have been discussed before. Colin -- View this message in context: http://www.nabble.com/Arpeggio-too-short-t1590055.html#a4315176 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Arpeggio too short
I've sorted out the second issue - arpeggio too close to objects on the left - myself: \version 2.8.1 \layout { \context { \Staff \override Arpeggio #'padding = #'4.0 \override Arpeggio #'extra-offset = #'(3.0 . 0.0) } } \score { a'' g'' d''4\arpeggio } (Padding exaggerated to demonstrate effect) I still can't work out how to make the squiggle longer, though. Colin Colin Wilding wrote: The arpeggio squiggle on the chord in the snippet below is really short: \version 2.8.1 \score { a'' g'' d''4\arpeggio } I presume this is intentional and not a bug, but is there any way I can make the arpeggio longer without an ugly tweak (such as adding another note to the chord and then hiding it)? The arpeggio squiggle is also too close to objects on the left, but I think that may have been discussed before. Colin -- View this message in context: http://www.nabble.com/Arpeggio-too-short-t1590055.html#a4315422 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Arpeggio too short
Here's how I could lengthen the arpeggio squiggle using an ugly tweak: \score { \notemode { \once \override Stem #'length = #'2.2 a'' g'' d'' \tweak #'transparent ##t a'4\arpeggio } } Hardly ideal, though, as it has to be done on every arpeggio and it affects the midi output. Can anyone suggest a better way? I've tried using something like \override Arpeggio #'length = #'4.0. This does not generate an error but it has no effect. Colin Colin Wilding wrote: I've sorted out the second issue - arpeggio too close to objects on the left - myself: \version 2.8.1 \layout { \context { \Staff \override Arpeggio #'padding = #'4.0 \override Arpeggio #'extra-offset = #'(3.0 . 0.0) } } \score { a'' g'' d''4\arpeggio } (Padding exaggerated to demonstrate effect) I still can't work out how to make the squiggle longer, though. Colin Colin Wilding wrote: The arpeggio squiggle on the chord in the snippet below is really short: \version 2.8.1 \score { a'' g'' d''4\arpeggio } I presume this is intentional and not a bug, but is there any way I can make the arpeggio longer without an ugly tweak (such as adding another note to the chord and then hiding it)? The arpeggio squiggle is also too close to objects on the left, but I think that may have been discussed before. Colin -- View this message in context: http://www.nabble.com/Arpeggio-too-short-t1590055.html#a4318861 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: I'm having problem coloring notes
It is not allowed to use the override command within a chord; if you're working with lilypond 2.8, you can use the tweak command. Your example will work this way: bes \tweak #'color #blue g4 The old pre-tweak way would have been to create the chord with different voices and line up the notes manually into a chord. Using: \override NoteColumn #'force-hshift = #0.0 within different polyphonic lines. Stephen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: followvoice for other staffs besides piano?
Yes, it is. Try this: \version 2.8.1 \score { \new ChoirStaff \with { followVoice = ##t } \new Staff = tenor { a''4 b'' c'' d'' \voiceOne a''4 b'' c'' d'' \oneVoice a''4 b'' c'' d'' } \new Staff = bass { a'4 b' c' d' \change Staff = tenor \voiceTwo e' f' g' a' \change Staff = bass \oneVoice a'4 b' c' d' } } Colin jimmy2 wrote: I would like to put a voice following indication between two staffs of a choral piece, e.g. from the tenor to the bass part. Is it possible to get a marking like the one from \set followVoice = ##t when I am using 4 staffs? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- View this message in context: http://www.nabble.com/followvoice-for-other-staffs-besides-piano--t1584237.html#a4319653 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Object hierarchy in LilyPond?
Quoting arjan.bos [EMAIL PROTECTED]: -Oorspronkelijk bericht- Van:Simon Dahlbacka On 5/10/06, Erik Sandberg [EMAIL PROTECTED] wrote: There's a lot of data used in lily. It would require quite some effort to build the model you're suggesting, and someone would need to maintain the model (which is changing all the time). I think all the current developers have better things to do, but I nothing stops you from writing such documentation. the only sane way to do such a thing would be to auto-generate the data by parsing the source or something so it would be updated with the click of a button. Personally, I don't have the extra time to build such a scraping tool.. There is no need to write one. I got myself the lily source of cvs and downloaded Doxygen. This creates lots of nice graphs and object hierarchies from the .cc and .hh files. It also shows links between and even definitions of the classes. Unfortunately, you won't get very wise if you only look at the C++ class structure, since lots of the implementation is done in Scheme. This whole thread is getting very confused, since some people talk about implementation structure, whereas others talk about the context/layout object structure that the user sees when he wants to set a property. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Arpeggio too short
2006/5/10, Colin Wilding [EMAIL PROTECTED]: Hardly ideal, though, as it has to be done on every arpeggio and it affectsthe midi output.Can anyone suggest a better way?I can add a sponsored feature for that, if you like; a small one (40 EUR) -- Han-Wen Nienhuys[EMAIL PROTECTED]http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
lilypond-book
I've having trouble using lilypond-book. I'm a brand new lilypond user - I just installed it two days ago for the first time. I can use lilypond just fine, but I haven't been able to figure out how to use lilypond-book. I'm running Windows XP and lilypond 2.8.0.1. I've read through the tutorial section on lilypond-book and the user manual section on it (although I didn't see any difference between them). I've tried different options. I've read through the mailing list archive - not much help for a complete newbie. And, I still haven't been able to get it to work. Overall, I think lilypond is awesome. My brother is a musician getting his masters/doctorate. He's home for the summer and I fully intend on getting him hooked on this program. But, I want to get lilypond-book to work first. I would appreciate any pointers anyone can give me. ~bubba ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: (semi-OT) making tabloid-sized booklets
After a few hours of frustration, I've succeeded in making tabloid-sized music booklets (ie print music on a tabloid sheet, fold in half, and you get a booklet with letter-sized pages). In case anybody else is interested in this (either immediately or when they're searching the archives and/or google in a few months), here's how to do it: (use lilypond, lilypond-book, whatever; produce a .ps) psbook example.ps book.ps psnup -2 -ptabloid -Pletter example.ps tabbook.ps ps2pdf -sPAPERSIZE=11x17 tabbook.ps tabbook.pdf I found the basic usage of psbook/psnup in five minutes, but it took me a few hours to figure out that psnup -ptabloid (and also psresize ) does _NOT_ adjust the BoundayBox in the output.ps file. (ie tabbook.ps in this example). (this is with psutils 1.17-2 in fink) If you look at tabbook.ps with a postscript viewer like gv, you'll only see a letter-sized portion of the tabloid-sized music, and a simple ps2pdf tabbook.ps tabbook.pdf will produce a similar letter-sized portion of the tabloid-sized music. Anyway, as long as you specify the -sPAPERSIZE with ps2pdf, all is well. You can also chain the above commands together into a shell script: #!/bin/sh psbook $1.ps | psnup -2 -ptabloid -Pletter | ps2pdf -sPAPERSIZE=11x17 - tab-$1.pdf Hope this helps somebody, - Graham This does in fact help tremendously, thanks! I'm preparing a score and parts for a performance next week, and these instructions have been invaluable. However, they don't work out-of-the-box anymore! With psutils 1.17 just like you, and Lilypond 2.7.30, running pstobook|psnup|ps2pdf produced output where each logical page was apperently centered on the edge of the output page: half cut-off. Producing a PS via lilypond --pdf and pdftops produced proper output. I know that people have been talking about Lilypond's postscript output for a while (I applied John Hawkinson's patch to print on 9x12 paper as required by my orchestra), and I wonder if anybody's interested in rooting out what's going on. (Postscript scares me a bit.) -Christian Conkle ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user