relative mode quandary with example

2004-01-01 Thread chip
I am using relative mode to enter notes, and have defined a variable to 
hold a phrase, which contains one ' mark on the first note. When I call 
that variable in the piece multiple times consequitively, it is raised 
an octave each time because of the ' mark. I can't add a , to the last 
note becuase that will lower the last note an octave too low. Is there a 
way to work around this or should I use absolute mode?
The code in question is copied below.
Thanks
--
Chip

The code in question -

interTwo = \notes {
r8 r16 fis' fis4 r gis
ais4 r8 ais gis4 ais
}


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: relative mode quandary with example

2004-01-01 Thread Paul Scott
chip wrote:

I am using relative mode to enter notes, and have defined a variable 
to hold a phrase, which contains one ' mark on the first note. When I 
call that variable in the piece multiple times consequitively, it is 
raised an octave each time because of the ' mark. I can't add a , to 
the last note becuase that will lower the last note an octave too low. 
Is there a way to work around this or should I use absolute mode?
The code in question is copied below.
Thanks
--
Chip

The code in question -

interTwo = \notes {
r8 r16 fis' fis4 r gis
ais4 r8 ais gis4 ais
}
It looks like you are answering your own questions but:

How about

interTwo = \notes\relative c' {
r8 r16 fis fis4 r gis
ais4 r8 ais gis4 ais
}
instead?

Paul Scott



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: relative mode quandary with example

2004-01-01 Thread Hans Forbrich
chip wrote:
 
 I am using relative mode to enter notes, and have defined a variable to
 hold a phrase, which contains one ' mark on the first note. When I call
 that variable in the piece multiple times consequitively, it is raised
 an octave each time because of the ' mark. I can't add a , to the last
 note becuase that will lower the last note an octave too low. Is there a
 way to work around this or should I use absolute mode?
 The code in question is copied below.
 Thanks
 --
 Chip
 
 The code in question -
 
 interTwo = \notes {
 r8 r16 fis' fis4 r gis
 ais4 r8 ais gis4 ais
 }
 

Try 

interTwo = \notes { 
 \relative c' c {
r8 r16 fis' fis4 r gis
ais4 r8 ais gis4 ais
 }
   }

IIRC, that tends to work.


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: relative mode quandary with example

2004-01-01 Thread chip
Paul Scott wrote:
  How about

interTwo = \notes\relative c' {
r8 r16 fis fis4 r gis
ais4 r8 ais gis4 ais
}


instead?

Paul Scott
Thanks, I tried it similarly before posting the original, but backwards 
- I put the relative in front of the notes and it didn't work. Cool, 
that makes that one group relative to that octave, and each variable 
assigned group can have a differant relativity. That helps a lot.
--
Chip



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user