Re: Diatonic/modal transposition function (John Mandereau)

2009-01-12 Thread John Mandereau
Stefan Thomas a écrit : Dear John, I tried now Your key-diatonic tranposition, but, in the below quoted snippet, it doesn't work. I get the error message: programming error: moving backwards in time Hello Stefan, I can reproduce this error and I get strange output (staves with only the staff

Re: Diatonic/modal transposition function (John Mandereau)

2009-01-05 Thread Stefan Thomas
Dear John, I tried now Your key-diatonic tranposition, but, in the below quoted snippet, it doesn't work. I get the error message: programming error: moving backwards in time Here is the snippet: %% begin %% % \version "2.12.0" \include "intervalle.ly" oberstim

RE: Diatonic/modal transposition function (John Mandereau)

2008-12-29 Thread Nick Payne
/examples/transpose.ly:18:5: Wrong type: (unquote SHARP) Nick > -Original Message- > Behalf Of John Mandereau > Sent: Tuesday, 30 December 2008 07:55 > To: Stefan Thomas > Cc: lilypond-user > Subject: Re: Diatonic/modal transposition function (John Mandereau) > > Le lundi

Re: Diatonic/modal transposition function (John Mandereau)

2008-12-29 Thread John Mandereau
Le lundi 29 décembre 2008 à 12:33 +0100, Tao Cumplido a écrit : > As far as I understand it it works independent from a key signature so > it doesn't matter if the key is in C or not. > > The function says taht you transpose a pattern in a given key for X > steps, so in your example you transpose a

Re: Diatonic/modal transposition function (John Mandereau)

2008-12-29 Thread John Mandereau
Le lundi 29 décembre 2008 à 10:16 +0100, Stefan Thomas a écrit : > Dear John, > I understood now. You have a note 0 in c major and in a minor, which > is a c. The most meaningful I think is that c major and a minor define the same major scale in LilyPond, only the tonic (c or a, respectively) diff

Re: Diatonic/modal transposition function (John Mandereau)

2008-12-29 Thread Tao Cumplido
:29 +0100 > Von: "Stefan Thomas" > An: lilypond-user , john.mander...@gmail.com > Betreff: Re: Diatonic/modal transposition function (John Mandereau) > Dear John, > I understood now. You have a note 0 in c major and in a minor, which > is a c. In my opinion it wo

Re: Diatonic/modal transposition function (John Mandereau)

2008-12-29 Thread Stefan Thomas
Dear John, I understood now. You have a note 0 in c major and in a minor, which is a c. In my opinion it would be better to understand for a musician, if You could use the intervall-names. I suggest something like: diatonicfourthup= #(define-music-function (parser location x) (ly:music?) #{ $x \d

Re: Diatonic/modal transposition function (John Mandereau)

2008-12-29 Thread Stefan Thomas
Dear John, many thanks for Your fantastic macro! There is only one thing, I don't understand. I tried to transpose to a minor. Why does it, in the below quoted example, start with d? The first note should be a, I assume. pattern = \relative c' { c2~ c8 d16 e f g a b c4 g e c } \new Staff { \pat