Re: question about transposing an interval of a 4th - Looks like I found the answer

2009-01-17 Thread Francisco Vila
2009/1/17 Chip : > I'll take you word for it because I don't know the difference between all > the transposition types you mention above, haven't even heard of some of > 'em. Actually I've only mentioned two types. Suppose you want to transpose { c d e f g a b c } a fourth lower. You could think o

Re: question about transposing an interval of a 4th - Looks like I found the answer

2009-01-16 Thread Chip
Francisco Vila wrote: 2009/1/16 Chip : I figured it out - without any special trickery or anything else. Of course, but you do need manual adjustments. I can live with that. Maybe someday a tool will be written and built into Lily to do the transposition, until then, I'll make the

Re: question about transposing an interval of a 4th - Looks like I found the answer

2009-01-16 Thread Francisco Vila
2009/1/16 Chip : > I figured it out - without any special trickery or anything else. Of course, but you do need manual adjustments. > \transpose g d \relative c''' { \transpose d g << \trptnotes2>> } \transpose always does chromatic transposition, ie keeping a fixed interval of the same type of

Re: question about transposing an interval of a 4th - Looks like I found the answer

2009-01-16 Thread Chip
I figured it out - without any special trickery or anything else. My piece is arrange as follows, a very truncated version of an 8 horn piece - \include "" \version "" \header {} \paper {} global = {\key g \major and more stuff } \trumpetnotes1 = { a b c d e f g } trptnotes1 = \relative c''' {

Re: question about transposing an interval of a 4th

2008-12-25 Thread Gilles THIBAULT
Would it be possible to use your function to do things like inversion? I don't have lilypond installed where I am right now, but I'm thinking something like this: from = { c d e f g a b } to = { c' b a g f e d } The only problem is to know in what octave to translate the note, because in i

Re: question about transposing an interval of a 4th

2008-12-25 Thread Philippe Hezaine
M Watts a écrit : Actually, there is a way, but it's just something to muck around with, and takes a lot longer than scrawling stuff by hand on a sheet of ms paper. Mididings, the python-based midi router from http://das.nasophon.de/mididings/, includes a 'diatonic harmonizer', which allows

Re: question about transposing an interval of a 4th

2008-12-24 Thread Mark Polesky
Gilles, very clever! Would it be possible to use your function to do things like inversion? I don't have lilypond installed where I am right now, but I'm thinking something like this: from = { c  d e f g a b } to =   { c' b a g f e d } If so, this technique could be used to automate some seriali

Re: question about transposing an interval of a 4th

2008-12-24 Thread chip
James E. Bailey wrote: Am 24.12.2008 um 13:26 schrieb M Watts: Tim Reeves wrote: Yes, a variable fourth, if you want to call it that - you finally got it. This is like the not-so-helpful answer "You can't get there from here." It just took about 20 messages to get to that conclusion. Actua

Re: question about transposing an interval of a 4th

2008-12-24 Thread James E. Bailey
Am 24.12.2008 um 13:26 schrieb M Watts: Tim Reeves wrote: > Umm... yeah. The fact that he thinks this answers the question > gives me *less* confidence that he knows what he's talking about. > If he wanted it a perfect fourth lower, then \transpose does the > job. And normally when somebod

Re: question about transposing an interval of a 4th

2008-12-24 Thread M Watts
Tim Reeves wrote: > Umm... yeah. The fact that he thinks this answers the question > gives me *less* confidence that he knows what he's talking about. > If he wanted it a perfect fourth lower, then \transpose does the > job. And normally when somebody says "a fourth lower", they mean > a perf

Re: question about transposing an interval of a 4th

2008-12-24 Thread Johan Vromans
"Carl D. Sorensen" writes: > You're right, it would be nice to have this. And fortunately, we do. Hurray! > Please look in the file scm/music-functions.scm. Search for > music->make-music. Exactly what I asked for. This is a function I'm sure gonna play with! > In scheme, it does just what y

Re: question about transposing an interval of a 4th

2008-12-23 Thread Tim Reeves
> Umm... yeah. The fact that he thinks this answers the question > gives me *less* confidence that he knows what he's talking about. > If he wanted it a perfect fourth lower, then \transpose does the > job. And normally when somebody says "a fourth lower", they mean > a perfect interval. If he w

Re: question about transposing an interval of a 4th

2008-12-23 Thread Gilles THIBAULT
I didn't follow all the thread but coming back to the original message, I have tried to make a little scheme function which seems to work. (see attached file) It can be also usefull for changing the mode of a music (major to minor for example). Merry Christmas. Gilles \version "2.11.63" %

Re: question about transposing an interval of a 4th

2008-12-23 Thread Carl D. Sorensen
Johan, On 12/23/08 3:18 AM, "Johan Vromans" wrote: > "Carl D. Sorensen" writes: > >> Examples of how LilyPond uses scheme are found in [...] > > It would be nice to have a boilerplate scheme function that processes > an arbitrary music expression and returns a new expression that is an > ide

Re: question about transposing an interval of a 4th

2008-12-23 Thread Graham Percival
On Tue, Dec 23, 2008 at 10:00:21AM +0100, James E. Bailey wrote: > > Am 22.12.2008 um 20:57 schrieb Graham Percival: > >> I'll point out that half a dozen other people, including music >> professors, have asked him for clarification after reading that >> email. So my confusion is not just me being

Re: question about transposing an interval of a 4th

2008-12-23 Thread Eyolf Østrem
On 22.12.2008 (12:03), Graham Percival wrote: > On Mon, Dec 22, 2008 at 06:21:56PM +0100, Eyolf ?strem wrote: > > 1. Make no mistake about it: using LilyPond IS to be a programmer, to a > > greater or lesser extent. And even though the plain an simple sheets with a > > melody line and a title "just

Re: question about transposing an interval of a 4th

2008-12-23 Thread Johan Vromans
"James E. Bailey" writes: > I guess we need to distinguish between different types of > programming then. Yes. There's a LP level and a Scheme level. The LP level is accessible to many more people than the Scheme level. -- Johan ___ lilypond-user ma

Re: question about transposing an interval of a 4th

2008-12-23 Thread James E. Bailey
Am 23.12.2008 um 11:07 schrieb Francisco Vila: 2008/12/22 chip : Not everybody has a programmers mind. I don't. I have no interest whatsoever in programming. A person should be able to use a piece of software without having to be a programmer to do so. If a programming degree is necessary

Re: question about transposing an interval of a 4th

2008-12-23 Thread Johan Vromans
"Carl D. Sorensen" writes: > Examples of how LilyPond uses scheme are found in [...] It would be nice to have a boilerplate scheme function that processes an arbitrary music expression and returns a new expression that is an identical copy of the original expression. In some arbitrary pseudo-co

Re: question about transposing an interval of a 4th

2008-12-23 Thread Francisco Vila
2008/12/22 chip : > Not everybody has a programmers mind. I don't. I have no interest whatsoever > in programming. A person should be able to use a piece of software without > having to be a programmer to do so. If a programming degree is necessary to > use Lily then it is either a) not complete en

Re: question about transposing an interval of a 4th

2008-12-23 Thread Francisco Vila
2008/12/22 Mark Polesky : > There have been 15 replies to Chip's > original message, and NO ONE has answered it yet. > This is embarrassing. I did, and asked for more information, but no feedback yet. http://lists.gnu.org/archive/html/lilypond-user/2008-12/msg00586.html Also, John started cookin

Re: question about transposing an interval of a 4th

2008-12-23 Thread James E. Bailey
Am 22.12.2008 um 20:57 schrieb Graham Percival: On Sun, Dec 21, 2008 at 09:40:48PM -0800, Mark Polesky wrote: If you cannot, or will not, describe what you actually want, it's very difficult to help you. He already has! He clearly stated that he wants to transpose music down a 4th, diatonica

Re: question about transposing an interval of a 4th

2008-12-22 Thread chip
I must say I had no idea that this would turn into such a big deal. As for the piece I am working on - I've spent the morning typing in the notes for all the parts long hand, figuring out the intervals as I go, for each individual instrument. If a scheme program, or whatever it's called, is eve

Re: question about transposing an interval of a 4th

2008-12-22 Thread Carl D. Sorensen
On 12/22/08 10:21 AM, "Eyolf Østrem" wrote: > On 22.12.2008 (17:37), John Mandereau wrote: >> Le lundi 22 décembre 2008 à 15:14 +0100, James E. Bailey a écrit : >>> Am 22.12.2008 um 14:04 schrieb John Mandereau: Indeed: there is currently no thing in all LilyPond documentation that i

Re: question about transposing an interval of a 4th

2008-12-22 Thread Graham Percival
On Mon, Dec 22, 2008 at 06:21:56PM +0100, Eyolf ?strem wrote: > On 22.12.2008 (17:37), John Mandereau wrote: > > Why not? I'm sure a not so small amount of users would like to program > > with LilyPond, so revising and extending the Scheme tutorial is a > > solution IMHO. It was on the cards for

Re: question about transposing an interval of a 4th

2008-12-22 Thread Graham Percival
On Sun, Dec 21, 2008 at 09:40:48PM -0800, Mark Polesky wrote: > > If you cannot, or will not, describe what you > > actually want, it's very difficult to help you. > > He already has! He clearly stated that he wants to > transpose music down a 4th, diatonically: > http://lists.gnu.org/archive/ht

Re: question about transposing an interval of a 4th

2008-12-22 Thread James E. Bailey
Am 22.12.2008 um 17:37 schrieb John Mandereau: Le lundi 22 décembre 2008 à 15:14 +0100, James E. Bailey a écrit : Am 22.12.2008 um 14:04 schrieb John Mandereau: Indeed: there is currently no thing in all LilyPond documentation that introduces Scheme programming for non-programmers. And the

Re: question about transposing an interval of a 4th

2008-12-22 Thread Eyolf Østrem
On 22.12.2008 (17:37), John Mandereau wrote: > Le lundi 22 décembre 2008 à 15:14 +0100, James E. Bailey a écrit : > > Am 22.12.2008 um 14:04 schrieb John Mandereau: > > > Indeed: there is currently no thing in all LilyPond documentation that > > > introduces Scheme programming for non-programmers.

Re: question about transposing an interval of a 4th

2008-12-22 Thread John Mandereau
Le lundi 22 décembre 2008 à 15:14 +0100, James E. Bailey a écrit : > Am 22.12.2008 um 14:04 schrieb John Mandereau: > > Indeed: there is currently no thing in all LilyPond documentation that > > introduces Scheme programming for non-programmers. > And there shouldn't be, in my opinion. Why not? I

Re: question about transposing an interval of a 4th

2008-12-22 Thread Grateful Frog
f reference is: http://www.schemers.org/ Hope this helps! Cheers, GF. -- Forwarded message -- From: "James E. Bailey" To: John Mandereau Date: Mon, 22 Dec 2008 15:14:18 +0100 Subject: Re: question about transposing an interval of a 4th Am 22.12.2008 um 14:04 schrieb John Man

Re: question about transposing an interval of a 4th

2008-12-22 Thread James E. Bailey
Am 22.12.2008 um 14:04 schrieb John Mandereau: Le lundi 22 décembre 2008 à 10:56 +0100, James E. Bailey a écrit : Am 22.12.2008 um 03:52 schrieb Graham Percival: Oh, I've read the Learning Manual cover to cover (well, it may have been changed since then, it was some months ago), and I don

Re: question about transposing an interval of a 4th

2008-12-22 Thread John Mandereau
Le lundi 22 décembre 2008 à 10:56 +0100, James E. Bailey a écrit : > Am 22.12.2008 um 03:52 schrieb Graham Percival: > Oh, I've read the Learning Manual cover to cover (well, it may have > been changed since then, it was some months ago), and I don't > understand Scheme. Indeed: there is curre

Re: question about transposing an interval of a 4th

2008-12-22 Thread Jonathan Kulp
chip wrote: Am 21.12.2008 um 19:07 schrieb chip: I input in Concert C, transpose to the key of D for Trumpet. \transpose c d {} The First Trumpet part transposes to the key of D just fine. I would like to just copy/paste the first part into the second part. What's the second part?

Re: question about transposing an interval of a 4th

2008-12-22 Thread Johan Vromans
Cameron Horsburgh writes: > He wants it diatonic, so it's not that easy. \transpose c' g {a b c} > would produce {e fis g} instead of {e f g}. I'd say that deserves an additional function, e.g. \transposePitch #-4 { a b c } I'd also say that it would not be necessary for all LilyPond users

Re: question about transposing an interval of a 4th

2008-12-22 Thread James E. Bailey
Am 22.12.2008 um 03:52 schrieb Graham Percival: On Sun, Dec 21, 2008 at 06:30:18PM -0800, Mark Polesky wrote: Graham, Great, that helps a lot. I haven't got a clue what scheme is. In that case, may I courteously extend an invitation that you read the bloody Learning Manual? Please stop th

Re: question about transposing an interval of a 4th

2008-12-22 Thread James E. Bailey
Totally didn't even see the sharp sign. It's early. Am 22.12.2008 um 09:39 schrieb Mark Polesky: James, this is nice, but I don't think it's right. Chip, correct me if I'm wrong, but I think the second-to-last note in the 3rd staff should be G-natural, not G-sharp. G-sharp is not diatonic in th

Re: question about transposing an interval of a 4th

2008-12-22 Thread Mark Polesky
James, this is nice, but I don't think it's right. Chip, correct me if I'm wrong, but I think the second-to-last note in the 3rd staff should be G-natural, not G-sharp. G-sharp is not diatonic in the key of D major. As far as I can tell, only John's proposed (and unfinished) solution avoids th

Re: question about transposing an interval of a 4th

2008-12-22 Thread James E. Bailey
Am 22.12.2008 um 05:42 schrieb Graham Percival: Chip, I am 90% convinced that the solution to your problem was posted here: http://lists.gnu.org/archive/html/lilypond-user/2008-12/msg00586.html http://lists.gnu.org/archive/html/lilypond-user/2008-12/msg00585.html With another person trying to f

Re: question about transposing an interval of a 4th

2008-12-21 Thread chip
Mark Polesky wrote: Graham Percival wrote: 1. Look at the selected snippets for \transpose. There's an example that's very close to what he wants. I disagree. That example modifies the enharmonic spelling of notes in an already transposed section. We're looking for a function to tra

Re: question about transposing an interval of a 4th

2008-12-21 Thread chip
Am 21.12.2008 um 19:07 schrieb chip: I input in Concert C, transpose to the key of D for Trumpet. \transpose c d {} The First Trumpet part transposes to the key of D just fine. I would like to just copy/paste the first part into the second part. What's the second part? As me

Re: question about transposing an interval of a 4th

2008-12-21 Thread Mark Polesky
> Graham Percival wrote: > 1. Look at the selected snippets for \transpose. > There's an example that's very close to what he > wants. I disagree. That example modifies the enharmonic spelling of notes in an already transposed section. We're looking for a function to transpose each note ind

Re: question about transposing an interval of a 4th

2008-12-21 Thread Graham Percival
Chip, I am 90% convinced that the solution to your problem was posted here: http://lists.gnu.org/archive/html/lilypond-user/2008-12/msg00586.html http://lists.gnu.org/archive/html/lilypond-user/2008-12/msg00585.html With another person trying to figure out what you wanted here: http://lists.gnu.org

Re: question about transposing an interval of a 4th

2008-12-21 Thread chip
Not everybody has a programmers mind. I don't. I have no interest whatsoever in programming. A person should be able to use a piece of software without having to be a programmer to do so. If a programming degree is necessary to use Lily then it is either a) not complete enough for the general p

Re: question about transposing an interval of a 4th

2008-12-21 Thread Graham Percival
On Sun, Dec 21, 2008 at 06:30:18PM -0800, Mark Polesky wrote: > Graham, > > > > Great, that helps a lot. I haven't got a clue > > > what scheme is. > > In that case, may I courteously extend an > > invitation that you read the bloody Learning > > Manual? > > Please stop the sarcasm and the ind

Re: question about transposing an interval of a 4th

2008-12-21 Thread chip
Thanks Mark, I was going to reply basically the same way, but from my past experience with this mailing list, it only incites more argumentative/sarcastic replies. I've been using PC's since the '80's, I've been using many, many mailing lists. This list is by far the least friendly of any I h

Re: question about transposing an interval of a 4th

2008-12-21 Thread Mark Polesky
Graham, I don't think the tone you're using belongs here: > I really don't understand this question. Then don't answer it. > why on earth do you need to... Please stop judging users who need things that you don't understand. > > I can't find this info in the manuals. > ... LM 5.3 Scores and p

Re: question about transposing an interval of a 4th

2008-12-21 Thread John Mandereau
Le dimanche 21 décembre 2008 à 09:47 -0800, Graham Percival a écrit : > On Sun, Dec 21, 2008 at 11:26:16PM +1100, Cameron Horsburgh wrote: > > He wants it diatonic, so it's not that easy. \transpose c' g {a b c} > > would produce {e fis g} instead of {e f g}. > > Oops, I forgot my first-year theo

Re: question about transposing an interval of a 4th

2008-12-21 Thread Cameron Horsburgh
On Sun, Dec 21, 2008 at 02:20:32PM -0800, Graham Percival wrote: > On Mon, Dec 22, 2008 at 07:41:35AM +1100, Cameron Horsburgh wrote: > > > melody = {a b c d e f g} > > > { \melody \\ { \transpose c' g \melody }} > > > > > > Hmm... I can see that this works. Having read the documentation so > > s

Re: question about transposing an interval of a 4th

2008-12-21 Thread Graham Percival
On Mon, Dec 22, 2008 at 07:41:35AM +1100, Cameron Horsburgh wrote: > > melody = {a b c d e f g} > > { \melody \\ { \transpose c' g \melody }} > > > Hmm... I can see that this works. Having read the documentation so > slavishly I assumed it would be needed. From the Known Issues in 1.1.2: > > "Th

Re: question about transposing an interval of a 4th

2008-12-21 Thread Francisco Vila
2008/12/21 chip : >> ... I really don't understand this question. If you already know >> how to transpose from C to Bb, why on earth do you need to ask how >> to transpose from C to G ?! > > Becuase when I do that it changes the key signature. I want the key > signature to remain the same. I input

Re: question about transposing an interval of a 4th

2008-12-21 Thread Jonathan Kulp
chip wrote: Graham Percival wrote: Then stick a \transpose c' g' in there. Read the doc section about transposition for help. ... I really don't understand this question. If you already know how to transpose from C to Bb, why on earth do you need to ask how to transpose from C to G ?! - Graha

Re: question about transposing an interval of a 4th

2008-12-21 Thread Cameron Horsburgh
On Sun, Dec 21, 2008 at 09:47:53AM -0800, Graham Percival wrote: > On Sun, Dec 21, 2008 at 11:26:16PM +1100, Cameron Horsburgh wrote: > > On Sat, Dec 20, 2008 at 11:49:10PM -0800, Graham Percival wrote: > > > ... I really don't understand this question. If you already know > > > how to transpose f

Re: question about transposing an interval of a 4th

2008-12-21 Thread James E. Bailey
Am 21.12.2008 um 19:07 schrieb chip: I input in Concert C, transpose to the key of D for Trumpet. \transpose c d {} The First Trumpet part transposes to the key of D just fine. I would like to just copy/paste the first part into the second part. What's the second part? The second part I wan

Re: question about transposing an interval of a 4th

2008-12-21 Thread Graham Percival
On Sun, Dec 21, 2008 at 11:11:20AM -0700, chip wrote: > Graham Percival wrote: >> Oops, I forgot my first-year theory. In this case, he'd need to >> write a scheme function. Actually, it wouldn't be hard at all... >> this is a perfect intro-level scheme tweak. >> > Great, that helps a lot. I h

Re: question about transposing an interval of a 4th

2008-12-21 Thread chip
Graham Percival wrote: On Sun, Dec 21, 2008 at 11:26:16PM +1100, Cameron Horsburgh wrote: On Sat, Dec 20, 2008 at 11:49:10PM -0800, Graham Percival wrote: ... I really don't understand this question. If you already know how to transpose from C to Bb, why on earth do you need to ask how

Re: question about transposing an interval of a 4th

2008-12-21 Thread chip
Graham Percival wrote: Then stick a \transpose c' g' in there. Read the doc section about transposition for help. ... I really don't understand this question. If you already know how to transpose from C to Bb, why on earth do you need to ask how to transpose from C to G ?! - Graham Becuase

Re: question about transposing an interval of a 4th

2008-12-21 Thread Graham Percival
On Sun, Dec 21, 2008 at 11:26:16PM +1100, Cameron Horsburgh wrote: > On Sat, Dec 20, 2008 at 11:49:10PM -0800, Graham Percival wrote: > > ... I really don't understand this question. If you already know > > how to transpose from C to Bb, why on earth do you need to ask how > > to transpose from C

Re: question about transposing an interval of a 4th

2008-12-21 Thread Cameron Horsburgh
On Sat, Dec 20, 2008 at 11:49:10PM -0800, Graham Percival wrote: > Then stick a \transpose c' g' in there. Read the doc section > about transposition for help. > > ... I really don't understand this question. If you already know > how to transpose from C to Bb, why on earth do you need to ask ho

Re: question about transposing an interval of a 4th

2008-12-20 Thread Graham Percival
Then stick a \transpose c' g' in there. Read the doc section about transposition for help. ... I really don't understand this question. If you already know how to transpose from C to Bb, why on earth do you need to ask how to transpose from C to G ?! - Graham On Sat, Dec 20, 2008 at 07:06:01PM

Re: question about transposing an interval of a 4th

2008-12-20 Thread chip
good question, I'm gonna say diatonic and see how that goes. Cameron Horsburgh wrote: On Sat, Dec 20, 2008 at 06:16:18PM -0700, chip wrote: I am inputing a piece in concert C, the use \transpose to output a part for a Bb Trumpet. Now I want to add second part that will be a fourth lower.

Re: question about transposing an interval of a 4th

2008-12-20 Thread Cameron Horsburgh
On Sat, Dec 20, 2008 at 06:16:18PM -0700, chip wrote: > I am inputing a piece in concert C, the use \transpose to output a part > for a Bb Trumpet. Now I want to add second part that will be a fourth > lower. Can Lily do this or do I have to figure out all the notes a > fourth lower and enter

question about transposing an interval of a 4th

2008-12-20 Thread chip
I am inputing a piece in concert C, the use \transpose to output a part for a Bb Trumpet. Now I want to add second part that will be a fourth lower. Can Lily do this or do I have to figure out all the notes a fourth lower and enter them manually? I'd rather just copy/paste the first part into t