March 7Mar 7 How should I write the layout in def-score to notate a four-part chorale on two piano systems, see attachment?(The layout documentation has no explicit description about, how to notate more than one voice in one system.)Thanks for help. Achim
March 7Mar 7 With voice notation like: (z^q c4 q d4) but I don't know where is the documentation in the system... Janusz ?
March 7Mar 7 Can't you use merge-voices?From the doc:(setf voice1 '(w c2) voice2 '(h c4 d4) voice3 '(q g5 g5 g5 g5))(merge-voices voice1 voice2 voice3)=>(z^w c2 z^h c4 q g5 g5 z^h d4 q g5 g5)Jesper
March 9Mar 9 Author This was actually my question: How do I do it in layout? The documentation is not clear about it. I remember Janusz implemented it for one of my pieces, but this code is not working anymore.In the docs there is an example like this:(piano-layout '(right-hand-1 right-hand-2) 'left-hand))I tried this, but it didn't work:(piano-layout '(right-hand-1 right-hand-2) '(left-hand-1 left-hand-2))Could you give me a hint how to write this correctly?Thanks, Achim
March 9Mar 9 ;;;--------------------------------------------------------- ;;; Parameters (setf voice1 '((q c5 d5 e5 f5)(h g5))) (setf voice2 '((q g4 b4 c5 c5)(h c5))) (setf voice3 '((q e4 g4 g4 a4)(h g4))) (setf voice4 '((q c3 g3 c3 f3)(h e3))) (setf piano-rh1 voice1) (setf piano-rh2 voice2) (setf piano-lh1 voice3) (setf piano-lh2 voice4) ;;;--------------------------------------------------------- ;;; Score and Layout (def-score piano (:title "Title" :composer "Composer Name" :copyright "Copyright © " :key-signature 'chromatic :time-signature '((1 1 1 1) 4) :tempo 100 :layout (piano-solo-layout '(piano-rh1 piano-rh2) '(piano-lh1 piano-lh2)) ) (piano-rh1 :omn piano-rh1 :channel 1 :sound 'gm :program 'acoustic-grand-piano :volume 100 :pan 64 :controllers (91 '(48)) ) (piano-rh2 :omn piano-rh2 :channel 1 :sound 'gm :program 'acoustic-grand-piano :volume 100 :pan 64 :controllers (91 '(48)) ) (piano-lh1 :omn piano-lh1 :channel 2 :controllers (91 '(48)) ) (piano-lh2 :omn piano-lh2 :channel 2 :controllers (91 '(48)) ) )
March 9Mar 9 Author Thanks a lot. I didn't know that this is only working with the piano-solo-layout.Best, Achim
March 9Mar 9 Works with piano-layout as well. This method can be applied to any instrument if you need to create 2 voice instrument.(list in1 in2)
Create an account or sign in to comment