Dear David, when I do \multitranspose c << e g c >> {c4 d e f g1 }
I get test.ly:4:53: warning: this Voice needs a \voiceXx or \shiftXx setting Maybee, it has to do, that I have version 2.22.2 It works with \multitranspose c {c' d' e' f' g'1 } {<e g c'> } but all notes have the same duration. Am Di., 30. Juli 2024 um 13:40 Uhr schrieb David Kastrup <d...@gnu.org>: > Stefan Thomas <kontrapunktste...@gmail.com> writes: > > > With your help, I was able to create a function that can generate > sequences > > of a motif in a simple way: > > > >> multitranspose = > >> #(define-music-function (initton seq motiv ) (ly:pitch? ly:music? > >> ly:music? ) > >> (music-clone seq 'elements > >> (map (lambda (p) #{ \transpose $initton #(ly:music-property p 'pitch > ) > >> $motiv #}) > >> (ly:music-property seq 'elements)))) > > > > Instead of having several transpositions of a tone sequence follow one > > another, I would like to have the option of having them sound > > simultaneously, as a mixture. > > I would like to have the possibility to do something like: > > \multitranspose c'' {e' g' c''} {c''4 d'' e'' f'' g''1 } > > With the result: > > <e g c' >4 <fis a d' > <gis b e' > <a c' f' > <b d'' g'' >1 > > Have you tried just entering > > \multitranspose << e' g' c'' >> {c''4 d'' e'' f'' g''1 } > > ? > > It would appear like the function is already prepared for dealing with > that functionality. > > -- > David Kastrup >