Re: Piano crossings and ottava indications don't get along?

2014-11-09 Thread tisimst
Ryan,

Here's what I've got for you (in bold). Firstly, using explicit voices 
fixes the stem directions. The OttavaBracket's seem to be mis-behaving 
(and not showing up at all in the second measure, left hand--probably a 
bug), so you'll need some temporary overrides, but this should give you 
exactly what is needed. BTW, the bracket for 8vb should ALWAYS go 
below the staff, not above, but that can be changed if absolutely 
necessary. Oh, and you might as well use the \tuplet function (which 
reverses the fraction, meaning put 6 notes where you would normally 
see 4). Here's the working code:

%- SNIP 

\version 2.18.2

right = \relative c'' {
  \voiceOne
  \once \override Staff.OttavaBracket.stencil = ##f
  \ottava #-1 
  \tuplet 6/4 { \change Staff = left c,,,16 ees g c \change Staff = 
right ees g } 
  \ottava #0 
  \tuplet 6/4 { c ees g c ees g } 
  \tuplet 6/4 { c b bes a aes g } 
  \tuplet 6/4 { ges f e ees d des } |
  
  % for some reason, this is the only OttavaBracket that shows up 
  % (a bug?), so it needs to be moved WAY down below the lower voice
  \once \override Staff.OttavaBracket.extra-offset = #'(0 . -17)
  \ottava #-1 
  \tuplet 6/4 { \change Staff = left c,,,16 ees g c \change Staff = 
right ees g } 
  \ottava #0 
  \tuplet 6/4 { c ees g c ees g } 
  \tuplet 6/4 { c b bes a aes g } 
  \tuplet 6/4 { ges f e ees d des } 
}

left = \relative c' {
  \voiceTwo
  \ottava #-1
  \tuplet 6/4 { c,,, g' c ees g c } 
  \ottava #0 
  \tuplet 6/4 { ees g c \change Staff = right ees g c } 
  \tuplet 6/4 { ees d des c b bes } 
  \tuplet 6/4 { a aes g ges f e } |
  
  \ottava #-1 
  \change Staff = left 
  \tuplet 6/4 { c,,, g' c ees g c } 
  \ottava #0 
  \tuplet 6/4 { ees g c \change Staff = right ees g c } 
  \tuplet 6/4 { ees d des c b bes } 
  \tuplet 6/4 { a aes g ges f e }  
}

\score {
  \new PianoStaff 
\new Staff = right \new Voice \right
\new Staff = left { \clef bass \new Voice \left }
  
  \layout {}
}

%- SNIP 

 HTH,
Abraham

On Sun, Nov 9, 2014 at 12:39 AM, Ryan McClure [via Lilypond] 
ml-node+s1069038n168567...@n5.nabble.com wrote:
 This has been my kind of day...I forgot to attach the files. 
 
 
 
 
 
 Piano.ly
 
 Once again, thank you all for any help you may be able to give me.
 Ryan McClure 
 
 Music Education Major, Shepherd University 
 Luna Music Engraving 
 www.lunamusicengraving.com
 
 
 If you reply to this email, your message will be added to the 
 discussion below:
 http://lilypond.1069038.n5.nabble.com/Piano-crossings-and-ottava-indications-don-t-get-along-tp168566p168567.html
 To start a new topic under User, email 
 ml-node+s1069038n...@n5.nabble.com 
 To unsubscribe from Lilypond, click here.
 NAML




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Piano-crossings-and-ottava-indications-don-t-get-along-tp168566p168568.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Piano crossings and ottava indications don't get along?

2014-11-09 Thread tisimst
Ryan,

I figured out what was going on with the other OttavaBracket. It turns 
out that if you change staff AND change the ottavation at the same 
musical moment, then you must \change Staff FIRST for the 
OttavaBracket to appear in the lower voice. So, here's the updated 
(correct) code:

%- SNIP 

 \version 2.18.2

right = \relative c'' {
  \voiceOne
  \once \override Staff.OttavaBracket.stencil = ##f
  \ottava #-1 
  \tuplet 6/4 { \change Staff = left c,,,16 ees g c \change Staff = 
right ees g } 
  \ottava #0 
  \tuplet 6/4 { c ees g c ees g } 
  \tuplet 6/4 { c b bes a aes g } 
  \tuplet 6/4 { ges f e ees d des } |
  
  \once \override Staff.OttavaBracket.stencil = ##f
  \ottava #-1 
  \tuplet 6/4 { \change Staff = left c,,,16 ees g c \change Staff = 
right ees g } 
  \ottava #0 
  \tuplet 6/4 { c ees g c ees g } 
  \tuplet 6/4 { c b bes a aes g } 
  \tuplet 6/4 { ges f e ees d des } 
}

left = \relative c' {
  \voiceTwo
  \ottava #-1
  \tuplet 6/4 { c,,, g' c ees g c } 
  \ottava #0 
  \tuplet 6/4 { ees g c \change Staff = right ees g c } 
  \tuplet 6/4 { ees d des c b bes } 
  \tuplet 6/4 { a aes g ges f e } |
  
  \change Staff = left
  \ottava #-1 
  \tuplet 6/4 { c,,, g' c ees g c } 
  \ottava #0 
  \tuplet 6/4 { ees g c \change Staff = right ees g c } 
  \tuplet 6/4 { ees d des c b bes } 
  \tuplet 6/4 { a aes g ges f e }  
}

\score {
  \new PianoStaff 
\new Staff = right \new Voice \right
\new Staff = left { \clef bass \new Voice \left }
  
  \layout {}
}

%- SNIP 

-Abraham

P.S. Developers, should it make a difference what the order is for 
\change Staff and \ottava? Procedurally, it makes sense to have \change 
Staff come first, but I was just wondering if, theoretically at least, 
the order should matter...

On Sun, Nov 9, 2014 at 12:39 AM, Ryan McClure [via Lilypond] 
ml-node+s1069038n168567...@n5.nabble.com wrote:
 This has been my kind of day...I forgot to attach the files. 
 
 
 
 
 
 Piano.ly
 
 Once again, thank you all for any help you may be able to give me.
 Ryan McClure 
 
 Music Education Major, Shepherd University 
 Luna Music Engraving 
 www.lunamusicengraving.com
 
 
 If you reply to this email, your message will be added to the 
 discussion below:
 http://lilypond.1069038.n5.nabble.com/Piano-crossings-and-ottava-indications-don-t-get-along-tp168566p168567.html
 To start a new topic under User, email 
 ml-node+s1069038n...@n5.nabble.com 
 To unsubscribe from Lilypond, click here.
 NAML




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Piano-crossings-and-ottava-indications-don-t-get-along-tp168566p168570.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Piano crossings and ottava indications don't get along?

2014-11-08 Thread Ryan McClure
This has been my kind of day...I forgot to attach the files.


http://lilypond.1069038.n5.nabble.com/file/n168567/Piano.png 


Piano.ly http://lilypond.1069038.n5.nabble.com/file/n168567/Piano.ly  

Once again, thank you all for any help you may be able to give me.



-
Ryan McClure

Music Education Major, Shepherd University
Luna Music Engraving
www.lunamusicengraving.com
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Piano-crossings-and-ottava-indications-don-t-get-along-tp168566p168567.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user