lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamically outputting \books


From: Morten Lemvigh
Subject: Dynamically outputting \books
Date: Thu, 10 Nov 2016 20:36:11 +0100

Hi,

I am trying to create a procedure to create rehearsal midi files for each voice of a choir piece. In order to do that I need to be able to dynamically create \book blocks (one for each voice). Is that possible? I have tried to have a music function output it like:

rehearsalMidi =
#(define-music-function
  (parser location)
  ()   
    #{ \book { .. }  #})

but that gives me an error:

music function cannot return #<Book>


Is there some way to dynamically create book blocks?

Thanks,
Morten

reply via email to

[Prev in Thread] Current Thread [Next in Thread]