Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-05-05 Thread Shane Brandes
That is indeed a clever way of manipulating the absolute mode good for some things, but not terribly handy once you get into active keyboard music as you would end up thinking like a drifting organ tuner. Shane On Mon, May 4, 2015 at 10:57 PM, Keith OHara k-ohara5...@oco.net wrote: Federico

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-05-05 Thread Steve Lacy
+1 to Keith's idea. In fact, I remember first learning about \relative and being *amazed* that it didn't work as described. I'm mostly transcribing/re-engraving for solo violin, and most pieces stay within a small 2-octave range. The \relative c'''{ ...} syntax was exactly what I wanted. Steve

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-05-04 Thread Keith OHara
Federico Bruni fedelogy at gmail.com writes: 2015-04-23 9:21 GMT+02:00 Martin Tarenskeen m.tarenskeen at zonnet.nl: I often use LilyPond to quickly enter a very simple tune or small pianosheet needing just a simple texteditor (Vim). I use \relative all the time. c g c e g is soo much faster

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-27 Thread ArnoldTheresius
Hello Urs Urs Liska wrote ... Another important topic for commercial users may be the management of the source code for all PDFs (and other output). What do you mean here? And finally multiple people may have to working parallel on the same score. This is something that is already

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-27 Thread Urs Liska
Am 27.04.2015 um 10:35 schrieb ArnoldTheresius: Hello Urs Urs Liska wrote ... Another important topic for commercial users may be the management of the source code for all PDFs (and other output). What do you mean here? And finally multiple people may have to working parallel on the same

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-27 Thread Federico Bruni
2015-04-25 19:17 GMT+02:00 Martin Tarenskeen m.tarensk...@zonnet.nl: It should be mentioned that Frescobaldi creates converts {c'' d'' e'' f'' g''} to old style \relative syntax like: \relative c'' {c d e f g} instead of the new syntax I like to use these days:

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-26 Thread Johan Vromans
On Sun, 26 Apr 2015 05:52:04 + (UTC) Keith OHara k-ohara5...@oco.net wrote: I wish the manual did not use the implicit \relative c'' {} (sometimes \relative c' {} ) enclosing the examples. As soon as the input gets complicated, \relative becomes difficult to figure out. I've always

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-26 Thread Peter Bjuhr
On 2015-04-26 15:13, Simon Albrecht wrote: If this is so easy for frescobaldi to have this converter relative2absolute, and so usefull to have input files in absolute, why not implant (implement) a commandline option to lily that would convert the relative blocks founds to absolute?

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-26 Thread Noeck
Il 26/04/15 09.58, Johan Vromans ha scritto: I've always considered \relative as an operation that should be applied as close to the actual notes as possible. This gives the least suprises, if any. \relative c'' { \new PianoStaff \new Staff { \time 2/4 c4 e | g g, | }

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-26 Thread Gilles
On Sun, 26 Apr 2015 09:58:33 +0200, Johan Vromans wrote: On Sun, 26 Apr 2015 05:52:04 + (UTC) Keith OHara k-ohara5...@oco.net wrote: I wish the manual did not use the implicit \relative c'' {} (sometimes \relative c' {} ) enclosing the examples. As soon as the input gets complicated,

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-26 Thread Simon Albrecht
Am 26.04.2015 um 14:37 schrieb Ali Cuota: Hello, If this is so easy for frescobaldi to have this converter relative2absolute, and so usefull to have input files in absolute, why not implant (implement) a commandline option to lily that would convert the relative blocks founds to absolute?

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-26 Thread Ali Cuota
Hello, If this is so easy for frescobaldi to have this converter relative2absolute, and so usefull to have input files in absolute, why not implant a commandline option to lily that would convert the relatibe blocks founds to absolute? Francois 2015-04-26 5:12 GMT-05:00, Gilles

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-26 Thread Davide Liessi
Dear Johan, Il 26/04/15 09.58, Johan Vromans ha scritto: I've always considered \relative as an operation that should be applied as close to the actual notes as possible. This gives the least suprises, if any. \relative c'' { \new PianoStaff \new Staff { \time 2/4 c4 e | g g, |

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-26 Thread Stephen MacNeil
it looks like you shortened \transpose not \relative but i like it I may use it thanks Stephen octave = #(define-music-function (parser location octaves music) (integer? ly:music?) (_i Raise or lower @var{music} by a nubmer of @var{octaves}.) (make-music 'TransposedMusic 'element

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-25 Thread Noeck
Hi, I didn't want to enter the absolute/relative discussion, but now I have to add one advantage when entering notes in the relative mode: In case of a wrong , or ' (or missing) all following notes are in the wrong octave and I am more likely to spot the error. Cheers, Joram

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-25 Thread Martin Tarenskeen
On Sat, 25 Apr 2015, Ali Cuota wrote: Hello, solution is in the editors functionalities. If, let say Frescobaldi, would offer a preprocessor to translate a block from relative to absolute, this would be done. Relative is easy to write, absolute easy to read, so why choose? Both is

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-25 Thread bobr...@centrum.is
Ali, Frescobaldi does, in fact, offer the capability of changing LilyPond input code between absolute and relative in EITHER direction. -David - Original Message - From: Ali Cuota alicuota...@gmail.com To: Simon Albrecht simon.albre...@mail.de Cc: lilypond-user@gnu.org Sent:

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-25 Thread Ali Cuota
Thanks, just found it. I will consider it for my future works. Francois 2015-04-25 13:08 GMT-05:00, Noeck noeck.marb...@gmx.de: Hi, I didn't want to enter the absolute/relative discussion, but now I have to add one advantage when entering notes in the relative mode: In case of a wrong , or

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-25 Thread Keith OHara
Martin Tarenskeen m.tarenskeen at zonnet.nl writes: I often use LilyPond to quickly enter a very simple tune or small pianosheet needing just a simple texteditor (Vim). I use \relative all the time. c g c e g is soo much faster and easier than c''' g'' c''' e''' g''' g'''. If there were a

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-25 Thread Simon Albrecht
Am 25.04.2015 um 00:38 schrieb Thomas Morley: Hi all, I'm a little late to the party... One very annoying thing about \relative is when you want to use music-functions catching some music doing something with it. Here the less complex function I could think of, returning different results for

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-25 Thread Johan Vromans
On Sat, 25 Apr 2015 00:38:02 +0200 Thomas Morley thomasmorle...@gmail.com wrote: repeat-note = #(define-music-function (parser location music)(ly:music?) (make-sequential-music (list music (ly:music-deep-copy music \absolute { c'1 \repeat-note c'' } \relative c' { c \repeat-note c'1

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-25 Thread Ali Cuota
Hello, I am only a user and very thankfull, both for ly and for relative. I would have had really thought much longer about ly if relative had not be available. Now, I understand the pro of absolute, and I think the solution is in the editors functionalities. If, let say Frescobaldi, would offer

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-24 Thread Simon Albrecht
Am 24.04.2015 um 00:58 schrieb Wols Lists: And then in English we get thoroughly confused, because an American whole note is an English semibreve or, literally, half note. And we don't use numbers either, we have semibreve, minim, crotchet, quaver, semiquaver, demisemiquaver, hemidemisemiquaver,

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-24 Thread Kieren MacMillan
Hi Harm, One very annoying thing about \relative is when you want to use music-functions catching some music doing something with it. Here the less complex function I could think of, returning different results for absolute and relative. Yes — another good reason I avoid \relative mode. =)

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-24 Thread Thomas Morley
2015-04-23 3:41 GMT+02:00 Kieren MacMillan kieren_macmil...@sympatico.ca: Hi Gilles, deprecate \relative, which I now avoid like the plague. Why? 1. It doesn’t play well with reuse: both trivial reuse (i.e., cut-and-paste) and more advanced (i.e., referenced in variables) require extra

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Kieren MacMillan
Hi Federico, I see the first as less cluttered than the second (and another example of music can appear much more cluttered than above example). I see the second as containing more information encoded directly in the input, and requiring less to be added by the user. I don't like trying to

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Urs Liska
Am 23.04.2015 um 16:13 schrieb ArnoldTheresius: Federico Bruni wrote ... personally I find lilypond code in \relative mode easier to read. Perhaps, it's only a problem because the editors we use are not able to translate automatically between relative and absolute octave notation. Well,

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Simon Albrecht
Two small thoughts also from me: – I think the preference one will take also depends on musical style: a piece of renaissance vocal music uses so few leaps greater than a fourth that the advantage of relative in typing is huge and it’s ‘error-pronity’ small. On the other extreme, a piano

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Richard Shann
On Thu, 2015-04-23 at 19:36 +0200, Eyolf Østrem wrote: On 23.04.2015 (10:04), H. S. Teoh wrote: Besides, only powers of 2 are valid for durations, which wastes all the other numbers in between. Unfortunately I don't have a good idea on how to write durations without using digits

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Eyolf Østrem
On 23.04.2015 (10:04), H. S. Teoh wrote: Besides, only powers of 2 are valid for durations, which wastes all the other numbers in between. Unfortunately I don't have a good idea on how to write durations without using digits either. I started on a vim script to remap the keyboard as

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread H. S. Teoh
On Thu, Apr 23, 2015 at 03:35:59PM +0200, Federico Bruni wrote: Hi Kieren 2015-04-23 14:40 GMT+02:00 Kieren MacMillan kieren_macmil...@sympatico.ca: personally I find lilypond code in \relative mode easier to read. Really? I look at \relative c,, { c4 g' a b e f' g' a, b,, c’

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread bobr...@centrum.is
- Original Message - From: Calixte Faure calixte.fa...@gmail.com To: Noeck noeck.marb...@gmx.de Cc: LilyPond Users lilypond-user@gnu.org Sent: Thursday, April 23, 2015 7:35:18 PM Subject: Re: What is the problem with \relative? (Was: Do we really offer the future?) I learned

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Noeck
c5 d5 e5 f5 g5 f5 e5 d5 c5 All other things being equal, that *would* have been great. That would save typing in some cases and would follow American and other conventions. But c' etc. is just the natural way of calling the notes in Dutch, German and many northern and eastern European

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Eyolf Østrem
On 23.04.2015 (19:40), Richard Shann wrote: Well, if you set up that mapping for Denemo you could get LilyPond's beautiful typesetting too :) The last time I tried, it wasn't possible in denemo, I think because the keyboard shortcuts were tied to specific octaves, or something like that. I've

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Kieren MacMillan
Hi Joram, c' etc. is just the natural way of calling the notes in Dutch, German and many northern and eastern European languages So here in Germany it is an advantage when teaching LilyPond to newcomes: You write the notes just by their name: d' fis' a' d'' – as easy as that. Interesting.

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Calixte Faure
I learned music in French (native French) and was at the beginning a little bit confused with 2 4 8 16 etc. because we say white, black, hooked, double-hooked, triple-, etc. but after all it is logical with the numbers. I understood the choice of 2 4 8 16 during an exchange semester in Germany

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread PMA
Calixte Faure wrote: I learned music in French (native French) and was at the beginning a little bit confused with 2 4 8 16 etc. because we say white, black, hooked, double-hooked, triple-, etc. . At least you weren't trapped in hemi-demi-semi-quavers! - Pete

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Kieren MacMillan
Hi, It makes me think that it was a wrong design decision in lilypond to use ' and , for octave indications and digits 1, 2, 4, 8, ... for durations. If we had used digits for octave designations instead, absolute mode would be much less painful to write, e.g.: c5 d5 e5 f5 g5 f5 e5

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Kieren MacMillan
Hi Simon, – I think the preference one will take also depends on musical style: a piece of renaissance vocal music uses so few leaps greater than a fourth that the advantage of relative in typing is huge and it’s ‘error-pronity’ small. On the other extreme, a piano piece by George Crumb

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread ArnoldTheresius
Federico Bruni wrote ... personally I find lilypond code in \relative mode easier to read. Perhaps, it's only a problem because the editors we use are not able to translate automatically between relative and absolute octave notation. Well, back to the original question, what may professional

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Federico Bruni
2015-04-23 9:21 GMT+02:00 Martin Tarenskeen m.tarensk...@zonnet.nl: I often use LilyPond to quickly enter a very simple tune or small pianosheet needing just a simple texteditor (Vim). I use \relative all the time. c g c e g is soo much faster and easier than c''' g'' c''' e''' g''' g'''.

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Martin Tarenskeen
On Thu, 23 Apr 2015, Hwaen Ch'uqi wrote: Greetings, The reasons for one not using relative mode are clear, but it hardly justifies calling for its deprecation. As a composer of primarily piano music, it is an absolute lifesaver. And all to whom I have introduced LilyPond, primarily pianists

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Kieren MacMillan
Hi Federico, If you structure your files in a way that causes relative mode to produce side-effects, you can still enter in relative mode and then convert in absolute mode when you've finished (Frescobaldi can do it). I find it just as easy to enter code in absolute mode, so why should I go

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Kieren MacMillan
Hi Martin, personally I find lilypond code in \relative mode easier to read. Really? I look at \relative c,, { c4 g' a b e f' g' a, b,, c’ } and I can’t immediately tell which octave the last c is in. Looking at c,,4 g,, a,, b,, e, f g' a b,, c it’s perfectly clear right away.

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Federico Bruni
Hi Kieren 2015-04-23 14:40 GMT+02:00 Kieren MacMillan kieren_macmil...@sympatico.ca: personally I find lilypond code in \relative mode easier to read. Really? I look at \relative c,, { c4 g' a b e f' g' a, b,, c’ } and I can’t immediately tell which octave the last c is in. Looking

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-23 Thread Wols Lists
On 23/04/15 20:35, Calixte Faure wrote: I learned music in French (native French) and was at the beginning a little bit confused with 2 4 8 16 etc. because we say white, black, hooked, double-hooked, triple-, etc. but after all it is logical with the numbers. I understood the choice of 2 4 8

What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-22 Thread Gilles
Yet another subject ;-) [...] Yet another reason to deprecate \relative, which I now avoid like the plague. (Unfortunately, I was suckered into using it when I started using Lilypond over a decade ago, so all my legacy code is in \relative mode. Using Frescobaldi, I’m slowly converting all my

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-22 Thread Kieren MacMillan
Hi Gilles, deprecate \relative, which I now avoid like the plague. Why? 1. It doesn’t play well with reuse: both trivial reuse (i.e., cut-and-paste) and more advanced (i.e., referenced in variables) require extra care at the very least, and outright extra work (e.g., octave checks,

Re: What is the problem with \relative? (Was: Do we really offer the future?)

2015-04-22 Thread Hwaen Ch'uqi
Greetings, The reasons for one not using relative mode are clear, but it hardly justifies calling for its deprecation. As a composer of primarily piano music, it is an absolute lifesaver. And all to whom I have introduced LilyPond, primarily pianists or harpists, immediately gravitated to