Re: problem with horizontal shift of note

2009-03-08 Thread James E. Bailey


On 08.03.2009, at 06:24, Tom Cloyd wrote:

After 3 months away from Lilypond, I'm back, thankfully. All  
updated and sailing...right into a wall. I could really use a hint  
about this current problem.


I cannot get a horizontal shift of a note, resulting in an ugly  
collision. I think the problem is the too many clashing note  
columns warnings I keep getting. I dimly recall someone telling me  
what to do with that, but it's long gone from my memory, and in any  
case hasn't been a problem (that I'm aware of). My score is, and  
has been, working well. This is an old problem I'm trying to fix  
tonight.


At the risk of overload, I'll include the full program and CLI  
output, the latter first:


I haven't begun to compile your score, but I see something (that I've  
corrected a lot of in the past weeks).

You have, essentially:
\version 2.12.2

vOne = \relative c'' \new Voice {
\voiceOne
c d a c
d e d c
}

vTwo = \relative c'' \new Voice {
\voiceTwo
a g f a
%% The following two lines are equivalent
{b c a a}\\{a g g f}
%	\new Voice = voiceOne {\voiceOne b c a a } \new Voice = voiceTwo  
{\voiceTwo a g g f }  \oneVoice

}

\score {\new Staff \vOne \vTwo}

You'll notice here that in vTwo, there is a section that puts music  
in voiceOne, which already has music, that'll cause collisions. You  
may want to change to voiceFour, and then do your manual note  
shifting using:


vTwoFour = \relative c'' \new Voice {
  \voiceTwo
  a g f a
  {b c a a}\new Voice = vFour { \voiceFour \shiftOn a \shiftOff g  
\shiftOn g \shiftOff f}\oneVoice

}

