> nostaffmidi =
> #(define-scheme-function () ()
>    (if TrackPerVoice #{ \context { \Staff \remove "Staff_performer" } #}))


Ah, that proves me wrong. I didn't recall the parser was smart enough for this.


> Although, I don't understand why the contents of the scheme functions cannot 
> be placed directly into the midi block like this
> 
> \midi {
>   #(if TrackPerVoice #{ \context { \Staff \remove "Staff_performer" } #})
>   #(if TrackPerVoice #{ \context { \Voice \consists "Staff_performer" } #})
> }


It works with $ instead of # , as explained in my other post.


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to