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

2008-12-30 Thread Hans Aberg
On 30 Dec 2008, at 03:08, Graham Breed wrote: Right, that's how it looked to me. If it doesn't assume equal temperament it should work generally. But I haven't tested it. Note that I discovered it is possible to get more than 7 scale steps to the octave (see the development list). So this wo

Re: Diatonic/modal transposition function

2008-12-29 Thread Graham Breed
2008/12/29 John Mandereau : > This work is not synced at all with Graham's work, but it tries not to > naively assume any temperament; in current state it only works with > 7-notes scales, but the arithmetics on alteration works with any kind > alteration, semi-tones or microtonal alterations. Ri

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

2008-12-29 Thread John Mandereau
Le lundi 29 décembre 2008 à 15:44 +0100, Hans Aberg a écrit : > Is this synced with the work by Graham Breed, who has worked on > microtonal extensions? - See the developers list. I assume you refer to "Mictrotonal support" thread, which is kind-of a follow-up of "Diatonic notation system" (traf

Re: Diatonic/modal transposition function

2008-12-29 Thread Hans Aberg
On 29 Dec 2008, at 00:56, John Mandereau wrote: I finally managed to write, debug, clean up and document diatonic transposition functions. Here is the full code with some examples below. There are two end-user functions, the generic modeTranspose and a shortcut diatonicTranspose. Is this

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

Re: Diatonic/modal transposition function

2008-12-28 Thread M Watts
John Mandereau wrote: Hello, This email is a follow-up to http://lists.gnu.org/archive/html/lilypond-user/2008-12/msg00591.html I started a new thread because I'm finally not sure whether the code below answers the initial question. I finally managed to write, debug, clean up and document diaton

Diatonic/modal transposition function

2008-12-28 Thread John Mandereau
Hello, This email is a follow-up to http://lists.gnu.org/archive/html/lilypond-user/2008-12/msg00591.html I started a new thread because I'm finally not sure whether the code below answers the initial question. I finally managed to write, debug, clean up and document diatonic transposition functio

Re: "Modal" Transposition

2003-07-30 Thread Pedro Kroger
(oops, I forgot to use reply-list so this email was sent to Han-Wen instead to the list, sorry about that Han-Wen) > > Is there a way to make a "modal" transposition? (not sure if "modal" is > > the correct term) > > Sure. Write a function that frobnicates

"Modal" Transposition

2003-07-17 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > Hi All, > > Is there a way to make a "modal" transposition? (not sure if "modal" is > the correct term) Sure. Write a function that frobnicates the 'pitch of NoteEvents, and \apply that to the music. -- Han-Wen Nienhu

Re: "Modal" Transposition

2003-07-14 Thread David Raleigh Arnold
On Saturday 12 July 2003 12:38 pm, Pedro Kroger wrote: > Hi All, > > Is there a way to make a "modal" transposition? (not sure if "modal" > is the correct term) > > I'd like to write something like > > pattern = \notes {b c e f} > > and then t

"Modal" Transposition

2003-07-12 Thread Pedro Kroger
Hi All, Is there a way to make a "modal" transposition? (not sure if "modal" is the correct term) I'd like to write something like pattern = \notes {b c e f} and then transpose \pattern a few times to get things like: c d e g d e f g e f g a and so on.. This sor