Re: Shortcut for epeated chords?

2008-03-29 Thread Christ van Willegen
Hi, On Fri, Mar 28, 2008 at 11:14 PM, Werner LEMBERG <[EMAIL PROTECTED]> wrote: > > e.g. if I assume x means 'the last notes', I could write the above > > as, > > > >8 x16 x x4 x16 x8 x16 > > Actually, I like an `x' even more than `<>'. > > I can't see an immediate problem from the syntax

Re: Shortcut for epeated chords?

2008-03-28 Thread Papa Eric
Thanks to all for anwering so quickly! I don't know Scheme, but Looking at files like italiano.ly, I see that it supports macros: --- pitchnamesItaliano = #`( (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT)) (dobsb . ,(ly:make-pitch -1 0 THREE-Q-FLAT)) (dob . ,

Re: Shortcut for epeated chords?

2008-03-28 Thread Werner LEMBERG
> e.g. if I assume x means 'the last notes', I could write the above > as, > >8 x16 x x4 x16 x8 x16 Actually, I like an `x' even more than `<>'. I can't see an immediate problem from the syntax side. Whether it's easy to implement I don't know. Han-Wen? Werner _

Re: Shortcut for epeated chords?

2008-03-28 Thread Joseph Wakeling
Graham Percival wrote: > No; we understand it quite well. >From what I could see, Mats' example did not implement what was requested. > Adding something like this to the basic syntax could be quite > problematic. We already get enough complaints about changing the > syntax, so we certainly shoul

Re: Shortcut for epeated chords?

2008-03-28 Thread Graham Percival
On Fri, 28 Mar 2008 19:50:20 +0100 Joseph Wakeling <[EMAIL PROTECTED]> wrote: > I think you still don't understand what is being requested. No; we understand it quite well. Adding something like this to the basic syntax could be quite problematic. We already get enough complaints about changing

Re: Shortcut for epeated chords?

2008-03-28 Thread Joseph Wakeling
Mats Bengtsson wrote: > If you find the \repeat unfold syntax too long to type in, you can easily > defined a macro with a shorter name: > rr = #(define-music-function (parser location num music)(number? ly:music?) > #{ \repeat unfold $num $music #}) I think you still don't understand what is bein

re: Shortcut for epeated chords?

2008-03-28 Thread Stefan Thomas
Dear Eric, I think I have the same problem as You. Typing a lot of chords is a lot of work. But I use the lilypond-tool and jedit for help. There You can make shortcuts or You can expand abbreviations. For example, if I have a chord like I type only cv, than I press the space bar, and than I get t

Re: Shortcut for epeated chords?

2008-03-28 Thread papa.eric
\repeat is nice for true repetitions, but if I have various patterns using the same chord with different durations, and some ties or accents or different beaming or slurs, it does not work. Only the notes (pitches) really are repeated. random example: c8 Y Y Y->~ | Y( Z) Z4_. | c8 X-> X_. X16 e

Re: Shortcut for epeated chords?

2008-03-28 Thread Mats Bengtsson
If you find the \repeat unfold syntax too long to type in, you can easily defined a macro with a shorter name: rr = #(define-music-function (parser location num music)(number? ly:music?) #{ \repeat unfold $num $music #}) The only complication is that you have to add a #-mark before the number tha

Re: Shortcut for epeated chords?

2008-03-28 Thread Werner LEMBERG
> In fact I see no reason for it to be limited to chords: some > notation for 'same note(s) again' would be very desirable. Yes, the stress lies on `same' -- it's easy to accidentally type, say e e e c e e e Werner ___ lilypond-user mailing l

Re: Shortcut for epeated chords?

2008-03-28 Thread Werner LEMBERG
> > I don't think so. Rather a shortcut to avoid zillions of copy and > > paste operations. Additionally, you get shorter lines, and the > > suggested syntax is much easier to understand than using \repeat > > or something like that. > > Should it then only apply only to chords or also to single

Re: Shortcut for epeated chords?

2008-03-28 Thread Joseph Wakeling
Mats Bengtsson wrote: > You mean like > http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Measure-repeats#Measure-repeats I interpret the suggestion to mean that he wants the _notes_ to appear (unlike the link you posted, which uses 'slash' notation to indicate repetition), but wants some

Re: Shortcut for epeated chords?

2008-03-28 Thread Mats Bengtsson
Werner LEMBERG wrote: You mean like http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Measure-repeats#Measure-repeats I don't think so. Rather a shortcut to avoid zillions of copy and paste operations. Additionally, you get shorter lines, and the suggested syntax is much easier

Re: Shortcut for epeated chords?

2008-03-28 Thread Werner LEMBERG
> You mean like > http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Measure-repeats#Measure-repeats I don't think so. Rather a shortcut to avoid zillions of copy and paste operations. Additionally, you get shorter lines, and the suggested syntax is much easier to understand than using \

Re: Shortcut for epeated chords?

2008-03-28 Thread Mats Bengtsson
You mean like http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Measure-repeats#Measure-repeats /Mats [EMAIL PROTECTED] wrote: Is there a shortcut for writing repeated chords? For example instead of 16 16 8 16 etc... I would like a token meaning "the last chord (pitches between <

Re: Shortcut for epeated chords?

2008-03-28 Thread Werner LEMBERG
> Is there a shortcut for writing repeated chords? For example instead > of > > 16 > 16 8 16 > etc... > > I would like a token meaning "the last chord (pitches between < and > >) once again". > > If there is nothing, does the suggestion to use empty chords <> for > this seem interesting? (pr