\score { \new Staff \vOne \vTwo



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


Re: problem with horizontal shift of note

2009-03-08 Thread Mats Bengtsson

Tom Cloyd wrote:

...
Well, I'm really really stuck.

I tried renaming \voiceTwo to \voiceThree: I got an explosion of too
many clashing note columns warnings, and NO change in my note collision
problem.

I tried sticking \shiftOn in various places in the program - beginning
of the voice, beginning of the measure, other places. No effect.

I have tried putting getting either in b in the upper voice or the a in
the lower voice to shift - I want the b to go to the right. Nothing 
moves.


No matter what I do - no note shift. My current version of measure 15 is:

 \shiftOn
 a-1 ^[2*] \once \override NoteColumn #'force-hshift = #2.0 b |

The b is still colliding with the a in the lower voice.

Any ideas?
I recommend you to read Section 3.2 Voices contain music of the 
Learning Manual included in the LilyPond documentation for the latest 
version, especially subsection 3.2.2.


Applying the ideas described there, to measure 15 of tenor voice of your 
example, would lead to


  
  \new Voice {\voiceFour  e-1 2  a-1 4 g |}

  {  c,-2 a-4\6 2  d g,-2 } |



which gives the desired note shift and no warnings.

   /Mats


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


problem with horizontal shift of note

2009-03-07 Thread Tom Cloyd
After 3 months away from Lilypond, I'm back, thankfully. All updated and 
sailing...right into a wall. I could really use a hint about this 
current problem.


I cannot get a horizontal shift of a note, resulting in an ugly 
collision. I think the problem is the too many clashing note columns 
warnings I keep getting. I dimly recall someone telling me what to do 
with that, but it's long gone from my memory, and in any case hasn't 
been a problem (that I'm aware of). My score is, and has been, working 
well. This is an old problem I'm trying to fix tonight.


At the risk of overload, I'll include the full program and CLI output, 
the latter first:


===begin CLI output
t...@tomc-desktop:~/Music/Music_scores/Lilypond$ lilypond chorale01.ly
GNU LilyPond 2.12.2
Processing `chorale01.ly'
Parsing...
Interpreting music... [8][16][24]
Preprocessing graphical objects...
chorale01.ly:168:18: warning: ignoring too many clashing note columns
 {  f-3 c-1  
 d-2 b-3 | }\\
chorale01.ly:168:6: warning: ignoring too many clashing note columns
 { 
 f-3 c-1   d-2 b-3 | }\\
chorale01.ly:156:65: warning: ignoring too many clashing note columns
   { e-1 2 \once \override NoteColumn #'force-hshift = #2.0 
a-1 4 
g |} \\

chorale01.ly:156:7: warning: ignoring too many clashing note columns
   {
  e-1 2 \once \override NoteColumn #'force-hshift = #2.0  a-1 4 
g |} \\

Interpreting music...
MIDI output to `chorale01.midi'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `chorale01.ps'...
Converting to `./chorale01.pdf'...
t...@tomc-desktop:~/Music/Music_scores/Lilypond$
=== end output

=== begin Ly program ===
\version 2.12.2-1
#(set-global-staff-size 20) % 20 this is said to be standard for most scores
date = #(strftime %Y.%m.%d (localtime (current-time))) % define a 
variable to hold the formatted date

#(define RH rightHandFinger) %assigns value to RH

\header {
 % * centered  top *
 %dedication=dedication %centered above title, top of page one
 title = Chorale #1 %centered below dedication
 %subtitle = subtitle %centered below title
 subsubtitle = \markup { (2008.11.03) - version \date } %centered 
below subtitle
   %piece = (piece) %{ useful only with multi-piece set given Opus 
number; set flus left below meter %}
   instrument = Classical Guitar  %{ centered below the subsubtitle, 
and at the top of pages (other than the first page). %}


 % * flush right *
 composer = \markup \center-column {Tom Cloyd \small 
t...@tomcloyd.com } %flush right

   %arranger = {arranger} %flush right below composer
 %opus = {opus} %flush right below arranger

 % * centered, bottom of page *
   copyright = © 2008 Tom Cloyd %centered at the bottom of the first page
 tagline = \markup { \small score set with Lilipond  
(http://lilypond.org/web/)} % centered at the bottom of the last page

}

\paper {
 #(set-default-paper-size letter 'portrait)
 ragged-last-bottom = ##t % turns off vertical justify
 left-margin = 0.6\in
 line-width = 7\in   % works better than specifying R-margin
 bottom-margin = 0.7\in
 top-margin = 0.7\in
}

% variables =

% LH fingering orientations
   sfol = \set Staff.fingeringOrientations = #'(left)
   sfor = \set Staff.fingeringOrientations = #'(right)
   sfod = \set Staff.fingeringOrientations = #'(down)
   sfou = \set Staff.fingeringOrientations = #'(up)

% RH  fingering orientations
   ssfol = \set Staff.strokeFingerOrientations = #'(left)
   ssfor = \set Staff.strokeFingerOrientations = #'(right)
   ssfod = \set Staff.strokeFingerOrientations = #'(down)
   ssfou = \set Staff.strokeFingerOrientations = #'(up)

%  string number orientations
   ssnol =  \set Staff.stringNumberOrientations = #'(left)  %(down 
right up)

   ssnou =  \set Staff.stringNumberOrientations = #'(up)
   ssnod =  \set Staff.stringNumberOrientations = #'(down)
   ssnor =  \set Staff.stringNumberOrientations = #'(right)

% Finger stroke symbols
 strokeUp = \markup { \postscript #
   0.1 setlinewidth
   0.5 0   moveto
   0.5 2   lineto
   0.2 1.4 lineto
   0.5 2   moveto
   0.8 1.4 lineto
   stroke
 }
 strokeDown = \markup { \postscript #
   0.1 setlinewidth
   0.5 2   moveto
   0.5 0   lineto
   0.2 0.6 lineto
   0.5 0   moveto
   0.8 0.6 lineto
   stroke
 }

% VOICE ONE 
melody = \relative c' {
 \clef treble_8
 \key a \minor
 \time 4/4
 \tempo Moderato 4 = 98 %{ metronome marking will be in parentheses, 
if accompanied by verbal tempo marking; or just precede it with empty 
parentheses to obtain metron. marking in parens. %}

 \voiceOne
 \sfol %LH fingering placement
 \ssfor %RH fingering placement
 \ssnol %string number placement
  e c-1 g 2  f-1 4  g-4   |
 g4. e8 c2 ^C I |
 c   d-4 4 e |
 d2 ^C III  e-4 4 g |
  a-4 2  a-4 4 ^5/6 C III  g-1  |
 % m 6 = = = =
  e c g 2  d b-2  ^C III | 

Re: problem with horizontal shift of note

2009-03-07 Thread Tom Cloyd

Tom Cloyd wrote:
After 3 months away from Lilypond, I'm back, thankfully. All updated 
and sailing...right into a wall. I could really use a hint about this 
current problem.


I cannot get a horizontal shift of a note, resulting in an ugly 
collision. I think the problem is the too many clashing note columns 
warnings I keep getting. I dimly recall someone telling me what to do 
with that, but it's long gone from my memory, and in any case hasn't 
been a problem (that I'm aware of). My score is, and has been, working 
well. This is an old problem I'm trying to fix tonight.


At the risk of overload, I'll include the full program and CLI output, 
the latter first:


===begin CLI output
t...@tomc-desktop:~/Music/Music_scores/Lilypond$ lilypond chorale01.ly
GNU LilyPond 2.12.2
Processing `chorale01.ly'
Parsing...
Interpreting music... [8][16][24]
Preprocessing graphical objects...
chorale01.ly:168:18: warning: ignoring too many clashing note columns
 {  f-3 c-1  
 d-2 b-3 | }\\
chorale01.ly:168:6: warning: ignoring too many clashing note columns
 { 
 f-3 c-1   d-2 b-3 | }\\
chorale01.ly:156:65: warning: ignoring too many clashing note columns
   { e-1 2 \once \override NoteColumn #'force-hshift = #2.0 
a-1 4 
g |} \\

chorale01.ly:156:7: warning: ignoring too many clashing note columns
   {
  e-1 2 \once \override NoteColumn #'force-hshift = #2.0  a-1 4 
g |} \\

Interpreting music...
MIDI output to `chorale01.midi'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `chorale01.ps'...
Converting to `./chorale01.pdf'...
t...@tomc-desktop:~/Music/Music_scores/Lilypond$
=== end output

=== begin Ly program ===
\version 2.12.2-1
#(set-global-staff-size 20) % 20 this is said to be standard for most 
scores
date = #(strftime %Y.%m.%d (localtime (current-time))) % define a 
variable to hold the formatted date

#(define RH rightHandFinger) %assigns value to RH

\header {
 % * centered  top *
 %dedication=dedication %centered above title, top of page one
 title = Chorale #1 %centered below dedication
 %subtitle = subtitle %centered below title
 subsubtitle = \markup { (2008.11.03) - version \date } %centered 
below subtitle
   %piece = (piece) %{ useful only with multi-piece set given Opus 
number; set flus left below meter %}
   instrument = Classical Guitar  %{ centered below the subsubtitle, 
and at the top of pages (other than the first page). %}


 % * flush right *
 composer = \markup \center-column {Tom Cloyd \small 
t...@tomcloyd.com } %flush right

   %arranger = {arranger} %flush right below composer
 %opus = {opus} %flush right below arranger

 % * centered, bottom of page *
   copyright = © 2008 Tom Cloyd %centered at the bottom of the first 
page
 tagline = \markup { \small score set with Lilipond  
(http://lilypond.org/web/)} % centered at the bottom of the last page

}

\paper {
 #(set-default-paper-size letter 'portrait)
 ragged-last-bottom = ##t % turns off vertical justify
 left-margin = 0.6\in
 line-width = 7\in   % works better than specifying R-margin
 bottom-margin = 0.7\in
 top-margin = 0.7\in
}

% variables =

% LH fingering orientations
   sfol = \set Staff.fingeringOrientations = #'(left)
   sfor = \set Staff.fingeringOrientations = #'(right)
   sfod = \set Staff.fingeringOrientations = #'(down)
   sfou = \set Staff.fingeringOrientations = #'(up)

% RH  fingering orientations
   ssfol = \set Staff.strokeFingerOrientations = #'(left)
   ssfor = \set Staff.strokeFingerOrientations = #'(right)
   ssfod = \set Staff.strokeFingerOrientations = #'(down)
   ssfou = \set Staff.strokeFingerOrientations = #'(up)

%  string number orientations
   ssnol =  \set Staff.stringNumberOrientations = #'(left)  %(down 
right up)

   ssnou =  \set Staff.stringNumberOrientations = #'(up)
   ssnod =  \set Staff.stringNumberOrientations = #'(down)
   ssnor =  \set Staff.stringNumberOrientations = #'(right)

% Finger stroke symbols
 strokeUp = \markup { \postscript #
   0.1 setlinewidth
   0.5 0   moveto
   0.5 2   lineto
   0.2 1.4 lineto
   0.5 2   moveto
   0.8 1.4 lineto
   stroke
 }
 strokeDown = \markup { \postscript #
   0.1 setlinewidth
   0.5 2   moveto
   0.5 0   lineto
   0.2 0.6 lineto
   0.5 0   moveto
   0.8 0.6 lineto
   stroke
 }

% VOICE ONE 
melody = \relative c' {
 \clef treble_8
 \key a \minor
 \time 4/4
 \tempo Moderato 4 = 98 %{ metronome marking will be in parentheses, 
if accompanied by verbal tempo marking; or just precede it with empty 
parentheses to obtain metron. marking in parens. %}

 \voiceOne
 \sfol %LH fingering placement
 \ssfor %RH fingering placement
 \ssnol %string number placement
  e c-1 g 2  f-1 4  g-4   |
 g4. e8 c2 ^C I |
 c   d-4 4 e |
 d2 ^C III  e-4 4 g |
  a-4 2  a-4 4 ^5/6 C III  g-1  |
 % m 6 = = = =
  e c g