parallel-music - no R5RS compliant?

2006-05-13 Thread Bertalan Fodor
Hello, I've found this in the definition of parallelmusic: ;; check sequence length (apply for-each (lambda (. seqs) (let ((moment-reference (ly:music-length (car seqs (for-each (lambda (seq moment) (if (not (e

Re: parallel-music - no R5RS compliant?

2006-05-13 Thread Nicolas Sceaux
Bertalan Fodor <[EMAIL PROTECTED]> writes: > Hello, > > I've found this in the definition of parallelmusic: > > ;; check sequence length > (apply for-each (lambda (. seqs) > (let ((moment-reference (ly:music-length (car seqs > (for-each (lambda

parallel relative music (was Re: Yet Another music macro proposal)

2006-05-13 Thread Nicolas Sceaux
Werner LEMBERG <[EMAIL PROTECTED]> writes: >> Your post just reminded me that I've written a version of \parallelMusic >> with relative mode after a request by Werner (and I forgot about it >> during holidays). > > Aaah! Is this mature enough that you can send it to the list? > > Werner Here

Re: parallel-music - no R5RS compliant?

2006-05-13 Thread Bertalan Fodor
Thanks, it's been got parsed now. Bert I think that I should fix it :-) You're right, I've been lazy, and scheme gets on my nerves sometimes. It should be (lambda* (#:rest seqs) ...), having (use-modules (ice-9 optargs)) before. nicolas ___ lilypon

alignment-extra-space, lyrics

2006-05-13 Thread Nicolas Sceaux
Hi, The result of setting alignment-extra-space to add space between staves in a given system is not satisfying when there are lyrics: /=== |=== |lyrics |=== \=== --> /=== |} space |=== |} space |lyrics |} space |=== |} space \===

system position, extents, space, padding

2006-05-13 Thread Nicolas Sceaux
Hi, I've hacked a very rough page breaking scheme, but I'd like to improve it (it only takes care of padding, not space, and is clueless about how extent really work). Thus, I've a few questions about how are computed systems position on a page, in particular when it comes to consider properties l

Re: alignment-extra-space, lyrics

2006-05-13 Thread Han-Wen Nienhuys
Nicolas Sceaux schreef: Hi, The result of setting alignment-extra-space to add space between staves in a given system is not satisfying when there are lyrics: /=== |=== |lyrics |=== \=== --> /=== |} space |=== |} space |lyrics |} space |===

Re: system position, extents, space, padding

2006-05-13 Thread Han-Wen Nienhuys
Nicolas Sceaux schreef: Hi, I've hacked a very rough page breaking scheme, but I'd like to improve it (it only takes care of padding, not space, and is clueless about how extent really work). Thus, I've a few questions about how are computed systems position on a page, in particular when it come

Re: system-count bugfix

2006-05-13 Thread Han-Wen Nienhuys
Joe Neeman schreef: { Output_def *l = pscore_->layout (); - Real extent = scm_to_double (l->c_variable ("system-height")); + Real extent = robust_scm2double (l->c_variable ("system-height"), 12.0); Real padding = scm_to_double (l->c_variable ("between-system-padding"

Re: implementation plan for music streams

2006-05-13 Thread Han-Wen Nienhuys
Erik Sandberg schreef: I think you can just use Sequential_iterator for that, which you give a SCM list of elements. It will also do the Right Thing if there is a grace note involved. I don't understand. How can I do that without creating a dummy Sequential_music object? see the use of Se

Re: (doc help) quick check on C++ vs. scheme

2006-05-13 Thread Graham Percival
On 11-May-06, at 6:59 AM, Erik Sandberg wrote: On Thursday 11 May 2006 14:22, Graham Percival wrote: From 11.1.2 Internal music representation C++ object: Each music object is represented by a C++ object. For technical reasons, different music objects may be represented by different C++

Implementation of music streams

2006-05-13 Thread Erik Sandberg
On Tuesday 04 April 2006 20:42, Han-Wen Nienhuys wrote: Erik Sandberg wrote: > Hi, > > Here's my plan on how to front-port music streams to the 2.9 branch. > > 1. Implement classes Dispatcher, Stream_event, Listener (move modules > from my thesis fork) > 2. Add dispatchers event_source_, and poss

Plan for implementing music macros

2006-05-13 Thread Erik Sandberg
Hi, Here's an implementation plan for the new layer betw. parser and music expressions (preliminary name "syntax expression"). I know it will take some time before I can start implement it, but it's good to have multiple parallel projects to work on, due to proofreading lag. Implementation plan:

Re: Plan for implementing music macros

2006-05-13 Thread Han-Wen Nienhuys
Erik Sandberg schreef: 5. This should be sufficient. We can now e.g. make \relative a music macro. But how do 'macros' fit in this formalism? How is \relative implemented, then? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Mu

Re: Implementation of music streams

2006-05-13 Thread Han-Wen Nienhuys
Erik Sandberg schreef: On Tuesday 04 April 2006 20:42, Han-Wen Nienhuys wrote: Erik Sandberg wrote: > Hi, > > Here's my plan on how to front-port music streams to the 2.9 branch. > > 1. Implement classes Dispatcher, Stream_event, Listener (move modules > from my thesis fork) > 2. Add dispatchers

Re: system-count bugfix

2006-05-13 Thread Joe Neeman
On Sun, 14 May 2006 02:07, Han-Wen Nienhuys wrote: > Joe Neeman schreef: > > { > >Output_def *l = pscore_->layout (); > > - Real extent = scm_to_double (l->c_variable ("system-height")); > > + Real extent = robust_scm2double (l->c_variable ("system-height"), > > 12.0); Real p

Re: Implementation of music streams

2006-05-13 Thread Erik Sandberg
> This step is now finished, patch attached. You can notice some > additional stuff that has been added as well, which currently is > unused but will be used in future patches. You will notice that this > patch makes lily spit out lots of Junking Event messages, which are > harmless. so I may ap

Re: Implementation of music streams

2006-05-13 Thread Erik Sandberg
On 5/14/06, Erik Sandberg <[EMAIL PROTECTED]> wrote: > > This step is now finished, patch attached. You can notice some > > additional stuff that has been added as well, which currently is > > unused but will be used in future patches. You will notice that this > > patch makes lily spit out lots

Getting the height of a system.

2006-05-13 Thread Joe Neeman
We discussed this a bit a long time ago but I'm getting close to actually implementing something so I thought I'd bring it up again. Getting the Y-extent of a system is potentially destructive, causing all sorts of non-undoable caching and possibly suiciding of grobs. So I need to do make a cop

Bleeding edge documentation

2006-05-13 Thread Graham Percival
New update; http://percival-music.ca/Documentation/ Could people in the know check out 9.3.6 in particular? (\set vs. \override) http://percival-music.ca/Documentation/user/lilypond/_005cset-vs_002e- _005coverride.html Chapter 11 (scheme stuff) has been extensively changed. Is any of the