Re: Expansion of score for different format

2013-05-10 Thread Carl Peterson
Sorry about that, read the first part of what you provided, not all. I just figured it out. I was essentially outputting sequentially instead of simultaneously. I didn't figure it out until I added about two or three copies of the music to run the lyrics out. The stripped-down function is: seqVe

Re: Expansion of score for different format

2013-05-10 Thread David Kastrup
Carl Peterson writes: > I've made a little bit of progress: I've changed the code to: > > #(define > (make-my-scores parser location lyrics) > (if (not (null? lyrics)) > #{ $(car lyrics) > $(make-my-scores parser location (cdr lyrics)) > #} > ) > ) Looks like you could just write #(define (make

Re: Expansion of score for different format

2013-05-10 Thread Jay Anderson
On Fri, May 10, 2013 at 8:44 PM, Carl Peterson wrote: > Premature sending... > > As I was saying, the problem with the below code is that it prints the first > verse, but it only prints the first verse. I also simplified the code so > that instead of just passing lyrics in the list structure, each

Re: Expansion of score for different format

2013-05-10 Thread Carl Peterson
Premature sending... As I was saying, the problem with the below code is that it prints the first verse, but it only prints the first verse. I also simplified the code so that instead of just passing lyrics in the list structure, each list element is one or more Lyrics blocks. On Fri, May 10, 20

Re: Expansion of score for different format

2013-05-10 Thread Carl Peterson
I've made a little bit of progress: I've changed the code to: #(define (make-my-scores parser location lyrics) (if (not (null? lyrics)) #{ $(car lyrics) $(make-my-scores parser location (cdr lyrics)) #} ) ) seqVerses = #(define-void-function (parser location up down title composer passage meter

Re: Expansion of score for different format

2013-05-10 Thread Carl Peterson
Okay, so I've been fairly successful in implementing and tweaking. I'm working on the complementary function, to output a regular score with stacked verses for book layout. Here is my re-arrangement: #(define (make-my-scores parser location lyrics) (if (not (null? lyrics)) (let* ( #{ \new Lyrics

Re: Expansion of score for different format

2013-05-08 Thread Jay Anderson
On Wed, May 8, 2013 at 12:27 PM, Carl Peterson wrote: > If something doesn't already exist, I suppose the question would be whether > there's a way to accomplish this by Scheme? Yes, I do something similar. This might help get you started: \version "2.17.

Expansion of score for different format

2013-05-08 Thread Carl Peterson
All, I'm 95% sure the answer to my question is "no," but I'll ask it anyway. I'm working on a psalter, and one of the things I want to be able to do is go from a standard book layout with all the verses arranged in parallel to a screen layout for projection with each verse listed sequentially. I