Re: Clef change before first note

2003-03-17 Thread Mats Bengtsson
Han-Wen Nienhuys wrote:
[EMAIL PROTECTED] writes:

  \partial 8 s8 \bar 

This seems to render a fairly acceptable result, but it really feels 
like a hack.  Is there a less convoluted solution?

Notice that the problem is only seen when doing a temporary clef change 
before the first note or rest.  After the first note or rest the clef 
change works just fine, leaving the initial clef visible as expected.


We could introduce a special alignment-class for clef changes, but I'm
not sure what the proper notation of a clef change at the beginning of
the line is ; I believe that 2 clefs at the same musical point would
only be necessary at the start of a piece, right?
Not necessarily! I could imagine pieces where you want to indicate
a major clef change after a double bar line, say, but where the
part still begins with a rest and some cue notes from another part
in another clef, similarly to the example sent earlier in this thread.
   /Mats



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


Re: Clef change before first note

2003-03-17 Thread Mats Bengtsson
Simon Bailey wrote:
On Mon, 2003-03-17 at 06:01, Daniel Ashton wrote:

Also, how can I get the curly brace visible to the left of the staves in 
this example?


you could try using \context PianoStaff -- that puts a curly brace to
the side of two staves. if it's not a piano piece, then you could use
\context StaffGroup -- the brace is not curly, but straight.
And if you want the curly brace but it's not a piano piece, use the
\context GrandStaff.
   /Mats



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


Re: Clef change before first note

2003-03-16 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes:
\partial 8 s8 \bar 
 
 This seems to render a fairly acceptable result, but it really feels 
 like a hack.  Is there a less convoluted solution?
 
 Notice that the problem is only seen when doing a temporary clef change 
 before the first note or rest.  After the first note or rest the clef 
 change works just fine, leaving the initial clef visible as expected.

We could introduce a special alignment-class for clef changes, but I'm
not sure what the proper notation of a clef change at the beginning of
the line is ; I believe that 2 clefs at the same musical point would
only be necessary at the start of a piece, right?


-- 
Han-Wen Nienhuys   |   [EMAIL PROTECTED]   |   http://www.cs.uu.nl/~hanwen 


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


Re: Clef change before first note

2003-03-16 Thread Daniel Ashton
Han-Wen Nienhuys wrote:

[EMAIL PROTECTED] writes:

  \partial 8 s8 \bar 

This seems to render a fairly acceptable result, but it really feels 
like a hack.  Is there a less convoluted solution?


(It's convoluted partly because every voice now requires a leading s8.)


Notice that the problem is only seen when doing a temporary clef change 
before the first note or rest.  After the first note or rest the clef 
change works just fine, leaving the initial clef visible as expected.


We could introduce a special alignment-class for clef changes, but I'm
not sure what the proper notation of a clef change at the beginning of
the line is ; I believe that 2 clefs at the same musical point would
only be necessary at the start of a piece, right?
Right.  I've attached a scan of the example I'm working from.  I would 
suggest a new command called \clefChange that would be like \clef, but 
would never override the starting clef at the beginning of the piece. 
If \clefChange is the first clef command found, then the implicit treble 
clef should be visible.

Also, how can I get the curly brace visible to the left of the staves in 
this example?

Thanks,

Daniel

--
Daniel Ashton  PGP key available http://Daniel.AshtonFam.org
mailto:[EMAIL PROTECTED] http://ChamberMusicWeekend.org
mailto:[EMAIL PROTECTED]  ICQ# 9445142  http://ZephyrBrass.com
inline: ClefChange.gif___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: Clef change before first note

2003-03-16 Thread Simon Bailey
On Mon, 2003-03-17 at 06:01, Daniel Ashton wrote:
 Also, how can I get the curly brace visible to the left of the staves in 
 this example?

you could try using \context PianoStaff -- that puts a curly brace to
the side of two staves. if it's not a piano piece, then you could use
\context StaffGroup -- the brace is not curly, but straight.


\score {
  
\context PianoStaff 
  \context Staff = right 
\right
  
  \context Staff = left 
\left
  

  
}


or 


\score {
  
\context StaffGroup 
  \context Staff = right 
\right
  
  \context Staff = left 
\left
  

  
}


regards,
simon.
-- 
Don't be irreplaceable, if you can't be replaced, you can't be promoted.



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


Re: Clef change before first note

2003-03-15 Thread Graham Percival
On Sat, 15 Mar 2003 18:21:13 -0500
Daniel Ashton [EMAIL PROTECTED] wrote:
 I need an organ right-hand staff in which the first symbols are
 
G clef, key signature, time signature, F clef, eight rest, notes, etc
 
 The G clef is not visible.  How can I force the G clef to show up, then 
 display the F clef as a (smaller) clef-change symbol?

You could probably get it with a spacer note:

\clef G
\key a \major
\time 17/16
\partial 16 s16
\clef F
r8


HTH,
- Graham


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