Re: Writing score definition in Scheme

2018-03-27 Thread Urs Liska
Am 26.03.2018 um 18:36 schrieb Jan-Peter Voigt: OK here's a short hint created with the help of displayMusic: % a dummy definition of create-staff #(define (get-staff what)    (make-music 'ContextSpeccedMusic 'create-new #t 'property-operations '() 'context-type 'Staff 'ele

Re: Writing score definition in Scheme

2018-03-26 Thread Jan-Peter Voigt
OK here's a short hint created with the help of displayMusic: % a dummy definition of create-staff #(define (get-staff what) (make-music 'ContextSpeccedMusic 'create-new #t 'property-operations '() 'context-type 'Staff 'element #{ c''4 #})) % a scheme representation of \ne

Re: Writing score definition in Scheme

2018-03-26 Thread Urs Liska
Am 26. März 2018 15:35:42 MESZ schrieb Jan-Peter Voigt : >Hi Urs, > >I assume you know to build the music-expression for the score in >scheme. No, not really. I can replace \score {} with (ly:make-score) but that doesn't really help me. I have no idea how to map the nesting of the parallel cont

Re: Writing score definition in Scheme

2018-03-26 Thread Jan-Peter Voigt
Hi Urs, I assume you know to build the music-expression for the score in scheme. With that you can make use of #(scorify-music mymusic). That creates a score object *and* creates the necessary music for << \\ >> constructs an thew like. If you don't need that you can simply use #(ly:make-score

Writing score definition in Scheme

2018-03-26 Thread Urs Liska
Hi all, I'm embarrassed to admit I don't know where to start looking in the manuals. I have a scheme-function that returns a \score expression, and I'm sure I wouldn't have to hop around between LilyPond and Scheme syntax like this: make-score = #(define-scheme-function (movement-path)(symb