Re: \transpose not work working inside define-music-function

2015-12-28 Thread David Kastrup
"Phil Holmes" writes: > This was answered yesterday. Please check the list. > > -- > Phil Holmes > > > - Original Message - > From: John Smith > To: lilypond-user@gnu.org > Sent: Saturday, December 26, 2015 11:01 PM > Subject: \tra

Re: \transpose not work working inside define-music-function

2015-12-28 Thread David Kastrup
Wols Lists writes: > On 27/12/15 16:32, J Smith wrote: >> I'm trying to define a music function that transposes a chord and a >> melody multiple times. But for some reason, the transposition is done >> only once. >> >> Here's my attempt: >> >> repeatpattern = >> #(define-music-function (pa

Re: \transpose not work working inside define-music-function

2015-12-28 Thread Phil Holmes
This was answered yesterday. Please check the list. -- Phil Holmes - Original Message - From: John Smith To: lilypond-user@gnu.org Sent: Saturday, December 26, 2015 11:01 PM Subject: \transpose not work working inside define-music-function I'm trying to define a

\transpose not work working inside define-music-function

2015-12-28 Thread John Smith
I'm trying to define a music function that transposes a chord and a melody multiple times.  But for some reason, the transposition is done only once.   Here's my attempt:   repeatpattern = #(define-music-function (parser location chord pattern) (ly:music?  ly:music?)   #{   <<   \new ChordName

Re: \transpose not work working inside define-music-function

2015-12-27 Thread Thomas Morley
2015-12-27 17:32 GMT+01:00 J Smith : > I'm trying to define a music function that transposes a chord and a > melody multiple times. But for some reason, the transposition is done > only once. > > Here's my attempt: > > repeatpattern = > #(define-music-function (parser location chord pattern) (ly:m

Re: \transpose not work working inside define-music-function

2015-12-27 Thread Wols Lists
On 27/12/15 16:32, J Smith wrote: > I'm trying to define a music function that transposes a chord and a > melody multiple times. But for some reason, the transposition is done > only once. > > Here's my attempt: > > repeatpattern = > #(define-music-function (parser location chord pattern) (l

\transpose not work working inside define-music-function

2015-12-27 Thread J Smith
I'm trying to define a music function that transposes a chord and a melody multiple times. But for some reason, the transposition is done only once. Here's my attempt: repeatpattern = #(define-music-function (parser location chord pattern) (ly:music? ly:music?) #{ % << \new ChordNames