Re: Can't get page breaks for 7 over square root of 71 meter

2016-11-03 Thread Werner LEMBERG

> A meter of 7/sqr(71) [...]
> The problem comes from Lilypond's bizarre assumption that at some
> point all the barlines in the score will line up.  [...]
> 
> That's a) insane,

Mhmm.

> b) stupid,

Mhmm, mhmm.

> c) unmusical,

You are joking, aren't you?  Show me *any* piece that uses this –
except stuff constructed just to demonstrate a non-rationale meter.

> No matter where I place bar checks and page breaks, Lilypond
> absolutely posistively 100% utterly totally refuses to break the
> page.

This is probably a buglet, since noone had yet the idea of using a
non-rationale meter, so please provide a minimum example and mail it
to bug-lilypond.


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


Spacing issue

2016-11-03 Thread mclaren
This particular score has a peculiar spacing issue. I used the recommended
proportional spacing code given in the Lilypond manual, and I've fiddled
with the make-moment values, but notes that should be exactly evenly spaced
are still distinctly crimped up.  Unless I haven't understood the
proportional spacing code in the Lilypond manual, which is always a
possibility.

The spacing of the notes on the first staff is fine, exactly as it should
be. On the second staff there are no tuplets, so logically you would expect
that the spacing should be precisely even on the eighth notes and sixteenth
notes since we're using the proportional spacing code from the snippet
library. But instead, on the second staff, the third sixteenth note in the
first group is all squished and one of the eighth notes in the fifth group
of eighth notes on the second staff is squashed together.

What I want here is for eighth notes to take the same amount of space on the
page each time they occur. The tuplets should get squished and expanded as
necessary, but the regular eighth notes and sixteenth should always take up
the same amount space relative to one another on the page. But that's not
what's happening, so presumably I'm doing something wrong.

The same problem recurs on the third staff. Notice that the eighth notes are
all standard plain-vanilla eighth notes in the third staff. Only the rests
are tuplets in the third staff -- the eighth notes on the third staff never
vary in duration, so logically the eighth notes should all be spaced evenly
relative to one another. But that isn't happening, and I can't figure out
why.

Any suggestions?

\version "2.18.2"

\header { 
  tagline = ""  % removed 
} 

#(set-default-paper-size "a4" 'landscape)
indent=0
\layout{

  \context {
  \Score
 \override SpacingSpanner.uniform-stretching = ##t  
 \omit Score.BarLine
   }
  % \override Score.SpacingSpanner.strict-note-spacing = ##t
   \context {
  \Score
  proportionalNotationDuration = #(ly:make-moment 3/20)  
}
  
  \context {
\type Engraver_group
% Add elements that _can_ be printed
\consists "Timing_translator"
\consists "Time_signature_engraver"
   
\alias "Staff"  
  }
  \context {
\Score
%\accepts "TimeLine"

\override TupletNumber.text = #tuplet-number::calc-fraction-text
  }
  \context {
\Staff
\consists "Timing_translator"  
  }
}

{

<<
%  \new TimeLine {\time 48/8}

\new Staff { \clef "treble"
  \time 48/8   

% 14 x 7:4 eighths = 8 eighths
% 10 x 5:3 eighths = 6 eighths
% 6 x 3:2 eighths = 4 eighths
% 15 x 1/4 =30 eighths
% Total = 30 + 4 + 6 + 8 = 48/8
{

\relative c'' {c4 \tuplet 7/4 {c8[ c8]}  c4 \tuplet 5/3 {c8[ c8]} r4
\tuplet 7/4 {c8[ c8]} c4 \tuplet 3/2{c8[ c8]} c4 
\tuplet 7/4 {c8[  c8 c8]} c4 \tuplet 5/3{c8[ c8]} r4 
\tuplet 7/4{c8[ c8]} c4 \tuplet 3/2{c8[ c8]} c4 
\tuplet 7/4{c8[ c8]} r4 \tuplet 5/3{c8[ c8]} c4 
\tuplet 7/4{c8[ c8 c8]} c4 \tuplet 5/3{c8[ c8]}  c4 
\tuplet 3/2{c8[ c8]} r4 \tuplet 5/3{c8[ c8]}  
}
\relative c'' {c4 \tuplet 7/4 {c8[ c8]}  c4 \tuplet 5/3 {c8[ c8]} r4
\tuplet 7/4 {c8[ c8]} c4 \tuplet 3/2{c8[ c8]} c4 
\tuplet 7/4 {c8[  c8 c8]} c4 \tuplet 5/3{c8[ c8]} r4 
\tuplet 7/4{c8[ c8]} c4 \tuplet 3/2{c8[ c8]} c4 
\tuplet 7/4{c8[ c8]} r4 \tuplet 5/3{c8[ c8]} c4 
\tuplet 7/4{c8[ c8 c8]} c4 \tuplet 5/3{c8[ c8]}  c4 
\tuplet 3/2{c8[ c8]} r4 \tuplet 5/3{c8[ c8]}  
}

}

}  

\new Staff { \clef "treble"
  \time 44/8   
{
% 8x r8 + 8x3 c8 + 8x3 c16 = 8 + 24 + 12 = 44/8

\relative c''{r8 c8[ c8 c8 c16 c16 c16]} 
\relative c''{r8 c8[ c8 c8 c16 c16 c16]}
\relative c''{r8 c16[ c16 c16 c8 c8 c8]}
\relative c''{r8 c8[ c8 c8 c16 c16 c16]}
\relative c''{r8 c8[ c8 c8 c16 c16 c16]} 
\relative c''{r8 c16[ c16 c16 c8 c8 c8]}
\relative c''{r8 c16[ c16 c16 c8 c8 c8]} 
\relative c''{r8 c16[ c16 c16 c8 c8 c8]} 


\relative c''{r8 c8[ c8 c8 c16 c16 c16]} 
\relative c''{r8 c8[ c8 c8 c16 c16 c16]}
\relative c''{r8 c16[ c16 c16 c8 c8 c8]}
\relative c''{r8 c8[ c8 c8 c16 c16 c16]}
\relative c''{r8 c8[ c8 c8 c16 c16 c16]} 
\relative c''{r8 c16[ c16 c16 c8 c8 c8]}
\relative c''{r8 c16[ c16 c16 c8 c8 c8]} 
\relative c''{r8 c16[ c16 c16 c8 c8 c8]} 
}

}

\new Staff { \clef "treble"
   \time 30/8
{
% 24 eighths + 3 x 3:2 = 2 eighths + 5 x 5:4 eighths = 4 eighths
% So the total is 24 + 4 + 2 = 30/8 time.

\relative c''{\tuplet 5/4{r8} c8[ c8 c8 c8]} 
\relative c''{\tuplet 3/2{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 5/4{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 3/2{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 5/4{r8} c8[ c8 c8 c8]} 
\relative c''{\tuplet 3/2{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 5/4{r8 r8}}

\relative c''{\tuplet 5/4{r8} c8[ c8 c8 c8]} 
\relative c''{\tuplet 3/2{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 5/4{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 3/2{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 5/4{r8} c8[ c8 c8 c8]} 
\relative c''{\tuplet 3/2{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 5/4{r8 r8}}
   
}
}

RE: How to get proper barlines, and how to get page breaks, on this score

2016-11-03 Thread Mark Stephen Mrotek
McLaren,

Be prepared to be chastised about "minimal snippet!"

Mark

-Original Message-
From: lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
mclaren
Sent: Thursday, November 03, 2016 8:57 PM
To: lilypond-user@gnu.org
Subject: How to get proper barlines, and how to get page breaks, on this
score

This score is a transcription of a rhythm I generated in Jens Johansen's
wonderful polyrthmic application Polymath.  It's a pretty catchy rhythm. 
But Lilypond has trouble handling it.

The barlines are obvious from the score, since this is nothing but a bunch
of hypermeasures. Notice that in each pair of staves (staff 1 & 2, staff 3 &
4, staff 5 & 6), the broken tuplets are offset so that the barlines are
well-formed for each hypermeasure and the point at which they occur is
pretty clear from the score. 

My problem?  I can't figure out make-moment values that will cause barlines
to get placed properly.

Then there's the additional problem of forcing a page break. The most
logical solution to getting a page break, namely, using a time signature
large enough to account for all the broken tuplets, would produce a time
signature so large that it crashes Lilypond. So that solution is out. Jens
Johansen's Polymath doesn't care about page breaks or barlines, so it has no
problem with rhythms like this. But Lilypond is based on traditional
notation, which has lots of trouble with these kinds of rhythms.

Any suggestions?

\version "2.18.2"
\header {
  tagline = ""  % removed 
 

} 


#(set-default-paper-size "a4" 'landscape)
\layout{

indent=0
}


\relative c'' 
{
<<
\new Staff { \clef "treble"
{
  \cadenzaOn
  \override Staff.TimeSignature #'stencil = ##f 
  { c4 c4 b4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 9/11 { c4 c4 d4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 }
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { b4 c4 c4 } 

  \override Staff.TimeSignature #'stencil = ##f 
  { d4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 11/9 { b4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 }
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 } 

  \override Staff.TimeSignature #'stencil = ##f 
  { c4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6 { c4 c4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 }
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 c4 } 
  \override Staff.TimeSignature #'stencil = ##f 

  { c4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6 { c4 c4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 c4}
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 c4 } 

  \cadenzaOn
  \override Staff.TimeSignature #'stencil = ##f 
  { c4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6 { c4 c4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 }
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 c4 } 

  \override Staff.TimeSignature #'stencil = ##f 
  { c4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6 { c4 c4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 }
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 c4 } 

  \override Staff.TimeSignature #'stencil = ##f 
  { c4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6 { c4 c4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 }
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 c4 } 
  \override Staff.TimeSignature #'stencil = ##f 

  { c4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6 { c4 c4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 c4}
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 c4 } 

}

}
\new Staff { \clef "treble"
\cadenzaOn
\relative c'' {
  \cadenzaOn
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6  { b4 c4 c4 } 
  \override Staff.TimeSignature #'stencil = ##f 
   {d4 c4 }
  \override Staff.TimeSignature #'stencil = ##f 
 

Re: Are page breaks possible with this kind of score? If so, how?

2016-11-03 Thread mclaren
Wow!  That's fantastic!  Thanks, Urs. You are a true Lilypond wizard. I abase
myself before your excellence.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Are-page-breaks-possible-with-this-kind-of-score-If-so-how-tp196124p196129.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


How to get proper barlines, and how to get page breaks, on this score

2016-11-03 Thread mclaren
This score is a transcription of a rhythm I generated in Jens Johansen's
wonderful polyrthmic application Polymath.  It's a pretty catchy rhythm. 
But Lilypond has trouble handling it.

The barlines are obvious from the score, since this is nothing but a bunch
of hypermeasures. Notice that in each pair of staves (staff 1 & 2, staff 3 &
4, staff 5 & 6), the broken tuplets are offset so that the barlines are
well-formed for each hypermeasure and the point at which they occur is
pretty clear from the score. 

My problem?  I can't figure out make-moment values that will cause barlines
to get placed properly.

Then there's the additional problem of forcing a page break. The most
logical solution to getting a page break, namely, using a time signature
large enough to account for all the broken tuplets, would produce a time
signature so large that it crashes Lilypond. So that solution is out. Jens
Johansen's Polymath doesn't care about page breaks or barlines, so it has no
problem with rhythms like this. But Lilypond is based on traditional
notation, which has lots of trouble with these kinds of rhythms.

Any suggestions?

\version "2.18.2"
\header { 
  tagline = ""  % removed 
 

} 


#(set-default-paper-size "a4" 'landscape)
\layout{

indent=0
}


\relative c'' 
{
<<
\new Staff { \clef "treble"
{
  \cadenzaOn
  \override Staff.TimeSignature #'stencil = ##f 
  { c4 c4 b4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 9/11 { c4 c4 d4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 }
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { b4 c4 c4 } 

  \override Staff.TimeSignature #'stencil = ##f 
  { d4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 11/9 { b4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 }
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 } 

  \override Staff.TimeSignature #'stencil = ##f 
  { c4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6 { c4 c4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 }
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 c4 } 
  \override Staff.TimeSignature #'stencil = ##f 

  { c4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6 { c4 c4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 c4}
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 c4 } 

  \cadenzaOn
  \override Staff.TimeSignature #'stencil = ##f 
  { c4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6 { c4 c4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 }
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 c4 } 

  \override Staff.TimeSignature #'stencil = ##f 
  { c4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6 { c4 c4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 }
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 c4 } 

  \override Staff.TimeSignature #'stencil = ##f 
  { c4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6 { c4 c4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 }
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 c4 } 
  \override Staff.TimeSignature #'stencil = ##f 

  { c4 c4 c4 }
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6 { c4 c4 c4 c4 } 
 \override Staff.TimeSignature #'stencil = ##f  
  { c4 c4 c4}
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6   { c4 c4 c4 c4 } 

}

}
\new Staff { \clef "treble"
\cadenzaOn
\relative c'' {
  \cadenzaOn
 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6  { b4 c4 c4 } 
  \override Staff.TimeSignature #'stencil = ##f 
   {d4 c4 }
  \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 9/11  {c4 b4 c4} 
  \override Staff.TimeSignature #'stencil = ##f 
  { c4 d4 c4}

 \override Staff.TimeSignature #'stencil = ##f 
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
  \times 5/6  { c4 b4 c4 } 
  \override Staff.TimeSignature 

Re: Are page breaks possible with this kind of score? If so, how?

2016-11-03 Thread Urs Liska


Am 04.11.2016 um 04:33 schrieb mclaren:
> Here's the score. It's pretty self-explanatory. I recognize that at this
> point we're stretching the bounds of Western music notation. It would be
> nice to be able to get page breaks with a score like this that goes on for
> several pages, but so far I haven't figured out how to do it. Trying to
> deduce the correct make-moment values would appear to require perceptions
> verging, as we may say, on the extrasensory.
>
> This is just a Conlon Nancarrow-style acceleration notated traditionally, by
> the way. Nancarrow was doing these kinds of rhythms back in the 1940s.  So
> this is far from exotic, musically speaking.

As Nathan Ho wrote in another thread you have to remove the
Forbid_line_break_engraver from the Voice context.
Then you can add a parallel voice to each staff specifying the break points.

See attached.

> \version "2.18.2"
>
> \paper {
>   indent = 0
> }
>
> \layout {
>   % Create time signature context
>   % Source: http://lsr.di.unimi.it/LSR/Snippet?id=272
>   % (modified)
>   \context {
> \type Engraver_group
> % Add elements that _can_ be printed
> \consists "Timing_translator"
> \consists "Time_signature_engraver"
> \consists "Axis_group_engraver"
> \name "TimeLine"
> \alias "Staff"
> 
> % Align time signatures on barlines
> \override TimeSignature.X-offset =
>   #ly:self-alignment-interface::x-aligned-on-self
> \override TimeSignature.self-alignment-X = #CENTER
>   }
>   \context {
> \Score
> \accepts "TimeLine"
> \remove "Timing_translator"
> \remove "Default_bar_line_engraver"
> \override TupletNumber.text = #tuplet-number::calc-fraction-text
>   }
>   \context {
> \Staff
> \consists "Timing_translator"
> \remove "Default_bar_line_engraver"
> \remove "Time_signature_engraver"
>
>   }
> }  
> <<
>  
>
>
> \new Staff { \clef "treble"
> \tuplet 9/10 {   
>  
> {
>  r2 b'2
>  
> {\tuplet 3/2 {a'4 \tuplet 4/3 {b'4\tuplet 6/5 {e''4 \tuplet 9/8 {f''4
> \tuplet 4/3 {d''4 \tuplet 5/4 {c''4  \tuplet 7/6 {d''4 \tuplet 10/9 {a''4
> \tuplet 5/4 {b''4 \tuplet 6/5 {c'''4 \tuplet 8/7 {d'''4 \tuplet 11/10 {e'''4
> \tuplet 6/5 {b'''4 \tuplet 7/6 {a'''4 \tuplet 9/8 {d4 \tuplet 12/11
> {e4 \tuplet 7/6 {f4 \tuplet 8/7 {a4 \tuplet 10/9 {g4\tuplet
> 13/12 {g4 \tuplet 8/7 {a4 \tuplet 9/8 {b4 \tuplet 11/10 {c'4
> \tuplet 14/13 {d'4}
> }
> }
> }
> \new Staff {  \clef "treble"
> \tuplet 15/22
> {   
>  
> {
>  b2
> {\tuplet 3/2 {a4 \tuplet 4/3 {b4\tuplet 6/5 {e'4 \tuplet 9/8 {f'4 \tuplet
> 4/3 {d'4 \tuplet 5/4 {c'4  \tuplet 7/6 {d'4 \tuplet 10/9 {a'4 \tuplet 5/4
> {b'4 \tuplet 6/5 {c''4 \tuplet 8/7 {d''4 \tuplet 11/10 {e''4 \tuplet 6/5
> {b''4 \tuplet 7/6 {a''4 \tuplet 9/8 {d'''4 \tuplet 12/11 {e'''4 \tuplet 7/6
> {f'''4 \tuplet 8/7 {a'''4 \tuplet 10/9 {g'''4\tuplet 13/12 {g'''4 \tuplet
> 8/7 {a'''4 \tuplet 9/8 {b'''4 \tuplet 11/10 {c4 \tuplet 14/13
> {c4}
> }
> }
> }
>
> \new Staff {  \clef "bass"
> \time 4/5
> \relative c,
> \scaleDurations 5/8
> {c d e f }  
> {d c d e }
> {c d e f }
>
> }
>
>
> --
> View this message in context: 
> http://lilypond.1069038.n5.nabble.com/Are-page-breaks-possible-with-this-kind-of-score-If-so-how-tp196124.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

\version "2.18.2"

\paper {
  indent = 0
  page-count = 2
}

\layout {
  % Create time signature context
  % Source: http://lsr.di.unimi.it/LSR/Snippet?id=272
  % (modified)
  \context {
\Voice
\remove "Forbid_line_break_engraver"
  }
  \context {
\type Engraver_group
% Add elements that _can_ be printed
\consists "Timing_translator"
\consists "Time_signature_engraver"
\consists "Axis_group_engraver"
\name "TimeLine"
\alias "Staff"

% Align time signatures on barlines
\override TimeSignature.X-offset =
#ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature.self-alignment-X = #CENTER
  }
  \context {
\Score
\accepts "TimeLine"
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
\override TupletNumber.text = #tuplet-number::calc-fraction-text
  }
  \context {
\Staff
\consists "Timing_translator"
\remove "Default_bar_line_engraver"
\remove "Time_signature_engraver"

  }
}

% Define line breaks
breaks = {
  {
s2. \bar "" \break
s2 \bar "" \break
  }
}

<<
  \new Staff <<
\breaks
{ 
  \clef "treble"
  \tuplet 9/10 {
r2 b'2
\tuplet 3/2 {
  a'4 
  \tuplet 4/3 {
b'4 \tuplet 6/5 { 
  e''4 \tuplet 9/8 {
f''4 \tuplet 4/3 {
  d''4 \tuplet 5/4 {
  

Another page-break problem, particularly fiendish

2016-11-03 Thread mclaren
This score fragment follows up on Lilypond code originally posted by Hans
Åberg  and Malte Men back in June, 2014, on this forum. I've carried the
notation a little bit farther. 

The question I have is: how the devil to generate a proper page break in a
score like this?

If there's a make-moment value that will do it, I can't figure it out. Any
suggestions?


\version "2.18.2" 
 

\header{ 
  title = "Example of irrational meter"
% Based on code by Hans Aberg and Malte Meyn, posted to Lilypond Nabble
forum June 2014 
 
  tagline = ##f  % Removing "Music engraving by LilyPond (version)" 
} 


above = { \once \override Script #'script-priority = #-100 } 
below = { \once \override TextScript #'script-priority = #-100 } 


irrtuplet = \once \override TupletNumber.text = 
 \markup \concat { 

   \tiny "√" 
   \hspace #-0.15 
   \override #'(offset . -16) 
   \override #'(thickness . 1.6) 
   \underline "17"
   ":"
   \tiny "√" 
   \hspace #-0.15 
   \override #'(offset . -16) 
   \override #'(thickness . 1.6) 
   \underline "3"
 } 

irrtupletb = \once \override TupletNumber.text = 
 \markup \concat { 

   \tiny "√" 
   \hspace #-0.15 
   \override #'(offset . -16) 
   \override #'(thickness . 1.6) 
   \underline "23"
   ":"
   \tiny "√" 
   \hspace #-0.15 
   \override #'(offset . -16) 
   \override #'(thickness . 1.6) 
   \underline "5"
 } 
 
 irrtupletc = \once \override TupletNumber.text = 
 \markup \concat { 

   \tiny "√" 
   \hspace #-0.15 
   \override #'(offset . -16) 
   \override #'(thickness . 1.6) 
   \underline "3"
   
 } 

music = << \new Staff { \clef "treble"
  \tempo 4 = 73 
 \cadenzaOn

  \override Staff.TimeSignature.stencil = #ly:text-interface::print 
  \override Staff.TimeSignature.text = 
  \markup \override #'(baseline-skip . 0) \center-column \number { 
\concat { 
\tiny "√" 
   \hspace #-0.15 
   \override #'(offset . -16) 
   \override #'(thickness . 1.6) 
   \underline "337" \tiny "/" "17"
   
   % sqr(3) + 4*sqr(17):sqr(3) =
   % sqr(17)/[sqr(17)*sqr(3)] + sqr(16)*[sqr(3)/sqr(17)] =
   % = sqr(289)/sqr(3) + sqr(48)/sqr(17) = 
   % sqr(337)/sqr(17) = 4.45236 quarter notes.
  
} 
\concat { 
  
  \tiny "√" 
   \hspace #-0.15 
   \override #'(offset . -16) 
   \override #'(thickness . 1.6) 
   \underline "17"
   ":"
   \tiny "√" 
   \hspace #-0.15 
   \override #'(offset . -16) 
   \override #'(thickness . 1.6) 
   \underline "3" 
} 
  } 


  \override TupletNumber.text = #tuplet-number::calc-fraction-text 

  \relative c' { 
   { 
  \once \override TextScript #'padding = #1.0 
  
  \irrtuplet \tuplet 219/92 {f8[ g] a[ d,]} \irrtuplet \tuplet 219/92
{e8[ g] b[ f]} \irrtupletc \tuplet 627/362 {r4}
  |
  \irrtuplet \tuplet 219/92 {a8[ g] a[ d,]} \irrtuplet \tuplet 219/92
{e8[ g] b[ f]} \irrtupletc \tuplet 627/362 {r4}
   
   | 
  } 
} 
  } 
  
  \new Staff { \clef "bass"
  
 

  \override Staff.TimeSignature.stencil = #ly:text-interface::print 
  \override Staff.TimeSignature.text = 
  \markup \override #'(baseline-skip . 0) \center-column \number { 
\concat { 
  "4" 
  
} 
\concat { 
  
  \tiny "√" 
   \hspace #-0.15 
   \override #'(offset . -16) 
   \override #'(thickness . 1.6) 
   \underline "23"
   ":"
   \tiny "√" 
   \hspace #-0.15 
   \override #'(offset . -16) 
   \override #'(thickness . 1.6) 
   \underline "5" 
} 
  } 


  \override TupletNumber.text = #tuplet-number::calc-fraction-text 

  \relative c { 
   { 
  \once \override TextScript #'padding = #1.0 
   
  \irrtupletb \tuplet 716/395 {a'8[ e] c[ b']} \irrtupletb \tuplet
716/395 {e,8[ b] d[ a']} 
  |
  \irrtupletb \tuplet 716/395 {f8[ e] c[ b']} \irrtupletb \tuplet
716/395 {e,8[ b] d[ a']}   
   | 
  } 
} 
  } 

>> 

\score { 
  \music 
\layout {

#(set-default-paper-size "a4" 'landscape)

}
} 
 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Another-page-break-problem-particularly-fiendish-tp196126.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: Lilypon error message: "Programming error -- bounds of the piece aren't breakable"

2016-11-03 Thread Urs Liska
If you run that score with the current development version it will not
crash but produce the attached result (for your reference).

But the log shows that you have errors in it (you can ignore the
warnings about strange time signatures but look for warning: mid-measure
time signature without \partial). Obviously LilyPond 2.18 didn't
gracefully handle the faulty input.

Starting lilypond 2.19.50 [Untitled]...

Processing `/tmp/frescobaldi-GQAw3f/tmp5ji_kp/document.ly'

Parsing...

Interpreting music...

/tmp/frescobaldi-GQAw3f/tmp5ji_kp/document.ly:53:20 <0>: warning:
strange time signature found: 2885/403

\time 2885/403

/tmp/frescobaldi-GQAw3f/tmp5ji_kp/document.ly:89:20 <1>: warning:
strange time signature found: 7706/693

\time 7706/693

/tmp/frescobaldi-GQAw3f/tmp5ji_kp/document.ly:63:22 <2>: warning:
strange time signature found: 4285/631

\time 4285/631

/tmp/frescobaldi-GQAw3f/tmp5ji_kp/document.ly:63:22 <3>: warning:
mid-measure time signature without \partial

\time 4285/631

/tmp/frescobaldi-GQAw3f/tmp5ji_kp/document.ly:93:20 <4>: warning:
strange time signature found: 4127/393

\time 4127/393

/tmp/frescobaldi-GQAw3f/tmp5ji_kp/document.ly:93:20 <5>: warning:
mid-measure time signature without \partial

\time 4127/393

/tmp/frescobaldi-GQAw3f/tmp5ji_kp/document.ly:71:22 <6>: warning:
strange time signature found: 1071/115

\time 1071/115

/tmp/frescobaldi-GQAw3f/tmp5ji_kp/document.ly:71:22 <7>: warning:
mid-measure time signature without \partial

\time 1071/115

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Layout output to `/tmp/lilypond-QRomN1'...

Converting to `document.pdf'...

Deleting `/tmp/lilypond-QRomN1'...

Success: compilation successfully completed

Completed successfully in 1.1".

Am 04.11.2016 um 04:27 schrieb mclaren:
> Now we get to the interesting Lilypond scores, the ones that cause Lilypond
> to crash or produce error messages.  
>
> This simple score makes Lilypond die and stop engraving after a couple of
> measures with the error message "Programming error: bounds of this piece
> aren't  breakable."  Lilypond gives lots of "continuing -- crossing fingers"
> and ultimately fails to engrave the score.  Yet Lilypond claims "Completed
> successfully"!
>
> This simple score is broken up into measures of tuplets each of which has a
> large time signature. Because these time signatures would make Lilypond
> crash (LILYPOND HAS STOPPED WORKING is the error message), I have had to
> approximate the time signatures with smaller rational fraction
> approximations in each case.  This is a workaround, but it seems to work in
> other Lilypond scores without trouble.
>
> For example, the time signature 21632/3135 had to be approximated by the
> smaller time signature 2285/403. The smaller time signature is accurate to
> within a couple of parts per million, though, so it works out okay.
>
> That's not the issue. The issue is that Lilypond just can't seem to handle a
> score in which every note is a broken tuplet, and in which large time
> signatures are used. 
>
> Notice that by the time we reach the dotted quarter note tuplet 14 in the
> time of 11 B in the top measure, Lilypond has given up the ghost. Lilypond
> doesn't even print the tuplet. It has freaked out. Lilypond is no longer
> working properly.
>
> Clearly, this score makes Lilypond blow its stack. What I'd like to know is:
> is there any workaround? Any suggestions for getting Lilypond to actually
> engrave what I've entered?
>
> Lilhypond gives the message "Completed successfully" but clearly Lilypond
> isn't completing anything successfully. It gives up and stops engraving the
> score after the first two and a  half measures.
>
> Here's the Lilypond score:
>
> \version "2.18.2"
>
> \header { 
>   tagline = ""  % removed 
> } 
>
> #(set-default-paper-size "a4" 'landscape)
> \layout {
>
> %\paper  {}
> indent=0
>   % Create time signature context
>   % Source: http://lsr.di.unimi.it/LSR/Snippet?id=272
>   % (modified)
>   \context {
> \type Engraver_group
> % Add elements that _can_ be printed
> \consists "Timing_translator"
> \consists "Time_signature_engraver"
> \consists "Axis_group_engraver"
> \name "TimeLine"
> \alias "Staff"
> 
> % Align time signatures on barlines
> \override TimeSignature.X-offset =
>   #ly:self-alignment-interface::x-aligned-on-self
> \override TimeSignature.self-alignment-X = #CENTER
>   }
>   \context {
> \Score
> \accepts "TimeLine"
> \override TupletNumber.text = #tuplet-number::calc-fraction-text
>   }
>   \context {
> \Staff
> \consists "Timing_translator"
> \consists "Default_bar_line_engraver"
> 
>   }
> }
>
> {
>   
>   
> <<
>   
> \new Staff { \clef "treble"
>  \relative c''
> {
>
> \override Staff.TimeSignature #'stencil = ##f 
> %\time 86772/12121
>   \time 2885/403
>   { \tuplet 17/15 {c4} 
> \tweak direction #up

Are page breaks possible with this kind of score? If so, how?

2016-11-03 Thread mclaren
Here's the score. It's pretty self-explanatory. I recognize that at this
point we're stretching the bounds of Western music notation. It would be
nice to be able to get page breaks with a score like this that goes on for
several pages, but so far I haven't figured out how to do it. Trying to
deduce the correct make-moment values would appear to require perceptions
verging, as we may say, on the extrasensory.

This is just a Conlon Nancarrow-style acceleration notated traditionally, by
the way. Nancarrow was doing these kinds of rhythms back in the 1940s.  So
this is far from exotic, musically speaking.

\version "2.18.2"

\paper {
  indent = 0
}

\layout {
  % Create time signature context
  % Source: http://lsr.di.unimi.it/LSR/Snippet?id=272
  % (modified)
  \context {
\type Engraver_group
% Add elements that _can_ be printed
\consists "Timing_translator"
\consists "Time_signature_engraver"
\consists "Axis_group_engraver"
\name "TimeLine"
\alias "Staff"

% Align time signatures on barlines
\override TimeSignature.X-offset =
  #ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature.self-alignment-X = #CENTER
  }
  \context {
\Score
\accepts "TimeLine"
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
\override TupletNumber.text = #tuplet-number::calc-fraction-text
  }
  \context {
\Staff
\consists "Timing_translator"
\remove "Default_bar_line_engraver"
\remove "Time_signature_engraver"
   
  }
}  
<<
 


\new Staff { \clef "treble"
\tuplet 9/10 {   
 
{
 r2 b'2
 
{\tuplet 3/2 {a'4 \tuplet 4/3 {b'4\tuplet 6/5 {e''4 \tuplet 9/8 {f''4
\tuplet 4/3 {d''4 \tuplet 5/4 {c''4  \tuplet 7/6 {d''4 \tuplet 10/9 {a''4
\tuplet 5/4 {b''4 \tuplet 6/5 {c'''4 \tuplet 8/7 {d'''4 \tuplet 11/10 {e'''4
\tuplet 6/5 {b'''4 \tuplet 7/6 {a'''4 \tuplet 9/8 {d4 \tuplet 12/11
{e4 \tuplet 7/6 {f4 \tuplet 8/7 {a4 \tuplet 10/9 {g4\tuplet
13/12 {g4 \tuplet 8/7 {a4 \tuplet 9/8 {b4 \tuplet 11/10 {c'4
\tuplet 14/13 {d'4}
}
}
}
\new Staff {  \clef "treble"
\tuplet 15/22
{   
 
{
 b2
{\tuplet 3/2 {a4 \tuplet 4/3 {b4\tuplet 6/5 {e'4 \tuplet 9/8 {f'4 \tuplet
4/3 {d'4 \tuplet 5/4 {c'4  \tuplet 7/6 {d'4 \tuplet 10/9 {a'4 \tuplet 5/4
{b'4 \tuplet 6/5 {c''4 \tuplet 8/7 {d''4 \tuplet 11/10 {e''4 \tuplet 6/5
{b''4 \tuplet 7/6 {a''4 \tuplet 9/8 {d'''4 \tuplet 12/11 {e'''4 \tuplet 7/6
{f'''4 \tuplet 8/7 {a'''4 \tuplet 10/9 {g'''4\tuplet 13/12 {g'''4 \tuplet
8/7 {a'''4 \tuplet 9/8 {b'''4 \tuplet 11/10 {c4 \tuplet 14/13
{c4}
}
}
}

\new Staff {  \clef "bass"
\time 4/5
\relative c,
\scaleDurations 5/8
{c d e f }  
{d c d e }
{c d e f }

}
>>



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Are-page-breaks-possible-with-this-kind-of-score-If-so-how-tp196124.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


Lilypon error message: "Programming error -- bounds of the piece aren't breakable"

2016-11-03 Thread mclaren
Now we get to the interesting Lilypond scores, the ones that cause Lilypond
to crash or produce error messages.  

This simple score makes Lilypond die and stop engraving after a couple of
measures with the error message "Programming error: bounds of this piece
aren't  breakable."  Lilypond gives lots of "continuing -- crossing fingers"
and ultimately fails to engrave the score.  Yet Lilypond claims "Completed
successfully"!

This simple score is broken up into measures of tuplets each of which has a
large time signature. Because these time signatures would make Lilypond
crash (LILYPOND HAS STOPPED WORKING is the error message), I have had to
approximate the time signatures with smaller rational fraction
approximations in each case.  This is a workaround, but it seems to work in
other Lilypond scores without trouble.

For example, the time signature 21632/3135 had to be approximated by the
smaller time signature 2285/403. The smaller time signature is accurate to
within a couple of parts per million, though, so it works out okay.

That's not the issue. The issue is that Lilypond just can't seem to handle a
score in which every note is a broken tuplet, and in which large time
signatures are used. 

Notice that by the time we reach the dotted quarter note tuplet 14 in the
time of 11 B in the top measure, Lilypond has given up the ghost. Lilypond
doesn't even print the tuplet. It has freaked out. Lilypond is no longer
working properly.

Clearly, this score makes Lilypond blow its stack. What I'd like to know is:
is there any workaround? Any suggestions for getting Lilypond to actually
engrave what I've entered?

Lilhypond gives the message "Completed successfully" but clearly Lilypond
isn't completing anything successfully. It gives up and stops engraving the
score after the first two and a  half measures.

Here's the Lilypond score:

\version "2.18.2"

\header { 
  tagline = ""  % removed 
} 

#(set-default-paper-size "a4" 'landscape)
\layout {

%\paper  {}
indent=0
  % Create time signature context
  % Source: http://lsr.di.unimi.it/LSR/Snippet?id=272
  % (modified)
  \context {
\type Engraver_group
% Add elements that _can_ be printed
\consists "Timing_translator"
\consists "Time_signature_engraver"
\consists "Axis_group_engraver"
\name "TimeLine"
\alias "Staff"

% Align time signatures on barlines
\override TimeSignature.X-offset =
  #ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature.self-alignment-X = #CENTER
  }
  \context {
\Score
\accepts "TimeLine"
\override TupletNumber.text = #tuplet-number::calc-fraction-text
  }
  \context {
\Staff
\consists "Timing_translator"
\consists "Default_bar_line_engraver"

  }
}

{
  
  
<<
  
\new Staff { \clef "treble"
 \relative c''
{

\override Staff.TimeSignature #'stencil = ##f 
%\time 86772/12121
  \time 2885/403
  { \tuplet 17/15 {c4} 
\tweak direction #up
\tuplet 23/19 {d8[ f]} \tuplet 31/29{e b4 c8}}
 

%\time 21632/3135
  \bar "|"
  
  {
  \time 4285/631
  \tuplet 11/9{d4.} 
   \tweak direction #up
   \tuplet 15/13{f8} \tuplet 19/17{e2}}
  
  
 \bar "|"
 {
 \time 1071/115
 \tuplet 14/11{b4.} \tuplet 23/17{c8} \tuplet 1/15{d8[ f e b]} \tuplet
17/13{c2}
 
  \bar "|"
 }

}
}
  


\new Staff { \clef "treble"
 \relative c''
{


\override Staff.TimeSignature #'stencil = ##f 
\time 7706/693
{ \tuplet 17/15{c8[ d f e]} \tuplet 11/7{b2.} \tweak direction #down \tuplet
5/3{r4} \tuplet 7/6 {c16[ d16]} \tuplet 9/8 {f4} }
 \bar "|"
 \time 4127/393
 {\tuplet 13/10{r4.} \tuplet 3/4{e8} \tuplet 7/5{b[ c d]} \tuplet 8/5{d8 f4
e8} \tuplet 23/17{b4.}}
 \bar "|"
  e8  b] c[ d16 f e8 b c16 d f8 e b c] d[ f e b16 c d8 f e b16 c  d8]  
}  
}


>>
 
}





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lilypon-error-message-Programming-error-bounds-of-the-piece-aren-t-breakable-tp196123.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: Can't get page breaks for 7 over square root of 71 meter

2016-11-03 Thread Urs Liska


Am 04.11.2016 um 03:29 schrieb mclaren:
> Hans;
>
> You mentioned:
> "LilyPond doesn't require all the barlines to align in order to be able
> to break a line, it only requires an arbitrary *moment* to align. If you
> have such a moment you can break lines, and the manual tells you how to
> achieve that."
>
> Sorry, no, the Lilypond manual does _not_ tell you how to achieve that. The
> Lilypond manual is a mess. If the Lilypond manual were adequate, there
> wouldn't be any need for a forum like this. The very existence of this forum
> shows that the Lilypond manual is disorganized, incomplete, and inadequate.
> I'm not the only person who has mentioned this. It's common knowledge, and
> uncontroversial.

Again: If LilyPond doesn't meet your standards go find a better tool.

>
> You go on to claim:
>
> "This clearly indicates that you have a timing error *within a single
> voice*, which obviously stems from the fact that 800/898 don't match
> 735/713. One measure is 0,890868597 whole notes long and seven eight
> notes stretched by 735/413 equal 0,921610169 whole notes."
>
> Now we're getting to the real issue. You assert that one measure of 7
> sqr(71) is 
> 0.890868597 whole notes long. Sorry, that is incorrect.

Of course it is incorrect. The point is that *your* file pretends it with

\set Timing.measureLength = #(ly:make-moment 800/898)

And *you* are stretching notes by 735/713 with

\scaleDurations 435/413 {

And these two settings don't match. This is why I suggest *you* are
doing the maths first. This wouldn't match even if your basic assumption
about the length of a measure were correct.

>
> Let's do the math:
>
> The length of one measure is 7*square root of 71. Let's do this one
> step at a time so there's no mistake. Square root of 71 = 8.42614977318.
> 7 of these makes 7*8.42614977318 = 58.9830484122.
>
> Agreed?  

No.

> You can check on your calculator or by typing this stuff into
> WolframAlpha or google.com
> to verify that this is correct.

Your calculation is correct. But to verify this it is actually more
useful to use LilyPond's capabilities itself. Especially as it offers
tools to actually work with fractions instead of floats.

But what I don't agree with is your basic assumption. The length of one
measure is *not* 7*square root of 71.
The length of a measure is in fact 7 times 1 /divided/ by square root of 71.
If you have \time 7/8 the length is 7 * 1/8, in \time 7/9 it is 7 * 1/9,
and in \time 7/√71 it is 7 * 1/√71.

This can be conveniently expressed in Scheme as

(* 7 (/ 1 (sqrt 71))) => 0.830747160735697


You can actually express that as a proper rational fraction:

(inexact->exact (* 7 (/ 1 (sqrt 71 => 58458634430131/70368744177664


You can easily verify that by comparing this result to the length of a
7/8 and a 7/9 measure (your measure length should be in between):

7/8   => 0.875
7/√71 => 0.830747160735697
7/9   => 0.777...

So consequently all your following calculations are moot.

>
> If square root of 71 has a value of 8.42614977318, and a single eighth note
> has a value of 8,
> then logically 7*8.42614977318 = 58.9830484122 while a whole note contains 8
> eighth notes,
> so a whole note = 64
> .
> This means that the ratio of 7/sqr(71) to one whole note is given by
>
> [7*8.42614977318]/(8*8).
>
> Are you with me so far? 

I am following you but you're on the wrong track.

>  You can verify this with a calculator or with
> WolframAlpha.
>
> [7*8.42614977318]/(8*8) = 58.9830484122/64 = 0.92161013144.
>
> You asserted above that "seven eight notes stretched by 735/413 equal
> 0.921610169 whole notes."

This is of course correct. But irrelevant as it doesn't even closely
match the length of a measure.

>
> That is correct. Please compare 0.921610169 whole notes to 0.92161013144
> whole notes, the actual value of 7*sqr(71). As you can verify, they are very
> close, to within a couple of parts per million. To be exact, the difference
> between  0.921610169 and 0.92161013144 is 3.756 parts in 100 million.

But in music we actually calculate with fractions, and therefore
floating point numbers are inappropriate for this kind of things.

>
> This is as close as I could reasonably come using rational approxmation.
> Lilypond crashes and gives me an error message if I try to use a rational
> fraction with really large numerators and denominators, in the tens of
> millions or hundreds of millions, so as a practical matter, we must stick
> with rational fractions which are in the hundreds or tens of thousands to
> approximate these irrational values.
>
> As an aside, I would say that yes, it is crazy to arbitrarily limit the
> value of the Lilypond moment to rational fraction approximations. Why not
> just allow floats?  What's the problem with that?  Why must a moment be a
> rational fraction?  Why can't it just be a floating point number? 

Because no one has ever considered thinking musically like this.
I don't want to argue that it is nonsensical to allow such a 

Re: compound time signature with non duple denominator

2016-11-03 Thread David Wright
On Thu 03 Nov 2016 at 19:50:05 (-0700), mclaren wrote:
> Well, the 3's indicate 3:2 broken tuplets. There seems to be some controversy
> over whether Tobin Chodos really wanted a single 3:2 eighth note at the end
> of every measure. If he does, then the 3's are correct.

Well, I don't perform music like this, so I wouldn't know if there's a
precedent for this notation. I'm just a guy with the temerity to try
and answer the OP's question using conventional notation rather than
something that looks strange.

Where might I find a reference on notation of this sort? Is is on the
web or are there special books?

> If he doesn't, then
> the question was unclear and we're answering something that wasn't asked.

Well, most of us concluded that the OP probably knew what notes should
be contained in each bar better than the appropriate time signature,
looking at the question posed which is how to define the time signature.

Cheers,
David.

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


Re: compound time signature with non duple denominator

2016-11-03 Thread Tobin Chodos
Hi all,

Thanks for all the helpful info.  A teacher of mine called them
"interruplets" (interrupted tuplets).  I think the clearest solution for my
purposes is just:
\compoundMeter #'((3 4) (1 12)).  David's suggestion of 13/8 is workable
but leads to problems with the music in question.

I really enjoyed those Balkan dances!

Tobin



On Thu, Nov 3, 2016 at 7:50 PM, mclaren  wrote:

> Well, the 3's indicate 3:2 broken tuplets. There seems to be some
> controversy
> over whether Tobin Chodos really wanted a single 3:2 eighth note at the end
> of every measure. If he does, then the 3's are correct. If he doesn't, then
> the question was unclear and we're answering something that wasn't asked.
>
>
>
> --
> View this message in context: http://lilypond.1069038.n5.
> nabble.com/compound-time-signature-with-non-duple-
> denominator-tp195829p196116.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
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: compound time signature with non duple denominator

2016-11-03 Thread mclaren
Yes, I realized that. Thanks for the correction. 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/compound-time-signature-with-non-duple-denominator-tp195829p196119.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: compound time signature with non duple denominator

2016-11-03 Thread David Wright
On Fri 04 Nov 2016 at 02:44:56 (+0100), Urs Liska wrote:
> 
> 
> Am 04.11.2016 um 02:39 schrieb Urs Liska:
> >
> > Am 02.11.2016 um 19:10 schrieb Chris Yate:
> >> particularly as it utterly confuses those players that don't know how
> >> to parse it.
> > Any musical notation utterly confuses those players that don't know how
> > to parse it. Actually you could extend that to written text as well.

But even those who can parse it can also be confused, just not utterly¹.
For example, I would say that the top line² is confusing and the
bottom one isn't, in the example I posted earlier. But somebody liked it.

> To clarify, this wasn't meant as a joke. On the one hand those musicians
> who will be able to perform this kind of music won't have an issue
> reading it.

Well, they might have had an issue on the first occasion that they met
some instance of unconventional notation. They work through it, then
it becomes second nature. Call it learning, training...

> On the other hand there *are* many people arguing that music
> notation is way too complex to learn but who claim to express themselves
> musically anyway.

That's too vague for me to understand the point you're trying to make there.

¹ Disclaimer: I have no idea what was being discussed on facebook.
² which I wasn't happy with until I changed "3" to "1:⅔".

Cheers,
David.


met.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: compound time signature with non duple denominator

2016-11-03 Thread mclaren
LOL!  Well said, Urs.

As a practical matter, the musicians who perform Michael Gordon's broken
tuplets don't seem confused by the  notation. You can examples of this in
"Four Kings Fight Five," "Yo, Shakespeare!" and many other pieces by Gordon.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/compound-time-signature-with-non-duple-denominator-tp195829p196117.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: compound time signature with non duple denominator

2016-11-03 Thread mclaren
Well, the 3's indicate 3:2 broken tuplets. There seems to be some controversy
over whether Tobin Chodos really wanted a single 3:2 eighth note at the end
of every measure. If he does, then the 3's are correct. If he doesn't, then
the question was unclear and we're answering something that wasn't asked.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/compound-time-signature-with-non-duple-denominator-tp195829p196116.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: compound time signature with non duple denominator

2016-11-03 Thread mclaren
David remarked: 
>"One triplet eighth note" defines a duration of time (which the OP 
> appeared to get wrong in any case). One note cannot form a triplet. 

Sure it can. They're called broken tuplets, and lots of composers use 'em.
Michael Gordon uses broken tuplets all the time. So does Mikel Rouse, Kyle
Gann, and many others.

Single notes can be tuplets of any kind, 4:3, 11:9, 23:17, or whatever. This
is common practice nowadays in what Kyle Gann calls totalist music.

A typical totalist rhythm pattern is something like

qq   q 3:2 q q 3:2 q 3:2 against
5:4  q  q 5:4 5:4 q q 5:4 5:4 

Both measures add up to eight quarter notes, but the pulse is irregular due
to the broken tuplets. 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/compound-time-signature-with-non-duple-denominator-tp195829p196115.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: Can't get page breaks for 7 over square root of 71 meter

2016-11-03 Thread mclaren
Hans;

You mentioned:
"LilyPond doesn't require all the barlines to align in order to be able
to break a line, it only requires an arbitrary *moment* to align. If you
have such a moment you can break lines, and the manual tells you how to
achieve that."

Sorry, no, the Lilypond manual does _not_ tell you how to achieve that. The
Lilypond manual is a mess. If the Lilypond manual were adequate, there
wouldn't be any need for a forum like this. The very existence of this forum
shows that the Lilypond manual is disorganized, incomplete, and inadequate.
I'm not the only person who has mentioned this. It's common knowledge, and
uncontroversial.

You go on to claim:

"This clearly indicates that you have a timing error *within a single
voice*, which obviously stems from the fact that 800/898 don't match
735/713. One measure is 0,890868597 whole notes long and seven eight
notes stretched by 735/413 equal 0,921610169 whole notes."

Now we're getting to the real issue. You assert that one measure of 7
sqr(71) is 
0.890868597 whole notes long. Sorry, that is incorrect.

Let's do the math:

The length of one measure is 7*square root of 71. Let's do this one
step at a time so there's no mistake. Square root of 71 = 8.42614977318.
7 of these makes 7*8.42614977318 = 58.9830484122.

Agreed?  You can check on your calculator or by typing this stuff into
WolframAlpha or google.com
to verify that this is correct.

If square root of 71 has a value of 8.42614977318, and a single eighth note
has a value of 8,
then logically 7*8.42614977318 = 58.9830484122 while a whole note contains 8
eighth notes,
so a whole note = 64
.
This means that the ratio of 7/sqr(71) to one whole note is given by

[7*8.42614977318]/(8*8).

Are you with me so far?  You can verify this with a calculator or with
WolframAlpha.

[7*8.42614977318]/(8*8) = 58.9830484122/64 = 0.92161013144.

You asserted above that "seven eight notes stretched by 735/413 equal
0.921610169 whole notes."

That is correct. Please compare 0.921610169 whole notes to 0.92161013144
whole notes, the actual value of 7*sqr(71). As you can verify, they are very
close, to within a couple of parts per million. To be exact, the difference
between  0.921610169 and 0.92161013144 is 3.756 parts in 100 million.

This is as close as I could reasonably come using rational approxmation.
Lilypond crashes and gives me an error message if I try to use a rational
fraction with really large numerators and denominators, in the tens of
millions or hundreds of millions, so as a practical matter, we must stick
with rational fractions which are in the hundreds or tens of thousands to
approximate these irrational values.

As an aside, I would say that yes, it is crazy to arbitrarily limit the
value of the Lilypond moment to rational fraction approximations. Why not
just allow floats?  What's the problem with that?  Why must a moment be a
rational fraction?  Why can't it just be a floating point number? 

In any case, let's return to the issue at hand -- which is your claim 

"One measure is 0.890868597 whole notes long."

You are incorrect, sir.  One measure of 7 sqr(71) is 0.92161013144 whole
notes long. You can check my math above. You will find that my arithmetic is
correct.

If you are saying that one measure of 7 sqr(71) is 0.890868597 whole notes
long, that's simply not right. If Lilypond is saying one measure of 7
sqr(71) is 0.890868597 whole notes long, that's also not right. 

You can follow through and veryify my math at each stage. I haven't made a
mathematical error. Lilypond is misbehaving. 

When you say "As long as you haven't got this sorted out there's not point
in discussing" you're just wrong. I have got the math sorted out and you can
verify at each step that my arithmetic is correct. 

It sounds like you don't know how to get Lilypond to force page breaks in a
score like this, and I think I can prove it.  

0.890868597 is approximated by 400/449 to an error of 53 parts in 449
billion. So I entered 400/449 into the make-moment command instead of the
values I was using.

And guess what, Hans?

Lilypond _still_ won't create a page break.  No wonder, of course --
0.890868597 whole notes is the wrong value for the length of a measure in
whole notes, way off from the actual length of a measure of 7 sqr(71), which
as we calculated above is 0.92161013144 whole notes long.  

Aside from the arithmetic errors in your answer, your reply seems like a
complicated way of saying "I don't know how to fix your problem with
Lilypond." 

In future, you may just want to say  "I don't know how to fix your problem
with Lilypond," Hans.  It's a lot simpler. 




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Can-t-get-page-breaks-for-7-over-square-root-of-71-meter-tp196099p196114.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org

Re: compound time signature with non duple denominator

2016-11-03 Thread David Wright
On Thu 03 Nov 2016 at 22:08:02 (+0100), Hans Åberg wrote:
> 
> > On 3 Nov 2016, at 21:28, David Wright  wrote:
> > 
> > On Thu 03 Nov 2016 at 10:37:36 (+0100), Hans Åberg wrote:
> >> 
> >>> On 3 Nov 2016, at 03:04, David Wright  wrote:
> >>> 
> > The only 13/8 I can recall off-hand is an uncomplicated 6/4+1/8.
> 
> >>> Correct me if I'm wrong (I'm not familiar with these dances), but
> >>> these are just groupings of steady 16th notes, are they not.
> >> 
> >> Yes, in the definition of the meter, in respons to your question whether 
> >> it might be performable. 13/8 and even 13/16 is performable at moderato 
> >> counting on the 1/4s, though I have no example of the 3+3+3+3+1 occurring 
> >> naturally.
> > 
> > But the three notes I referred to weren't in 13/8 or 13/16 because the
> > last 3 of 3+3+3+3+1 (in 13/8 time) was a made into a duplet.
> 
> It was in response to your comment on 13/8 above.

Oh, OK. Well, I'm not familiar with music in these folk-dancing
traditions, and don't particularly find it easy to pick up on
the patterns involved. My own experience of dancing is mainly
in the Scottish Country Dancing tradition, where such rhythmic
irregularities would be of no help at all. In a tradition where
8-bar phrases rule, a dance like The Wee Cooper of Fife is highly
irregular, having four 10-bar phrases.

> 
> In the Leventikos 12/8, 12 = 3+2+2+3+2, the 3s have duplets metric accents. 
> But it is hard to express that via meter. When notation, oen just sums it up. 
> Bartok used (4+2+3)/8, that is
>   4+2+3
> 8
> but on the Balkans one would just write 9/8 or 9/16. The beaming can indicate 
> metric subaccents, but LilyPond cannot do that automatically, so I just skip 
> it,
> 
> >>> My example wasn't.
> >> 
> >> Then one add another level on the musical line. One example how this 
> >> occurs metrically is the Leventikos in 12.
> >> 
> > 
> > I don't know what "another level on the musical line" means.
> 
> One performer keeps the meter, and the others follow.
> 
> > What I was pointing out was that we have 13/8 consisting of three
> > dotted crochets followed by a duplet (two in the time of a dotted
> > crochet) followed by a quaver. The relationship of these notes is
> > 6 6 6 3 3 2 and I think most people would struggle with getting
> > that last note exactly the correct length.
> 
> In irregular meters, the opposite happens: one looses the feeling for exact 
> proportions. So one has to unlearn the idea of exact beats. If you want exact 
> beats, then you need a sequencer track.

If you say so.

> I am not sure exactly what meter you want, but if the proportions are 
> 3+3+3+3+1, then it will likely feel like a common 9 = 2+2+2+3 with a slight 
> time bend shortening the last beat a bit, which is normally done.

I don't want any meter. All I wanted to do was answer the question
posed by the OP, but using conventional notation (which, it appears,
is sufficient) rather than the rather unconventional approach IMO
posted by Joram.

> The tune Eleno Mome is often played in 7/8, but exists written as 13/16, 13 = 
> 4+4+2+3, where the 3 has typical 2+1 patterns. In live performances, there 
> might be something between 7/8 and 13/16. But exists written as 12/16, 12 = 
> 3+4+2+3, and a performance plays it as 3+2+2+2+3.
> 
> > Of course, if you adopt a pace where you can form that pattern
> > by grouping 26 rapid claps or whatever, then it can get simpler,
> > but I was talking in the context of straightforward note values
> > as sung by, say, a classical singer.
> 
> On Balkans, they use 3s and 2s, counting on the fingers, for example 11 = 
> 2+2+3+2+2. This way, smaller differences than be performed.
> 
> But you might try using flute articulation t-k and t-k-t patterns.
> 
>  This Leventikos is also performed in 12 = 3+2+2+3+2, with quadruplets on 
>  the 3s - se my other post in this thread.
> >>> 
> >>> OK, the quadruplets add another layer of complexity. The note
> >>> durations are now 3+3+3+3+ 4+4+ 4+4+ 3+3+3+3+ 4+4 / 48.
> >>> So taking this Leventikos pattern, I've bent the "4/4+1/3" so
> >>> that it contains similar tupleticity, to coin a nonce word.
> >> 
> >> Yes, indeed. In the Leventikos, the quadruplet pattern occurs 
> >> consistently. When performing, there are slower 1/16th contrasted with 
> >> faster ones. Some performers have triplets on the 2s, and quintuplets 
> >> occur in Balkan music as well. So it can be more complex.
> >> 
> >>> I've broken the 13/8 time signature into the appropriate groups,
> >>> 3/8+3/8+3/8+3/8+1/8. I've followed this with the 4/4/+1/12
> >>> time signature's equivalent notation for the same durations.
> >>> The actual rhythm of the individual notes in both cases is
> >>> 4+4+4+ 3+3+3+3+ 4+4+4+ 3+3+3+3+ 4 / 52.
> >> 
> >> A problem with this meter is that the 1/3 at the end is fairly short, so 
> >> it may be distorted by metric time bends: there is a tendency in Balkan 
> >> music 

Re: compound time signature with non duple denominator

2016-11-03 Thread Urs Liska


Am 04.11.2016 um 02:39 schrieb Urs Liska:
>
> Am 02.11.2016 um 19:10 schrieb Chris Yate:
>> particularly as it utterly confuses those players that don't know how
>> to parse it.
> Any musical notation utterly confuses those players that don't know how
> to parse it. Actually you could extend that to written text as well.

To clarify, this wasn't meant as a joke. On the one hand those musicians
who will be able to perform this kind of music won't have an issue
reading it. On the other hand there *are* many people arguing that music
notation is way too complex to learn but who claim to express themselves
musically anyway.

Urs

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


Re: compound time signature with non duple denominator

2016-11-03 Thread Urs Liska


Am 04.11.2016 um 01:56 schrieb mclaren:
> Oops. Unless I'm mistaken, 4 + 1 triplet eighth note would be 4 + 1/6, not 4
> + 1/3.

You *are* mistaken. 4 quarters + 1 triplet eight is 4/4 + 1/12.

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


Re: compound time signature with non duple denominator

2016-11-03 Thread David Wright
On Thu 03 Nov 2016 at 18:00:59 (-0700), mclaren wrote:
> "Wouldn't that rather be (4 + 2/3)/4?"
> 
> Yes, I think you're right. 1/3 is presumably half of the value of a triplet
> quarter note, so 1 triplet eighth note. I've corrected that in my second
> Lilypond example. My bad.
> 
> Change the "6" denominator in my new Lilypond code to a 3 to get the meter
> to display correctly. But the measures do print correctly, so this code
> should get what Tobin Chodos wants, I think, 4 quarter notes + 1 triplet
> eighth in every measure.

I think Joram pointed that out in
http://lists.gnu.org/archive/html/lilypond-user/2016-10/msg00584.html
and most/all of this discussion has made that assumption. AFAIK the
OP has neither confirmed nor disagreed with this change.

Cheers,
David.

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


Re: compound time signature with non duple denominator

2016-11-03 Thread Urs Liska


Am 02.11.2016 um 19:10 schrieb Chris Yate:
> particularly as it utterly confuses those players that don't know how
> to parse it.

Any musical notation utterly confuses those players that don't know how
to parse it. Actually you could extend that to written text as well.

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


Re: compound time signature with non duple denominator

2016-11-03 Thread David Wright
On Thu 03 Nov 2016 at 17:13:14 (-0700), mclaren wrote:
> I have an even more diabolical question, related to the one at the start of
> this thread. 
> 
> But let me first answer the original question, which was: "Is there a way to
> implement a non-binary time signature like 4 + 1/3?" I think I know a way to
> do this.
> 
> This seems like an entirely valid question. 1/3 would be a single triplet
> note, right? That is, if we're dealing with (4 + 1/3)/4, then what we want
> is 4 quarter notes + 1 triplet quarter note, correct?  In that case, can't
> we get the same effect by doing [X number of triplets equivalent to 4
> quarter notes] + 1 triplet quarter note?
> 
> The number of triplet quarter notes = 4 quarter note is of course 12,
> therefore the total is 12 + 1 triplet quarter notes, and therefore the time
> signature should be 13/3.

Um, I'm trying to find the difference between that and
http://lists.gnu.org/archive/html/lilypond-user/2016-10/msg00586.html

Why do you have a denominator of "3". Why not 13/2 or 13/4 or 13/8 or 13/16?

> And here's an example of the score output on imgur:
> http://imgur.com/a/cSyML

To me, that looks like
http://lists.gnu.org/archive/html/lilypond-user/2016-10/msg00584.html
except that you've suppressed the "a a" following the barline check
which Joram didn't bother to do.

That's the first thing you do (and I did).
http://lists.gnu.org/archive/html/lilypond-user/2016-11/msg00074.html

Then you look at it again and realise that those number "3"s that
pepper the score are inappropriate as there isn't 3 of anything.
The obvious thing to do is to change to the ratio annotation, as in
http://lists.gnu.org/archive/html/lilypond-user/2016-11/msg00083.html

> Now here's my even more diabolical question:
> How do you get Lilypond to do a meter and print barlines properly on a time
> signature like
> 4 + (square root of 3)? And get valid page breaks?

I dpn't know. This seems to have more to do with mathematics than any
music I enjoy performing or listening to.

Cheers,
David.

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


Re: compound time signature with non duple denominator

2016-11-03 Thread mclaren
Yes, Thomas Ades and Brian Ferneyhough and Kyle Gann and many others have
written music in non-binary meters like 7/6 and 21/10 and so on. This is
hardly unusual nowadays. In fact, these kinds of meters go all the way back
to Henry Cowell's "New Musical Resources," written in 1930, though Cowell
used idiosyncratic notation (diamond-shaped and square-shaped noteheads)
instead of a non-binary meter. But this kind of stuff has been done in
serious contemporary music since 1930 at least, so it's hardly
earth-shattering or exotic.

Irrational meters like 5 in the time of the cube root of 1119, now, that's
considered exotic today.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/compound-time-signature-with-non-duple-denominator-tp195829p196107.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: Can't get page breaks for 7 over square root of 71 meter

2016-11-03 Thread Nathan Ho

On 2016-11-03 17:36, mclaren wrote:
The problem comes from Lilypond's bizarre assumption that at some point 
all
the barlines in the score will line up. In this case, clearly the 
barlines
in the 7/sqr(71) staff will never line up with any of the other 
barlines in

the score. Therefore Lilypond can't ever break the page.


Hello mclaren,

LilyPond does not allow you to break in the middle of note events by 
default. The solution is to remove Forbid_line_break_engraver from the 
Voice context, as described in the docs here: 
http://lilypond.org/doc/v2.18/Documentation/notation/line-breaking


\layout {
  \context {
\Voice
\remove "Forbid_line_break_engraver"
  }
}

I admit to posting this without making much effort to understand your 
code, so apologies if this is does not solve the problem.


I also agree with Urs' comment on your tone.


Nathan

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


Re: Can't get page breaks for 7 over square root of 71 meter

2016-11-03 Thread Urs Liska

Am 04.11.2016 um 01:36 schrieb mclaren:
> A meter of 7/sqr(71) simply means that that there are 7 eighth notes each of
> which has duration of square root of 71 = 1/8.426149 of a whole note,
> whereas a standard eighth note has duration of 1/8 of a whole note. 
> Therefore each eighth note in 7/sqr(71) meter has a duration of 8.426149/8 =
> 1.053268 of a regular eighth note. We use a rational approximation program
> to get a rational fraction which approximates this value to within one part
> in a billion, close enough.
>
> The problem comes from Lilypond's bizarre assumption that at some point all
> the barlines in the score will line up. In this case, clearly the barlines
> in the 7/sqr(71) staff will never line up with any of the other barlines in
> the score. Therefore Lilypond can't ever break the page. 
>
> That's a) insane, b) stupid, c) unmusical, d) all three (take your pick). No
> matter where I place bar checks and page breaks, Lilypond absolutely
> posistively 100% utterly totally refuses to break the page.
>
>

What you are describing is none of your suggestions a) to c), at best
you could label it a limitation.
LilyPond assumes that a line break happens at a single point in time
through all staves of a system. This is a totally reasonable assumption,
and when you have musical reasons to override this it is the case of an
extreme exception. That LilyPond doesn't support this may be considered
a limitation, but as mentioned in my other reply I doubt that any other
notation software (except maybe SCORE that more or less does *not* have
any notion of musical structure) will get you even close to what
LilyPond does.

"The problem comes from Lilypond's bizarre assumption that at some point
all the barlines in the score will line up". This indicates that you
don't really understand what you're doing - which isn't a fault in
itself but doesn't really match your tone.
LilyPond doesn't require all the barlines to align in order to be able
to break a line, it only requires an arbitrary *moment* to align. If you
have such a moment you can break lines, and the manual tells you how to
achieve that.

HOWEVER:

tmp/frescobaldi-aXfsgv/tmpe9t0hz/document.ly:93:25 <0>: warning:
barcheck failed at: 6515/211928

{ c8 d f e b c d16 f

| e8 b c d16 f e8 b c16 d }

This clearly indicates that you have a timing error *within a single
voice*, which obviously stems from the fact that 800/898 don't match
735/713. One measure is 0,890868597 whole notes long and seven eight
notes stretched by 735/413 equal 0,921610169 whole notes.
Your seven notes in that measures (and you'd have this in all the
following measures if you'd applied barchecks as should be the minimal
safety net in such complicated cases) simply don't match the length of
your measure.

As long as you haven't sorted this out it doesn't make sense to discuss
the issue of line breaking.
So please get your maths straight before ranting about LilyPond's sanity.

Urs


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


Re: compound time signature with non duple denominator

2016-11-03 Thread mclaren
"Wouldn't that rather be (4 + 2/3)/4?"

Yes, I think you're right. 1/3 is presumably half of the value of a triplet
quarter note, so 1 triplet eighth note. I've corrected that in my second
Lilypond example. My bad.

Change the "6" denominator in my new Lilypond code to a 3 to get the meter
to display correctly. But the measures do print correctly, so this code
should get what Tobin Chodos wants, I think, 4 quarter notes + 1 triplet
eighth in every measure.





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/compound-time-signature-with-non-duple-denominator-tp195829p196104.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: compound time signature with non duple denominator

2016-11-03 Thread mclaren
Tobin Chodos mentioned: "That is, the measure is four quarter notes long plus
one triplet eighth note."

Oops. Unless I'm mistaken, 4 + 1 triplet eighth note would be 4 + 1/6, not 4
+ 1/3. My Lilypond code was based on the assumption that you had 4 quarter
notes + 1 triplet quarter note. 

Here's the Lilypond code for 4 + 1/6 meter, i.e., 4 quarter notes + 1
triplet eighth note in every measure.

\version "2.18.2"

\header { 
  tagline = ""  % removed 
} 

#(set-default-paper-size "a4" 'landscape)
%\layout {}

indent=0
<<
  
\new Staff { \clef "treble"
 \relative c''
   \override Staff.TimeSignature #'stencil = ##f 
  \time 13/8
% We need this time signature to get the beat
% structure, but this time signature won't print.
% Now we insert the time sig that does print. 

% This is the time signature that will print

 \override Staff.TimeSignature.stencil = #ly:text-interface::print 
  \override Staff.TimeSignature.text = 
  \markup \override #'(baseline-skip . 0) \center-column \number { 
\concat { "4 + 1" } 
  \hspace #-0.1 
  \override #'(offset . -32) 
  \override #'(thickness . 1.6) 
   "6"}


\set Timing.measureLength = #(ly:make-moment 1265/780)
% This sets the barline locations. I had to play around with this
% make-moment value to get the barlines to place properly. AFAICT
% this make-moment vlaue is a by-guess-and-by-God "magic" value
% that has to be fiddled with by trial and error to get it right.
\relative c''
\scaleDurations 3/2 {

   c4 d f e \tuplet 3/2{b8} c4  b a  c  \tuplet 3/2{b8} c4 d f, g  \tuplet
3/2{b8}  c4 d c f, \tuplet 3/2{b8} e4  f g  d  \tuplet 3/2{b8} c4 d f, g 
\tuplet 3/2{b8}  c4 d f e \tuplet 3/2{b8} c4  d f  e  \tuplet 3/2{b8} c4 d
f, g  \tuplet 3/2{b8}
\bar ""
\break
c4 d f e \tuplet 3/2{b8} c4  b a  c  \tuplet 3/2{b8} c4 d f, g  \tuplet
3/2{b8}  c4 d c f, \tuplet 3/2{b8} e4  f g  d  \tuplet 3/2{b8}

} 
}

%\new Staff { \clef "bass"
% \relative c,
   
%  \time 4/4
%\set Timing.measureLength = #(ly:make-moment 4/4)
 %{a,4 b, c d  a,4 b, c d   a,4 b, c d   a,4 b, c d   a,4 b, c d}
%}
>>  








--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/compound-time-signature-with-non-duple-denominator-tp195829p196103.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: Can't get page breaks for 7 over square root of 71 meter

2016-11-03 Thread Urs Liska


Am 04.11.2016 um 01:36 schrieb mclaren:
> Therefore Lilypond can't ever break the page. 
>
> That's a) insane, b) stupid, c) unmusical, d) all three (take your pick).

Before I may try to understand the case (particularly as your questions
so far indicated that you may not always have really read the manual)
may I suggest that if you expect people to help you willingly (and don't
forget: always voluntarily) you might try moderating your language first.

If you think LilyPond's behaviour is insane, stupid or even unmusical
you are free to switch to any of the other available tools that will
give you what you want ;-)
But more seriously: of course you won't run into that issue with Finale
or Sibelius - simply because they don't even get you near to what
LilyPond achieves.

Urs

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


Re: compound time signature with non duple denominator

2016-11-03 Thread Martin Neubauer
On 04/11/2016 01:13, mclaren wrote:

> This seems like an entirely valid question. 1/3 would be a single triplet
> note, right? That is, if we're dealing with (4 + 1/3)/4, then what we want
> is 4 quarter notes + 1 triplet quarter note, correct?
Wouldn't that be rather (4 + 2/3)/4?

-- 
Not the actual page, because it contains nothing. It's just the
content.



signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypond page breaks work properly for non-binary meters like 7/5...

2016-11-03 Thread mclaren
..But apparently Lilypond page breaks don't work at all for an irrational
meter like 7/sqr(71). I'm baffled. Why do page breaks work for 7/5 but not
for 7/sqr(71)?  The basic metric pulse is non-binary in both cases, so why
should it make any difference whether the basic metric pulse is 5 equal
divisions of a whole note, or sqr(71) divisions of a whole note?

Anyway, here's my Lilypond code for a polymetric score with 7/5 playing
against various other pedestrian polymeters. The page breaks work as
expected.

\version "2.18.2"

\header { 
  tagline = ""  % removed 
} 
#(set-default-paper-size "a4" 'landscape)
\layout {

indent=0
  % Create time signature context
  % Source: http://lsr.di.unimi.it/LSR/Snippet?id=272
  % (modified)
  \context {
\type Engraver_group
% Add elements that _can_ be printed
\consists "Timing_translator"
\consists "Time_signature_engraver"
\consists "Axis_group_engraver"
\name "TimeLine"
\alias "Staff"

% Align time signatures on barlines
\override TimeSignature.X-offset =
  #ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature.self-alignment-X = #CENTER
  }
  \context {
\Score
\accepts "TimeLine"
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
\override TupletNumber.text = #tuplet-number::calc-fraction-text
  }
  \context {
\Staff
\consists "Timing_translator"
\consists "Default_bar_line_engraver"
\consists "Time_signature_engraver"
  }
}

{
  
  
<<
  
\new TimeLine {
\time 7/5

  }

\new Staff { \clef "treble"
 \relative c''
{

\time 7/5
\override Staff.TimeSignature #'stencil = ##f 
\scaleDurations 8/5 {
  { c8[ d f e b c d16 f] | e8[  b c d16 f  e8 b c16 d] } 
  { f8  } }
  \bar"" \break
  {e8 b c d f e b16 c d8 f e b16 c  d8 f e16 b c8 d f e b c  d f16 e b8 c d
f16 e b8 c d16 f e8 b c d f e b }
 
}  
}
  \new TimeLine {
\time 13/8

  }

\new Staff { \clef "treble"
 \relative c''
{


\override Staff.TimeSignature #'stencil = ##f 

 \scaleDurations 8/13 { c8[ d f e b c d16 f e8  b c d16 f e8 b] c16 d f8 e b
c d f e b16 c d8 f e b16 c  d8 f e16 b c8 d f e b c  d f16 e b8 c } 
 \bar"|" \break { d f16 e b8 c d16 f e8 b c d f e b }
 
}  
}

  \new TimeLine {
\time 9/8

  }

\new Staff { \clef "treble"
 \relative c''
{


\override Staff.TimeSignature #'stencil = ##f 

 \scaleDurations 8/9 { c8[ d f] e[ b c] d16[ f e8  b] c[ d16 f e8] b[ c16 d
f8] e[ b c] d f e b16 c d8 f e b16 c  d8 } 
 \bar"|" \break { f e16 b c8 d f e b c  d f16 e b8 c d f16 e b8 c d16 f e8 b
c d f e b }
 
}  
}

  \new TimeLine {
\time 11/8

  }

\new Staff { \clef "treble"
 \relative c''
{
  \override Staff.TimeSignature #'stencil = ##f
 
 \scaleDurations 8/11 { e8 b c d16 f e8 b c d16 f e8 b c16 d f8 e b c d f e
b16 c d8 f e b16 c d8 f e16 b c8 d f e b c d } \bar"|" \pageBreak { f16 e b8
c d f16 e b8 c d16 f e8 b c d f e b c16 d f8 }

}

}

>>
 
}





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lilypond-page-breaks-work-properly-for-non-binary-meters-like-7-5-tp196100.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


Can't get page breaks for 7 over square root of 71 meter

2016-11-03 Thread mclaren
A meter of 7/sqr(71) simply means that that there are 7 eighth notes each of
which has duration of square root of 71 = 1/8.426149 of a whole note,
whereas a standard eighth note has duration of 1/8 of a whole note. 
Therefore each eighth note in 7/sqr(71) meter has a duration of 8.426149/8 =
1.053268 of a regular eighth note. We use a rational approximation program
to get a rational fraction which approximates this value to within one part
in a billion, close enough.

The problem comes from Lilypond's bizarre assumption that at some point all
the barlines in the score will line up. In this case, clearly the barlines
in the 7/sqr(71) staff will never line up with any of the other barlines in
the score. Therefore Lilypond can't ever break the page. 

That's a) insane, b) stupid, c) unmusical, d) all three (take your pick). No
matter where I place bar checks and page breaks, Lilypond absolutely
posistively 100% utterly totally refuses to break the page.

Is there any way, any way at all, to break the page on this score?  Or am I
completely and utterly stuck, and have to generate the score piecewise by
compiling a few measures at a time and then PhotoShopping 'em into a full
score?

Here's the Lilypond score:

\version "2.18.2"

\header { 
  tagline = ""  % removed 
} 
#(set-default-paper-size "a4" 'landscape)
\layout {

indent=0
  % Create time signature context
  % Source: http://lsr.di.unimi.it/LSR/Snippet?id=272
  % (modified)
  \context {
\type Engraver_group
% Add elements that _can_ be printed
\consists "Timing_translator"
\consists "Time_signature_engraver"
\consists "Axis_group_engraver"
\name "TimeLine"
\alias "Staff"

% Align time signatures on barlines
\override TimeSignature.X-offset =
  #ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature.self-alignment-X = #CENTER
  }
  \context {
\Score
\accepts "TimeLine"
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
\override TupletNumber.text = #tuplet-number::calc-fraction-text
  }
  \context {
\Staff
\consists "Timing_translator"
\consists "Default_bar_line_engraver"
   
  }
}

{
  
  
<<
  
\new TimeLine {
  
  \override Staff.TimeSignature #'stencil = ##f 
  \time 7/8
% Not 7/8 time, it's actually 7/sqrt(71) time.
% To get this, you choose time sig of 7/8
% since an eighth note is the basic pulse
% and you want 7 of those basic pulses per measure.
% Then you calculate the fraction of an eighth note
% that 1/(sqrt(71) of a whole note makes. That's
% 1/sqrt(71) of a whole note, or 1/(8.426149773) of
% of a whole note. This is 1/(8.426149773/8) or
% 1/1.053268772 of an eighth note. Now use a
% rational approximation program to calculate
% the best ratio giving a rational approximation
% to 1.053268772 eighth note with integers below, say, 300.
% That turns out to be 256/244, which gives an
% approximation to better than 1 part in 10,000 --
% good enough for real-world musical purposes.
% Now you just insert a tuplet using the command
% \times 256/244, which sets every eighth note
% to a duration of 244/256 of the basic pulse
% set by the time signature, and voila. 
 
  }

\new Staff { \clef "treble"
 \relative c''
{

 \override Staff.TimeSignature.stencil = #ly:text-interface::print 
  \override Staff.TimeSignature.text = 
  \markup \override #'(baseline-skip . 0) \center-column \number { 
\concat { "7" } 
  \hspace #-0.1 
  \override #'(offset . -32) 
  \override #'(thickness . 1.6) 
  \underline "√71"}
  
%\set Timing.measureLength = #(ly:make-moment 3430/413) 
\set Timing.measureLength = #(ly:make-moment 800/898)
\scaleDurations 435/413 {
% 7 over the square root of 71 time signature,
% = 1.053268772 eighth notes per eighth note.
% This rational fraction approximation is 
% accurate to within 6.86 parts per billion.
  { c8 d f e b c  d16 f | e8  b c d16 f  e8 b c16 d } 
  { f8  } }
 
   {e8 b c d f e b16 c d8 f e b16 c  d8 f e16 b c8 d f e b c  d[ f16[ e b8 c
}


d f16 e b8]
 \bar ""
\break
c[ d16 f e8 b c d f e] b 
 
}  
}
  \new TimeLine {

%\override Staff.TimeSignature #'stencil = ##f 
\time 13/8
  

  }

\new Staff { \clef "treble"
 \relative c''
{


\override Staff.TimeSignature #'stencil = ##f 

 \scaleDurations 8/13 { c8[ d f e b c d16 f e8  b c d16 f e8 b]
   c16[ d f8 e b c d f e b16 c d8 f e b16 c]
   d8[ f e16 b c8 d f e b c  d f16 e b8 c]  
   d[ f16 e b8 c d16 f e8 b c  d f e b d] 
  c8[ d f e b c d16 f e8  b c d16 f e8 b]
   
 d8[ f e16 b c8 d 
 
 \bar ""
 \break
 f e b c  d f16 e b8 c]
 
 }
 
}  
}

  \new TimeLine {
\time 9/8

  }

\new Staff { \clef "treble"
 \relative c''
{


\override Staff.TimeSignature #'stencil = ##f 

 \scaleDurations 8/9 { c8[ d f e b c d16 f e8  b]
 c[ d16 f e8 b c16 d f8 e b c]
 d[ f e b16 c d8 f e b16 c  d8]
  
  \break  f e16 b c8 d f e b c  d 
  f16[ e b8 c d f16 e b8 c d16 f e8]

  b c d f

Re: compound time signature with non duple denominator

2016-11-03 Thread mclaren
I have an even more diabolical question, related to the one at the start of
this thread. 

But let me first answer the original question, which was: "Is there a way to
implement a non-binary time signature like 4 + 1/3?" I think I know a way to
do this.

This seems like an entirely valid question. 1/3 would be a single triplet
note, right? That is, if we're dealing with (4 + 1/3)/4, then what we want
is 4 quarter notes + 1 triplet quarter note, correct?  In that case, can't
we get the same effect by doing [X number of triplets equivalent to 4
quarter notes] + 1 triplet quarter note?

The number of triplet quarter notes = 4 quarter note is of course 12,
therefore the total is 12 + 1 triplet quarter notes, and therefore the time
signature should be 13/3.

Fortunately, the Lilypond snippets show us how to get a non-binary time
signature like this. The solution is two fold: first, set te time signature
to 13/4 and erase the time signature so it doesn't plrint and then insert an
artificial time signature which gets printed but not used. Second, use
\scaleDurations to get triplets for all notes in each measure.

Here's my Lilypond code:

\version "2.18.2"

\header { 
  tagline = ""  % removed 
} 

#(set-default-paper-size "a4" 'landscape)
%\layout {}

indent=0
<<
  
\new Staff { \clef "treble"
 \relative c''
   \override Staff.TimeSignature #'stencil = ##f 
  \time 13/8
% We need this time signature to get the beat
% structure, but this time signature won't print.
% Now we insert the time sig that does print. 

% This is the time signature that will print

 \override Staff.TimeSignature.stencil = #ly:text-interface::print 
  \override Staff.TimeSignature.text = 
  \markup \override #'(baseline-skip . 0) \center-column \number { 
\concat { "4 + 1" } 
  \hspace #-0.1 
  \override #'(offset . -32) 
  \override #'(thickness . 1.6) 
   "3"}


\set Timing.measureLength = #(ly:make-moment 1364/780)
% This sets the barline locations. I had to play around with this
% make-moment value to get the barlines to place properly. AFAICT
% this make-moment vlaue is a by-guess-and-by-God "magic" value
% that has to be fiddled with by trial and error to get it right.
\relative c''
\scaleDurations 3/2 {

   c4 d f e \tuplet 3/2{b4} c4  b a  c  \tuplet 3/2{b4} c4 d f, g  \tuplet
3/2{b4}  c4 d c f, \tuplet 3/2{b4} e4  f g  d  \tuplet 3/2{b4} c4 d f, g 
\tuplet 3/2{b4}  c4 d f e \tuplet 3/2{b4} c4  d f  e  \tuplet 3/2{b4} c4 d
f, g  \tuplet 3/2{b4}
\bar ""
\break
c4 d f e \tuplet 3/2{b4} c4  b a  c  \tuplet 3/2{b4} c4 d f, g  \tuplet
3/2{b4}  c4 d c f, \tuplet 3/2{b4} e4  f g  d  \tuplet 3/2{b4}

} 
}

%\new Staff { \clef "bass"
% \relative c,
   
%  \time 4/4
%\set Timing.measureLength = #(ly:make-moment 4/4)
 %{a,4 b, c d  a,4 b, c d   a,4 b, c d   a,4 b, c d   a,4 b, c d}
%}
>>  

And here's an example of the score output on imgur:
http://imgur.com/a/cSyML

Now here's my even more diabolical question:
How do you get Lilypond to do a meter and print barlines properly on a time
signature like
4 + (square root of 3)? And get valid page breaks?







--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/compound-time-signature-with-non-duple-denominator-tp195829p196098.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: Changing voice order...

2016-11-03 Thread Urs Liska
David,


Am 04.11.2016 um 00:45 schrieb Flaming Hakama by Elaine:
> due to the confusion between the intention of
> vertical-order-in-the-staff and what the << // // // >> construct
> actually does (there is no relationship),

Actually I *do* think you are misunderstanding some things here, and I
conclude this from your first post in this thread:

Am 03.11.2016 um 18:11 schrieb Flaming Hakama by Elaine:
> Top to bottom on the staff has ONLY to do with the relative pitches. 
> For example, whenever an Alto part goes lower than the Soprano in an
> SATB arrangment, then the staff order (during that voice crossing)
> from top to bottom is ASTB, not SATB.   

What this suggests is that you're mixing up is the idea of top-to-bottom
*voices* versus an idea of (local) top-to-bottom *notes*. When we talk
about multiple voices in a staff these voices *do* of course have a
top-to-bottom order of the voices (as a whole), in the case of vocal
music usually SATB. If we're talking about, say, multiple voices in a
piano staff (e.g. three voices in the right hand staff) the ordering is
somewhat arbitrary, but still there is a top-to-bottom order of the voices.
Each voice then has a set of properties governing directions and
(optional) indentation, grouped by LilyPond's \voiceXXX commands. In
strict polyphony these properties don't change with voice crossings,
quite the contrary, they are required to identify the continuity of
crossed voices.

You are right in saying that << // // // >> does not correspond to a
top-to-bottom voicing - but that is more or less what this thread was
starting with originally. This construct assigns the voice properties in
an order that does *not* correspond to the top-to-bottom order of
voices, and the question was if there's a way to harmonize automatic
voice assignment with what users usually expect.

Of course it can be argued whether a change is necessary, and if so what
would be the best option to not confuse new and seasoned users. But I
think the basic assumption of the original post in the thread was correct.

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


Re: Changing voice order...

2016-11-03 Thread Flaming Hakama by Elaine
> >> > THE VERTICAL ORDER OF NOTES ON THE PAGE HAS NOTHING TO DO WITH THE
> ORDER
> >> OF
> >> > THE VOICES WITHIN THE << // // // >> CONSTRUCT, OR WHAT THE VOICE
> NAMES
> >> ARE
> >> > CALLED
> >> >
> >> > Do you agree with that?  You should, since it is true.
> >>
> >> No, I don't agree with it.
> >
> >
> > Then you are being obstinate.
> >
> > A statement of fact, and you don't agree with it.
>
> It's _only_ statements of fact that one can sensibly agree or disagree
> with, so that's not particularly egregious.
>

Since you are clearly a bright fellow, I must conclude that you are
intentionally acting like a jerk.

Why?

In what context are facts something that can be sensibly disagreed with?



> > What are we to do with such childish behavior?
> >
> >> If you cannot distinguish "high correlation
> >> though not 100%" from "no correlation", I don't see a point in
> >> continuing.
>
> There you have your answer to "what to do with such childish behavior".
>

If you think you can silence me, you will have no luck.

I'm trying to help the adoption of Lilypond to a broader audience by
suggesting useful conventions.

The real answer to my question of what to do when confronted with childish
behavior is that I am making my arguments to everyone on the list.  If my
suggestions make sense, this will convince others, and they will in turn
convince you.


I'm perfectly fine if no one else supports my suggestion and it is dropped.


However, I felt obligated to point out why the topic is difficult, and that
is due to the confusion between the intention of
vertical-order-in-the-staff and what the << // // // >> construct actually
does (there is no relationship), and to suggest alternates that clarify the
usage.

Until this confusion is cleared up, we will have such problems.

That is something that will not go away through willful ignorance.



Sincerely,

David Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com

self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tricky tweak

2016-11-03 Thread David Sumbler
On Thu, 2016-11-03 at 23:49 +0100, Thomas Morley wrote:
> 2016-11-03 23:37 GMT+01:00 David Sumbler :
> > 
> > Well, it's proving tricky to me, anyway.
> > 
> > I have a note which needs to have "pizz." printed above it, and
> > "(non
> > sf)" below.
> > 
> > The code below, of course, puts both markings with their left edges
> > aligned with the note.
> > 
> > \version "2.19.48"
> > 
> > \language "english"
> > 
> > nonsf = \markup { \larger \italic "(non " \dynamic sf
> > \larger \italic ")" }
> > pizz = \markup { \larger \italic "pizz." }
> > 
> > { e'_\nonsf^\pizz }
> > 
> > That positioning of "pizz." is fine, but I want the "non sf"
> > marking to
> > be centred under the note.
> > 
> > If I use
> > 
> > \once \override TextScript.self-alignment-X = #0
> > 
> > then both markings move to the left, as I expected.  So I conclude
> > that
> > what I want has to be done with a 'tweak'.
> > 
> > Unfortunately, try as I might, I can't seem to get the syntax right
> > to
> > achieve this - I always get a lot of errors and warnings.
> > 
> > Can it be done, and if so how?
> > 
> > David
> 
> 
> nonsf = \markup { \larger \italic "(non " \dynamic sf \larger \italic
> ")" }
> pizz = \markup { \larger \italic "pizz." }
> 
> {
>   e'
>   -\tweak self-alignment-X #CENTER
>   -\tweak parent-alignment-X #CENTER
>   _\nonsf
>   ^\pizz
> }
> 
> HTH,
>   Harm

It certainly does help!  I had not realized that the '-' that goes
before the tweak is additional to, and does not replace, the '-' (or
'^' or '_') before the object.

Thank you very much.

David
-- 
David Sumbler 


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


Re: A tricky example -- polyMETER against polyRHYTHM

2016-11-03 Thread Thomas Morley
2016-11-04 0:26 GMT+01:00 Thomas Morley :
> 2016-11-04 0:03 GMT+01:00 Thomas Morley :
>> 2016-11-04 0:00 GMT+01:00 mclaren :
>>> Klaus;
>>>   Thanks!  That fixed the landscape paper problem. You're my new hero.
>>>   I copied the \paper {landscape} thing from the Lilypond snippet
>>> repository. Evidently the snippets
>>> have garbage code in 'em.
>>
>> Could you give the link, please.
>> Then I could correct it.
>>
>> Thanks,
>>   Harm
>
> Ok, did it myself.
> http://lsr.di.unimi.it/LSR/Search?q=landscape=10=10
> _No_ snippet shows
> \paper  {#(set-default-paper-size "a4" 'landscape)}
>
> Probably you confused it with
>
> \paper {
>   #(set-paper-size "a4" 'landscape)
> }
>
> which is ofcourse possible, but different.
>
> Therefore I gave you a link to the NR where the differences are
> explained in my first mail of this thread.

Sorry, was in the other thread you started to the same topic...
http://lilypond.1069038.n5.nabble.com/Lilypond-meter-bug-td196031.html#a196036

>
> Cheers,
>   Harm
>
>>
>>>
>>>   Anyway, no matter, now it's clear what was wrong & how to fix it.
>>>   Thanks again!
>>>
>>>
>>>
>>> --
>>> View this message in context: 
>>> http://lilypond.1069038.n5.nabble.com/A-tricky-example-polyMETER-against-polyRHYTHM-tp196030p196087.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

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


Re: A tricky example -- polyMETER against polyRHYTHM

2016-11-03 Thread Thomas Morley
2016-11-04 0:03 GMT+01:00 Thomas Morley :
> 2016-11-04 0:00 GMT+01:00 mclaren :
>> Klaus;
>>   Thanks!  That fixed the landscape paper problem. You're my new hero.
>>   I copied the \paper {landscape} thing from the Lilypond snippet
>> repository. Evidently the snippets
>> have garbage code in 'em.
>
> Could you give the link, please.
> Then I could correct it.
>
> Thanks,
>   Harm

Ok, did it myself.
http://lsr.di.unimi.it/LSR/Search?q=landscape=10=10
_No_ snippet shows
\paper  {#(set-default-paper-size "a4" 'landscape)}

Probably you confused it with

\paper {
  #(set-paper-size "a4" 'landscape)
}

which is ofcourse possible, but different.

Therefore I gave you a link to the NR where the differences are
explained in my first mail of this thread.

Cheers,
  Harm

>
>>
>>   Anyway, no matter, now it's clear what was wrong & how to fix it.
>>   Thanks again!
>>
>>
>>
>> --
>> View this message in context: 
>> http://lilypond.1069038.n5.nabble.com/A-tricky-example-polyMETER-against-polyRHYTHM-tp196030p196087.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

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


Re: Changing voice order...

2016-11-03 Thread David Kastrup
Flaming Hakama by Elaine  writes:

> On Thu, Nov 3, 2016 at 2:35 PM, David Kastrup  wrote:
>
>> Flaming Hakama by Elaine  writes:
>>
>> > I'm not sure if this is a language problem, or an attitude problem.
>> > Because it seems like you are coming to the opposite interpretation of
>> what
>> > I say, despite me being very detailed in my explanation.
>> >
>> >
>> > Let's start with the main point:
>> >
>> > THE VERTICAL ORDER OF NOTES ON THE PAGE HAS NOTHING TO DO WITH THE ORDER
>> OF
>> > THE VOICES WITHIN THE << // // // >> CONSTRUCT, OR WHAT THE VOICE NAMES
>> ARE
>> > CALLED
>> >
>> > Do you agree with that?  You should, since it is true.
>>
>> No, I don't agree with it.
>
>
> Then you are being obstinate.
>
> A statement of fact, and you don't agree with it.

It's _only_ statements of fact that one can sensibly agree or disagree
with, so that's not particularly egregious.

> What are we to do with such childish behavior?
>
>
>
>> If you cannot distinguish "high correlation
>> though not 100%" from "no correlation", I don't see a point in
>> continuing.

There you have your answer to "what to do with such childish behavior".

-- 
David Kastrup

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


Re: A tricky example -- polyMETER against polyRHYTHM

2016-11-03 Thread mclaren
N. Andrew Walsh mentioned:
> Maybe I'm misunderstanding mclaren's example, but the graphic he posted
> has
> a number of notational errors. To wit:

> in the third voice, if the meter is 11/8, then an 11:9 tuplet will not
> fill
> the bar, as it will only cover 9 eighth-notes. Perhaps he meant 9:11, in
> which case the meter needs to change to 9/8. Or the tuplet marking is
> superfluous.
  
No, that's what I want -- 8 eighth notes in one measure, then 9 eighth notes
in the next measure, then 8, then 9. This forces the notes in the third
staff to line up with the downbeats in each measure in the second staff, but
not with the downbeats in each measure in the first staff.

You're right of course that we could equally well notate this using separate
tempo streams, but conventional Western notation has no method for notating
multiple simultaneous metronome markings.
To be even more perverse, we could just as well notate e.g. a stream of half
notes against a stream of eighth notes by writing both as streams of eighth
notes and marking tempo mm = 120 on the stream of
eighth notes and tempo mm = 30 on the stream that's going to be heard as
half notes, but, really...that would be so obscure it seems cryptic.

I'm going to post an example where that multiple simultaneous tempi method
might be the only
solution. This next one, I'm at my wit's end on...





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/A-tricky-example-polyMETER-against-polyRHYTHM-tp196030p196091.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: A tricky example -- polyMETER against polyRHYTHM

2016-11-03 Thread Thomas Morley
2016-11-04 0:00 GMT+01:00 mclaren :
> Klaus;
>   Thanks!  That fixed the landscape paper problem. You're my new hero.
>   I copied the \paper {landscape} thing from the Lilypond snippet
> repository. Evidently the snippets
> have garbage code in 'em.

Could you give the link, please.
Then I could correct it.

Thanks,
  Harm

>
>   Anyway, no matter, now it's clear what was wrong & how to fix it.
>   Thanks again!
>
>
>
> --
> View this message in context: 
> http://lilypond.1069038.n5.nabble.com/A-tricky-example-polyMETER-against-polyRHYTHM-tp196030p196087.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

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


Re: Pitched trills

2016-11-03 Thread Thomas Morley
2016-11-03 23:27 GMT+01:00 astow...@gmail.com :
> Oh, this one I've seen! But it uses "trill spans" (\startTrillSpan and
> \stopTrillSpan).
> As I was saying in my original message, I'm trying to show the trilled note
> but I only want the indication "tr", not the extender line.
> I couldn't find anything in the docs but it should be possible, no?

The small, parenthesized note-head is put out by the TrillSpanner.

You can observe it applying displayMusic:

\displayMusic
\relative c''
{
  \pitchedTrill
  d2\startTrillSpan fis
  d\stopTrillSpan
}

Or look at this coding, giving the _TrillSpanner_ a pitch results in
printing the small note-head.

{
  \textLengthOn

  <>^"simple TrillSpanner"
  d''2\startTrillSpan d''\stopTrillSpan

  <>^"TrillSpanner with pitch"
  d''2-\withMusicProperty #'pitch ##{ fis'' #} \startTrillSpan
  d''\stopTrillSpan
}

So you need to override TrillSpanner, leading to:

\relative c''
{
  \override TrillSpanner.style = #'none
  \pitchedTrill
  d2\startTrillSpan fis
  d\stopTrillSpan
}


HTH,
  Harm

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


Re: Tricky tweak

2016-11-03 Thread Martin Neubauer
What about something like:

nonsf = #(make-dynamic-script
(markup #:normal-text #:italic "(non "
#:dynamic "sf"
#:normal-text #:italic ")"))

On 03/11/2016 23:37, David Sumbler wrote:
> Well, it's proving tricky to me, anyway.
> 
> I have a note which needs to have "pizz." printed above it, and "(non
> sf)" below.
> 
> The code below, of course, puts both markings with their left edges
> aligned with the note.
> 
>   \version "2.19.48"
> 
>   \language "english"
> 
>   nonsf = \markup { \larger \italic "(non " \dynamic sf \larger \italic 
> ")" }
>   pizz = \markup { \larger \italic "pizz." }
> 
>   { e'_\nonsf^\pizz }
> 
> That positioning of "pizz." is fine, but I want the "non sf" marking to
> be centred under the note.
> 
> If I use
> 
> \once \override TextScript.self-alignment-X = #0
> 
> then both markings move to the left, as I expected.  So I conclude that
> what I want has to be done with a 'tweak'.
> 
> Unfortunately, try as I might, I can't seem to get the syntax right to
> achieve this - I always get a lot of errors and warnings.
> 
> Can it be done, and if so how?
> 
> David
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 



signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: A tricky example -- polyMETER against polyRHYTHM

2016-11-03 Thread mclaren
Klaus;
  Thanks!  That fixed the landscape paper problem. You're my new hero.
  I copied the \paper {landscape} thing from the Lilypond snippet
repository. Evidently the snippets
have garbage code in 'em.

  Anyway, no matter, now it's clear what was wrong & how to fix it.
  Thanks again!



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/A-tricky-example-polyMETER-against-polyRHYTHM-tp196030p196087.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: Tricky tweak

2016-11-03 Thread Thomas Morley
2016-11-03 23:37 GMT+01:00 David Sumbler :
> Well, it's proving tricky to me, anyway.
>
> I have a note which needs to have "pizz." printed above it, and "(non
> sf)" below.
>
> The code below, of course, puts both markings with their left edges
> aligned with the note.
>
> \version "2.19.48"
>
> \language "english"
>
> nonsf = \markup { \larger \italic "(non " \dynamic sf \larger \italic 
> ")" }
> pizz = \markup { \larger \italic "pizz." }
>
> { e'_\nonsf^\pizz }
>
> That positioning of "pizz." is fine, but I want the "non sf" marking to
> be centred under the note.
>
> If I use
>
> \once \override TextScript.self-alignment-X = #0
>
> then both markings move to the left, as I expected.  So I conclude that
> what I want has to be done with a 'tweak'.
>
> Unfortunately, try as I might, I can't seem to get the syntax right to
> achieve this - I always get a lot of errors and warnings.
>
> Can it be done, and if so how?
>
> David



nonsf = \markup { \larger \italic "(non " \dynamic sf \larger \italic ")" }
pizz = \markup { \larger \italic "pizz." }

{
  e'
  -\tweak self-alignment-X #CENTER
  -\tweak parent-alignment-X #CENTER
  _\nonsf
  ^\pizz
}

HTH,
  Harm

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


Tricky tweak

2016-11-03 Thread David Sumbler
Well, it's proving tricky to me, anyway.

I have a note which needs to have "pizz." printed above it, and "(non
sf)" below.

The code below, of course, puts both markings with their left edges
aligned with the note.

\version "2.19.48"

\language "english"

nonsf = \markup { \larger \italic "(non " \dynamic sf \larger \italic 
")" }
pizz = \markup { \larger \italic "pizz." }

{ e'_\nonsf^\pizz }

That positioning of "pizz." is fine, but I want the "non sf" marking to
be centred under the note.

If I use

\once \override TextScript.self-alignment-X = #0

then both markings move to the left, as I expected.  So I conclude that
what I want has to be done with a 'tweak'.

Unfortunately, try as I might, I can't seem to get the syntax right to
achieve this - I always get a lot of errors and warnings.

Can it be done, and if so how?

David

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


Re: Changing voice order...

2016-11-03 Thread Flaming Hakama by Elaine
On Thu, Nov 3, 2016 at 2:35 PM, David Kastrup  wrote:

> Flaming Hakama by Elaine  writes:
>
> > I'm not sure if this is a language problem, or an attitude problem.
> > Because it seems like you are coming to the opposite interpretation of
> what
> > I say, despite me being very detailed in my explanation.
> >
> >
> > Let's start with the main point:
> >
> > THE VERTICAL ORDER OF NOTES ON THE PAGE HAS NOTHING TO DO WITH THE ORDER
> OF
> > THE VOICES WITHIN THE << // // // >> CONSTRUCT, OR WHAT THE VOICE NAMES
> ARE
> > CALLED
> >
> > Do you agree with that?  You should, since it is true.
>
> No, I don't agree with it.


Then you are being obstinate.

A statement of fact, and you don't agree with it.

What are we to do with such childish behavior?



> If you cannot distinguish "high correlation
> though not 100%" from "no correlation", I don't see a point in
> continuing.


The definition of << // // // >> behaves the same way 100% of the time.

Let's name the voices to reflect what it does with them:  set the default
stem direction and indentation.
Not vertical voice order on the staff.

By trying to name voices of << // // // >> by vertical voice order on the
staff, we introduce confusion, since that isn't what << // // // >> does.



> The reason the various shifts and stem directions are
> assigned in the manner and order they are is because this tends to
> minimize collisions for the _customary_ note order within voice
> stacking.  It's not arbitrary at all, so "nothing to do with" just is
> plain wrong.
>

Except that there seems to be a vast disagreement about what this order is
or should be, and this tends to maximize confusion.

My statement was about the relationship between voices in << // // // >>
and their vertical position on the page, which is that there isn't any.
And it is still true, despite the fact that you don't enjoy the
implications.


I understand that we are trying to make the syntax as close to typical
usage as possible.

However, you don't seem to understand that choosing a naming convention
that implies one thing, yet does another, is not a good user interface.

Even if the convention is 90% right, that makes working the remaining 10%
of cases almost as much of a chore as carrying on a conversation with you.


We can get it 100% right, so why not do it?


Cheers,

David Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Pitched trills

2016-11-03 Thread Hans Åberg

> On 3 Nov 2016, at 23:21, Mark Stephen Mrotek  wrote:
> 
> Here is the complete link:
> http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-as-lin
> es#trills

Your link somehow gets broken in the mail. Check this:
https://lists.gnu.org/archive/html/lilypond-user/2016-11/msg00132.html



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


Re: Pitched trills

2016-11-03 Thread astow...@gmail.com
Oh, this one I've seen! But it uses "trill spans" (\startTrillSpan and 
\stopTrillSpan).
As I was saying in my original message, I'm trying to show the trilled note but 
I only want the indication "tr", not the extender line. 
I couldn't find anything in the docs but it should be possible, no?

> On Nov 3, 2016, at 6:21 PM, Mark Stephen Mrotek  wrote:
> 
> Here is the complete link:
> http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-as-lin
> es#trills
> This is the code given:
> \pitchedTrill
> d2\startTrillSpan fis
> d2
> c2\stopTrillSpan
> r2
> 
> Mark
> 
> -Original Message-
> From: lilypond-user
> [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
> astow...@gmail.com
> Sent: Thursday, November 03, 2016 3:14 PM
> To: Lilypond-User 
> Subject: Re: Pitched trills
> 
> Thanks Mark, but it's not on the page you linked to, and it doesn't work!
> 
>> On Nov 3, 2016, at 5:59 PM, Mark Stephen Mrotek 
> wrote:
>> 
>> As Towney,
>> 
>> According to 2.18
>> http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-
>> as-lin
>> es#trills
>> the correct order is
>> \pitchedTrill dis'2\trill g
>> 
>> Mark
>> 
>> -Original Message-
>> From: lilypond-user
>> [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf 
>> Of As Towney
>> Sent: Thursday, November 03, 2016 2:38 PM
>> To: Lilypond-User 
>> Subject: Pitched trills
>> 
>> Hi all,
>> I am having issues with trills. I am trying to indicate the trilled 
>> note for a simple (short) trill (no trillSpan).
>> this doesn't work:
>> dis'2 \pitchedTrill g gis'2
>> 
>> what am I doing wrong?
>> Thanks!
>> Martin
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 

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


RE: Pitched trills

2016-11-03 Thread Mark Stephen Mrotek
Here is the complete link:
http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-as-lin
es#trills
This is the code given:
\pitchedTrill
d2\startTrillSpan fis
d2
c2\stopTrillSpan
r2

Mark

-Original Message-
From: lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
astow...@gmail.com
Sent: Thursday, November 03, 2016 3:14 PM
To: Lilypond-User 
Subject: Re: Pitched trills

Thanks Mark, but it's not on the page you linked to, and it doesn't work!

> On Nov 3, 2016, at 5:59 PM, Mark Stephen Mrotek 
wrote:
> 
> As Towney,
> 
> According to 2.18
> http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-
> as-lin
> es#trills
> the correct order is
> \pitchedTrill dis'2\trill g
> 
> Mark
> 
> -Original Message-
> From: lilypond-user
> [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf 
> Of As Towney
> Sent: Thursday, November 03, 2016 2:38 PM
> To: Lilypond-User 
> Subject: Pitched trills
> 
> Hi all,
> I am having issues with trills. I am trying to indicate the trilled 
> note for a simple (short) trill (no trillSpan).
> this doesn't work:
> dis'2 \pitchedTrill g gis'2
> 
> what am I doing wrong?
> Thanks!
> Martin
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 


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


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


Re: Pitched trills

2016-11-03 Thread Hans Åberg

> On 3 Nov 2016, at 23:13, astow...@gmail.com wrote:
> 
> Thanks Mark, but it's not on the page you linked to, and it doesn't work!

Try this and click on "Trills" or move to the end of the page:
http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-as-lines


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


Re: Pitched trills

2016-11-03 Thread astow...@gmail.com
Thanks Mark, but it's not on the page you linked to, and it doesn't work!

> On Nov 3, 2016, at 5:59 PM, Mark Stephen Mrotek  wrote:
> 
> As Towney,
> 
> According to 2.18
> http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-as-lin
> es#trills
> the correct order is
> \pitchedTrill dis'2\trill g
> 
> Mark
> 
> -Original Message-
> From: lilypond-user
> [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of As
> Towney
> Sent: Thursday, November 03, 2016 2:38 PM
> To: Lilypond-User 
> Subject: Pitched trills
> 
> Hi all,
> I am having issues with trills. I am trying to indicate the trilled note for
> a simple (short) trill (no trillSpan).
> this doesn't work:
> dis'2 \pitchedTrill g gis'2
> 
> what am I doing wrong?
> Thanks!
> Martin
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 


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


RE: Pitched trills

2016-11-03 Thread Mark Stephen Mrotek
As Towney,

According to 2.18
http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-as-lin
es#trills
the correct order is
\pitchedTrill dis'2\trill g

Mark

-Original Message-
From: lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of As
Towney
Sent: Thursday, November 03, 2016 2:38 PM
To: Lilypond-User 
Subject: Pitched trills

Hi all,
I am having issues with trills. I am trying to indicate the trilled note for
a simple (short) trill (no trillSpan).
this doesn't work:
dis'2 \pitchedTrill g gis'2

what am I doing wrong?
Thanks!
Martin
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Pitched trills

2016-11-03 Thread As Towney
Hi all,
I am having issues with trills. I am trying to indicate the trilled note for a 
simple (short) trill (no trillSpan).
this doesn't work:
dis'2 \pitchedTrill g gis'2

what am I doing wrong?
Thanks!
Martin
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Changing voice order...

2016-11-03 Thread David Kastrup
Flaming Hakama by Elaine  writes:

> I'm not sure if this is a language problem, or an attitude problem.
> Because it seems like you are coming to the opposite interpretation of what
> I say, despite me being very detailed in my explanation.
>
>
> Let's start with the main point:
>
> THE VERTICAL ORDER OF NOTES ON THE PAGE HAS NOTHING TO DO WITH THE ORDER OF
> THE VOICES WITHIN THE << // // // >> CONSTRUCT, OR WHAT THE VOICE NAMES ARE
> CALLED
>
> Do you agree with that?  You should, since it is true.

No, I don't agree with it.  If you cannot distinguish "high correlation
though not 100%" from "no correlation", I don't see a point in
continuing.  The reason the various shifts and stem directions are
assigned in the manner and order they are is because this tends to
minimize collisions for the _customary_ note order within voice
stacking.  It's not arbitrary at all, so "nothing to do with" just is
plain wrong.

-- 
David Kastrup

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


Re: compound time signature with non duple denominator

2016-11-03 Thread Hans Åberg

> On 3 Nov 2016, at 21:28, David Wright  wrote:
> 
> On Thu 03 Nov 2016 at 10:37:36 (+0100), Hans Åberg wrote:
>> 
>>> On 3 Nov 2016, at 03:04, David Wright  wrote:
>>> 
> The only 13/8 I can recall off-hand is an uncomplicated 6/4+1/8.

>>> Correct me if I'm wrong (I'm not familiar with these dances), but
>>> these are just groupings of steady 16th notes, are they not.
>> 
>> Yes, in the definition of the meter, in respons to your question whether it 
>> might be performable. 13/8 and even 13/16 is performable at moderato 
>> counting on the 1/4s, though I have no example of the 3+3+3+3+1 occurring 
>> naturally.
> 
> But the three notes I referred to weren't in 13/8 or 13/16 because the
> last 3 of 3+3+3+3+1 (in 13/8 time) was a made into a duplet.

It was in response to your comment on 13/8 above.

In the Leventikos 12/8, 12 = 3+2+2+3+2, the 3s have duplets metric accents. But 
it is hard to express that via meter. When notation, oen just sums it up. 
Bartok used (4+2+3)/8, that is
  4+2+3
8
but on the Balkans one would just write 9/8 or 9/16. The beaming can indicate 
metric subaccents, but LilyPond cannot do that automatically, so I just skip it,

>>> My example wasn't.
>> 
>> Then one add another level on the musical line. One example how this occurs 
>> metrically is the Leventikos in 12.
>> 
> 
> I don't know what "another level on the musical line" means.

One performer keeps the meter, and the others follow.

> What I was pointing out was that we have 13/8 consisting of three
> dotted crochets followed by a duplet (two in the time of a dotted
> crochet) followed by a quaver. The relationship of these notes is
> 6 6 6 3 3 2 and I think most people would struggle with getting
> that last note exactly the correct length.

In irregular meters, the opposite happens: one looses the feeling for exact 
proportions. So one has to unlearn the idea of exact beats. If you want exact 
beats, then you need a sequencer track.

I am not sure exactly what meter you want, but if the proportions are 
3+3+3+3+1, then it will likely feel like a common 9 = 2+2+2+3 with a slight 
time bend shortening the last beat a bit, which is normally done.

The tune Eleno Mome is often played in 7/8, but exists written as 13/16, 13 = 
4+4+2+3, where the 3 has typical 2+1 patterns. In live performances, there 
might be something between 7/8 and 13/16. But exists written as 12/16, 12 = 
3+4+2+3, and a performance plays it as 3+2+2+2+3.

> Of course, if you adopt a pace where you can form that pattern
> by grouping 26 rapid claps or whatever, then it can get simpler,
> but I was talking in the context of straightforward note values
> as sung by, say, a classical singer.

On Balkans, they use 3s and 2s, counting on the fingers, for example 11 = 
2+2+3+2+2. This way, smaller differences than be performed.

But you might try using flute articulation t-k and t-k-t patterns.

 This Leventikos is also performed in 12 = 3+2+2+3+2, with quadruplets on 
 the 3s - se my other post in this thread.
>>> 
>>> OK, the quadruplets add another layer of complexity. The note
>>> durations are now 3+3+3+3+ 4+4+ 4+4+ 3+3+3+3+ 4+4 / 48.
>>> So taking this Leventikos pattern, I've bent the "4/4+1/3" so
>>> that it contains similar tupleticity, to coin a nonce word.
>> 
>> Yes, indeed. In the Leventikos, the quadruplet pattern occurs consistently. 
>> When performing, there are slower 1/16th contrasted with faster ones. Some 
>> performers have triplets on the 2s, and quintuplets occur in Balkan music as 
>> well. So it can be more complex.
>> 
>>> I've broken the 13/8 time signature into the appropriate groups,
>>> 3/8+3/8+3/8+3/8+1/8. I've followed this with the 4/4/+1/12
>>> time signature's equivalent notation for the same durations.
>>> The actual rhythm of the individual notes in both cases is
>>> 4+4+4+ 3+3+3+3+ 4+4+4+ 3+3+3+3+ 4 / 52.
>> 
>> A problem with this meter is that the 1/3 at the end is fairly short, so it 
>> may be distorted by metric time bends: there is a tendency in Balkan music 
>> to shorten the measure at the end.
> 
> Hey, that's my point. You call it "metric time bends" and that's fine
> in the context of your musical examples

Then it sound as a regular 9/8 or 9/16.

>> So the question is how to bring out the triplet nature. Otherwise replacing 
>> the 1/3 with 1/4 or 1/2 might do well, from the practical point of view. The 
>> meter 9 = 2+2+2+3 is very common, so at faster tempo, your meter may sound 
>> like this one. Some examples:
>>  https://www.youtube.com/watch?v=a-2HVFc4k_k
>>  https://www.youtube.com/watch?v=78ycWoNozLY
> 
> I think you're on a different journey. I'm not trying to "bring out
> the triplet nature" in anything. Perhaps you were misled by my second
> sentence,
> 
> "Three triplet eighth notes make a quarter note."
> 
> The "triplet" in that sentence refers back to the OP's
> 
> "the measure is four quarter notes long plus one triplet 

Re: Changing voice order...

2016-11-03 Thread Flaming Hakama by Elaine
I'm not sure if this is a language problem, or an attitude problem.
Because it seems like you are coming to the opposite interpretation of what
I say, despite me being very detailed in my explanation.


Let's start with the main point:

THE VERTICAL ORDER OF NOTES ON THE PAGE HAS NOTHING TO DO WITH THE ORDER OF
THE VOICES WITHIN THE << // // // >> CONSTRUCT, OR WHAT THE VOICE NAMES ARE
CALLED

Do you agree with that?  You should, since it is true.



If so, let's go on the the consequence of this:

IT DOES NOT MAKE SENSE TO NAME IMPLICIT VOICES WITHIN << // // // >> BASED
ON THE VERTICAL ORDER ON WHICH THEY APPEAR ON THE PAGE, SINCE THEIR
VERTICAL ORDER IS NOT FIXED.


Any objections so far?



On Thu, Nov 3, 2016 at 1:21 PM, David Kastrup  wrote:

> Flaming Hakama by Elaine  writes:
>
> > On Nov 3, 2016 12:55 PM, "David Kastrup"  wrote:
> >>
> >> Flaming Hakama by Elaine  writes:
> >>
> >> > I wanted to jump in here because in this discussion, a lot of people
> > have
> >> > said or implied things like (paraphrasing) "top to bottom in << // //
> > // >>
> >> > should correspond top to bottom in the score", and suggesting naming
> >> > conventions based on this.
> >> >
> >> > These thoughts, while well-intentioned, are bad since they are
> > misleading
> >> > for this important reason:
> >> >
> >> >  !!! Top to bottom on the staff has precisely nothing to do with
> any
> >> > conventions of << // // // >> !!!
> >> >
> >> >
> >> > Top to bottom on the staff has ONLY to do with the relative pitches.
> > For
> >> > example, whenever an Alto part goes lower than the Soprano in an SATB
> >> > arrangment, then the staff order (during that voice crossing) from top
> > to
> >> > bottom is ASTB, not SATB.
> >>
> >> Sorry, I don't get your point.  Stem direction and displacements do not
> >> change for voice crossings: that's the sole way to actually recognize
> >> them.
> >
> > Maybe you should read the whole of my post.
> >
> > I think we agree that the vertical order of voices/notes has nothing
> > to do with their stem direction and indentation.
>
> No, we don't agree on that.  The order of voices is not always the same
> as the order of notes, and the order of voices has a whole lot to do
> with their stem direction and indentation: the order of voices does not
> change with voice crossings, and neither does their individual markup.
>

> Which is why any set of names that imply order (like one, two, etc.)
> > are bad choices for the voice names.
>
> I like the numeric identifiers in some of the proposals a bit better
> than the written names since they seem to suggest more of a _property_
> rather than an _identity_ of a voice markup.  That makes it less awkward
> to me in some manner that the numbers for the down-pointing voices are
> assigned from bottom to top.
>


David Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: compound time signature with non duple denominator

2016-11-03 Thread David Wright
On Thu 03 Nov 2016 at 10:37:36 (+0100), Hans Åberg wrote:
> 
> > On 3 Nov 2016, at 03:04, David Wright  wrote:
> > 
> > On Wed 02 Nov 2016 at 22:13:54 (+0100), Hans Åberg wrote:
> >> 
> >>> On 2 Nov 2016, at 21:08, David Wright  wrote:
> >>> 
> >>> On Wed 02 Nov 2016 at 20:10:39 (+0100), Hans Åberg wrote:
>  
> > On 28 Oct 2016, at 21:48, David Wright  
> > wrote:
> > 
> > On Fri 28 Oct 2016 at 11:22:00 (-0700), Tobin Chodos wrote:
> >> Forgive me if this is a too-easy issue for the list, but: is there a 
> >> way to
> >> define a time compound time signature such as 4/4 + 1/3?  That is, the
> >> measure is four quarter notes long plus one triplet eighth note.
> > 
> > Isn't this just 13/8? Three triplet eighth notes make a quarter note.
> > So it's 3+3+3+3+1 all over 8, and the notes will be written out as
> > four dotted quarter notes and an eighth note per measure.
>  
>  Indeed, 12/8 may be complicated notationally if the beats of length 3/8 
>  are divided into twos and fours, so 4/4 might be preferred.
> >>> 
> >>> Now that would be interesting. Are the last three notes of the first
> >>> bar realistically performable? OTOH splitting the long notes into
> >>> threes would be straightforward to perform (and to write in 13/8).
> >> 
> >> It is, if the tempo is not too high, and one devices a method for counting.
> >> 
> >>> The only 13/8 I can recall off-hand is an uncomplicated 6/4+1/8.
> >> 
> >> At moderato, 1/4 = 120, 13/16 is performable counting on 2s and 3s. One 
> >> example is Krivo Sadovsko horo (Bulgaria), 13 = 4+5+4, 4=2+2, 5 = 2+3:
> >>  https://www.youtube.com/watch?v=3jCuUWnwM28
> >> Another is Ispayche horo, 13 = 3+2+3+2+3
> >>  https://www.youtube.com/watch?v=tbU2za0rbzs
> >> 
> >> At higher tempo, one may need to count on 3s, 4s, and 5s, especially when 
> >> clapping hands:
> >>  https://www.youtube.com/watch?v=aecsGYwtVJM
> >> This is a Leventikos, in video video, it is in 16 = 4+2+3+4+3, but the 
> >> clap hands 4+5+4+3.
> >>  https://en.wikipedia.org/wiki/Leventikos
> > 
> > Correct me if I'm wrong (I'm not familiar with these dances), but
> > these are just groupings of steady 16th notes, are they not.
> 
> Yes, in the definition of the meter, in respons to your question whether it 
> might be performable. 13/8 and even 13/16 is performable at moderato counting 
> on the 1/4s, though I have no example of the 3+3+3+3+1 occurring naturally.

But the three notes I referred to weren't in 13/8 or 13/16 because the
last 3 of 3+3+3+3+1 (in 13/8 time) was a made into a duplet.

> > My example wasn't.
> 
> Then one add another level on the musical line. One example how this occurs 
> metrically is the Leventikos in 12.
> 

I don't know what "another level on the musical line" means.

What I was pointing out was that we have 13/8 consisting of three
dotted crochets followed by a duplet (two in the time of a dotted
crochet) followed by a quaver. The relationship of these notes is
6 6 6 3 3 2 and I think most people would struggle with getting
that last note exactly the correct length.

Of course, if you adopt a pace where you can form that pattern
by grouping 26 rapid claps or whatever, then it can get simpler,
but I was talking in the context of straightforward note values
as sung by, say, a classical singer.

> >> This Leventikos is also performed in 12 = 3+2+2+3+2, with quadruplets on 
> >> the 3s - se my other post in this thread.
> > 
> > OK, the quadruplets add another layer of complexity. The note
> > durations are now 3+3+3+3+ 4+4+ 4+4+ 3+3+3+3+ 4+4 / 48.
> > So taking this Leventikos pattern, I've bent the "4/4+1/3" so
> > that it contains similar tupleticity, to coin a nonce word.
> 
> Yes, indeed. In the Leventikos, the quadruplet pattern occurs consistently. 
> When performing, there are slower 1/16th contrasted with faster ones. Some 
> performers have triplets on the 2s, and quintuplets occur in Balkan music as 
> well. So it can be more complex.
> 
> > I've broken the 13/8 time signature into the appropriate groups,
> > 3/8+3/8+3/8+3/8+1/8. I've followed this with the 4/4/+1/12
> > time signature's equivalent notation for the same durations.
> > The actual rhythm of the individual notes in both cases is
> > 4+4+4+ 3+3+3+3+ 4+4+4+ 3+3+3+3+ 4 / 52.
> 
> A problem with this meter is that the 1/3 at the end is fairly short, so it 
> may be distorted by metric time bends: there is a tendency in Balkan music to 
> shorten the measure at the end.

Hey, that's my point. You call it "metric time bends" and that's fine
in the context of your musical examples.

> So the question is how to bring out the triplet nature. Otherwise replacing 
> the 1/3 with 1/4 or 1/2 might do well, from the practical point of view. The 
> meter 9 = 2+2+2+3 is very common, so at faster tempo, your meter may sound 
> like this one. Some examples:
>   

Re: Changing voice order...

2016-11-03 Thread David Kastrup
Flaming Hakama by Elaine  writes:

> On Nov 3, 2016 12:55 PM, "David Kastrup"  wrote:
>>
>> Flaming Hakama by Elaine  writes:
>>
>> > I wanted to jump in here because in this discussion, a lot of people
> have
>> > said or implied things like (paraphrasing) "top to bottom in << // //
> // >>
>> > should correspond top to bottom in the score", and suggesting naming
>> > conventions based on this.
>> >
>> > These thoughts, while well-intentioned, are bad since they are
> misleading
>> > for this important reason:
>> >
>> >  !!! Top to bottom on the staff has precisely nothing to do with any
>> > conventions of << // // // >> !!!
>> >
>> >
>> > Top to bottom on the staff has ONLY to do with the relative pitches.
> For
>> > example, whenever an Alto part goes lower than the Soprano in an SATB
>> > arrangment, then the staff order (during that voice crossing) from top
> to
>> > bottom is ASTB, not SATB.
>>
>> Sorry, I don't get your point.  Stem direction and displacements do not
>> change for voice crossings: that's the sole way to actually recognize
>> them.
>
> Maybe you should read the whole of my post.
>
> I think we agree that the vertical order of voices/notes has nothing
> to do with their stem direction and indentation.

No, we don't agree on that.  The order of voices is not always the same
as the order of notes, and the order of voices has a whole lot to do
with their stem direction and indentation: the order of voices does not
change with voice crossings, and neither does their individual markup.

> Which is why any set of names that imply order (like one, two, etc.)
> are bad choices for the voice names.

I like the numeric identifiers in some of the proposals a bit better
than the written names since they seem to suggest more of a _property_
rather than an _identity_ of a voice markup.  That makes it less awkward
to me in some manner that the numbers for the down-pointing voices are
assigned from bottom to top.

-- 
David Kastrup

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


Re: Changing voice order...

2016-11-03 Thread Flaming Hakama by Elaine
On Nov 3, 2016 12:55 PM, "David Kastrup"  wrote:
>
> Flaming Hakama by Elaine  writes:
>
> > I wanted to jump in here because in this discussion, a lot of people
have
> > said or implied things like (paraphrasing) "top to bottom in << // //
// >>
> > should correspond top to bottom in the score", and suggesting naming
> > conventions based on this.
> >
> > These thoughts, while well-intentioned, are bad since they are
misleading
> > for this important reason:
> >
> >  !!! Top to bottom on the staff has precisely nothing to do with any
> > conventions of << // // // >> !!!
> >
> >
> > Top to bottom on the staff has ONLY to do with the relative pitches.
For
> > example, whenever an Alto part goes lower than the Soprano in an SATB
> > arrangment, then the staff order (during that voice crossing) from top
to
> > bottom is ASTB, not SATB.
>
> Sorry, I don't get your point.  Stem direction and displacements do not
> change for voice crossings: that's the sole way to actually recognize
> them.
>
> --
> David Kastrup

Maybe you should read the whole of my post.

I think we agree that the vertical order of voices/notes has nothing to do
with their  stem direction and indentation.

Which is why any set of names that imply order (like one, two, etc.) are
bad choices for the voice names.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bad-Schemer syndrome

2016-11-03 Thread David Kastrup
David Kastrup  writes:

> PMA  writes:
>
>> Hi LP Gurus!
>>
>> I have a score (see "Original" below) full of note events
>> like "gs 3", whose duration is MEANT always to be realized
>> as *one triplet half-note*.
>>
>> Original = { gs 3  a 3g 2   a 3 }
>> Replaced = { \TR gs\TR a  g 2   \TR a }
>>
>> So, I'm trying to concoct a function that, for any event
>> of original duration '3', will input the pitch name only
>> (reading from "Replaced") and embed that string in the
>> command "\tuplet 3/2  2".
>>
>> TR =
>> #(define-music-function (parser location offset) (?)
>>   #{
>>  \tuplet 3/2 offset 2
>>   #})
>
> ? is ly:duration?  and you need to write $offset instead of offset.

P.  Of course ? is ly:pitch? rather.  What have I been thinking.

> Problem is that you usually want a _group_ of triplets, and this will
> only deliver a single one.

-- 
David Kastrup

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


Re: Bad-Schemer syndrome

2016-11-03 Thread David Kastrup
PMA  writes:

> Hi LP Gurus!
>
> I have a score (see "Original" below) full of note events
> like "gs 3", whose duration is MEANT always to be realized
> as *one triplet half-note*.
>
> Original = { gs 3  a 3g 2   a 3 }
> Replaced = { \TR gs\TR a  g 2   \TR a }
>
> So, I'm trying to concoct a function that, for any event
> of original duration '3', will input the pitch name only
> (reading from "Replaced") and embed that string in the
> command "\tuplet 3/2  2".
>
> TR =
> #(define-music-function (parser location offset) (?)
>   #{
>  \tuplet 3/2 offset 2
>   #})

? is ly:duration?  and you need to write $offset instead of offset.

Problem is that you usually want a _group_ of triplets, and this will
only deliver a single one.

-- 
David Kastrup

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


Re: Changing voice order...

2016-11-03 Thread David Kastrup
Flaming Hakama by Elaine  writes:

> I wanted to jump in here because in this discussion, a lot of people have
> said or implied things like (paraphrasing) "top to bottom in << // // // >>
> should correspond top to bottom in the score", and suggesting naming
> conventions based on this.
>
> These thoughts, while well-intentioned, are bad since they are misleading
> for this important reason:
>
>  !!! Top to bottom on the staff has precisely nothing to do with any
> conventions of << // // // >> !!!
>
>
> Top to bottom on the staff has ONLY to do with the relative pitches.  For
> example, whenever an Alto part goes lower than the Soprano in an SATB
> arrangment, then the staff order (during that voice crossing) from top to
> bottom is ASTB, not SATB.

Sorry, I don't get your point.  Stem direction and displacements do not
change for voice crossings: that's the sole way to actually recognize
them.

-- 
David Kastrup

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


Bad-Schemer syndrome

2016-11-03 Thread PMA

Hi LP Gurus!

I have a score (see "Original" below) full of note events
like "gs 3", whose duration is MEANT always to be realized
as *one triplet half-note*.

Original = { gs 3  a 3g 2   a 3 }
Replaced = { \TR gs\TR a  g 2   \TR a }

So, I'm trying to concoct a function that, for any event
of original duration '3', will input the pitch name only
(reading from "Replaced") and embed that string in the
command "\tuplet 3/2  2".

TR =
#(define-music-function (parser location offset) (?)
  #{
 \tuplet 3/2 offset 2
  #})

But I'm stymied trying to whittle its Scheme, especially
re two questions: what variable type will work for the
the define-line ending "(?)" - "string" doesn't; and
what extra syntax might the "\tuplet..." command need to
handle the "offset" in its innards?

Hope this is clear.
Thanks in advance.
Pete


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


Re: Changing voice order...

2016-11-03 Thread tisimst
On Thu, Nov 3, 2016 at 10:48 AM, Abraham Lee 
wrote:

>
> On Thu, Nov 3, 2016 at 9:00 AM, David Kastrup [via Lilypond] <
> ml-node+s1069038n196051...@n5.nabble.com> wrote:
>
>> Werner LEMBERG <[hidden email]
>> > writes:
>>
>> >> So
>> >> \voiceOne \voiceTwo \voiceThree \voiceFour
>> >> becomes
>> >> \voiceUp \voiceDown \voiceUpTwo \voiceDownTwo
>> >
>> > I would make \voiceUp and \voiceDown be the same as \voiceUpOne and
>> > \voiceUpTwo, respectively, so that we can write
>> >
>> >   \voiceUpOne \voiceDownOne \voiceUpTwo \voiceDownTwo
>>
>> Here is another variant that's a bit bold:
>>
>> \voice^1 \voice_1 \voice^2 \voice_2
>>
>> This will syntactically take a fingering event as input.  However, this
>> does not work as
>>
>> \voices 1,2,-2,-1 << \\ ... \\ >>
>>
>> does.  I am not totally sure whether \voices ^1^2_1_2 << \\ ... \\ >>
>> might not be parseable (as a single post-event) but it won't mix with
>> symbolic names for voice contexts.  So while it is a cute replacement
>> for \voiceOne ... and is expressive concerning its direction, I am not
>> sure it's a winner.
>>
>
> I like this idea. Here's another thought to throw into the mix, ...
>

By the way (and I believe there may have been some discussion about this
previously, but I'm too lazy to look it up right now), why do we use
\oneVoice instead of \voiceNeutral like we do with \tieNeutral,
\tupletNeutral, etc. "\oneVoice" certainly stands out a little more
(visually), but it's sure not consistent with the other commands of this
nature. Just saying...

--
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Changing-voice-order-tp195757p196066.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: crop marks in PDF for printing

2016-11-03 Thread Federico Bruni
Il giorno gio 3 nov 2016 alle 18:46, Alexander Kobel 
 ha scritto:

On 2016-11-03 18:40, Federico Bruni wrote:
Il giorno gio 3 nov 2016 alle 17:52, Urs Liska  
ha

scritto:
If you want to go the LaTeX way you can use the following 
boilerplate

code:


No, I can't. I decided not to use lilypond-book because of its 
limitations.

Thanks anyway


Urs' proposal is completely independent of lilypond-book, only the 
postprocessing is done via LaTeX.  It just takes an arbitrary 
existing PDF, puts it centered on pages of a size that you specify, 
and adds crop marks.  In fact, the package used for the embedding of 
the PDF is the same backend that pdfjam uses.  If the crop marks from 
the LaTeX package look like what you want, that's the easiest 
one-shot option.




right, I missed that (I'm still at work..)
I'll try this as well


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


Re: crop marks in PDF for printing

2016-11-03 Thread Alexander Kobel

On 2016-11-03 18:40, Federico Bruni wrote:

Il giorno gio 3 nov 2016 alle 17:52, Urs Liska  ha
scritto:

If you want to go the LaTeX way you can use the following boilerplate
code:


No, I can't. I decided not to use lilypond-book because of its limitations.
Thanks anyway


Urs' proposal is completely independent of lilypond-book, only the 
postprocessing is done via LaTeX.  It just takes an arbitrary existing 
PDF, puts it centered on pages of a size that you specify, and adds crop 
marks.  In fact, the package used for the embedding of the PDF is the 
same backend that pdfjam uses.  If the crop marks from the LaTeX package 
look like what you want, that's the easiest one-shot option.



Cheers,
Alexander

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


Re: crop marks in PDF for printing

2016-11-03 Thread Federico Bruni
Il giorno gio 3 nov 2016 alle 17:43, Alexander Kobel 
 ha scritto:
You can use some external application to create an empty one-page PDF 
with only the crop marks and use, e.g., pdftk with its "stamp" or 
"background" function to overlay the book and the crop marks. If you 
need to increase the paper size of your Lilypond output and don't 
want to modify the source, pdfjam with options --noautoscale true 
--papersize '{21cm,29.7cm}' is your friend.


For creating the crop marks: Inkscape will do if you want to design 
them yourself (or got a template from the print shop). Otherwise, I 
recommend to use Scribus; it offers several printer marks (crop, 
bleed, registration, color bars) on its Pre-Press tab on PDF export. 
Just create a new doc, adjust page size, export, done.


Thanks Alexander

Tonight I'll try this way




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


Re: crop marks in PDF for printing

2016-11-03 Thread Federico Bruni
Il giorno gio 3 nov 2016 alle 17:52, Urs Liska  ha 
scritto:
If you want to go the LaTeX way you can use the following boilerplate 
code:


No, I can't. I decided not to use lilypond-book because of its 
limitations.

Thanks anyway


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


Re:Changing voice order...

2016-11-03 Thread Flaming Hakama by Elaine
I wanted to jump in here because in this discussion, a lot of people have
said or implied things like (paraphrasing) "top to bottom in << // // // >>
should correspond top to bottom in the score", and suggesting naming
conventions based on this.

These thoughts, while well-intentioned, are bad since they are misleading
for this important reason:

 !!! Top to bottom on the staff has precisely nothing to do with any
conventions of << // // // >> !!!


Top to bottom on the staff has ONLY to do with the relative pitches.  For
example, whenever an Alto part goes lower than the Soprano in an SATB
arrangment, then the staff order (during that voice crossing) from top to
bottom is ASTB, not SATB.   So, staff order is not necessaritly a fixed
property, even within a single << // // // >>.  Also, unlike stem
direction, the top-to-bottom score order cannot be overridden, so it is not
even a property of this construct.


Therefore, in terms of making it clear to someone trying to use this for
the first time (and thereafter remembered), it seems to me to make sense to
try to use names that make it clear that the two main visual dimensions are:

1. Stem direction
2. Indentation level

Since these are what the << // // // >> construct actually does to the
music you enter.


So, I like the suggestion of \voiceUpOne \voiceDownOne \voiceUpTwo
\voiceDownTwo except that the "One" and "Two" don't tell you anything
useful about what your voice will look like graphically, musically or in
code order.

Also, the only voice whose number matches its order is "UpOne".  The second
voice is "DownOne"?   Aren't we back where we started with misnumbering?

In terms of this approach, I think it would be clearer as:

\voiceUpOne
\voiceDownTwo
\voiceUpThree
\voiceDownFour
\voiceUpFive
\voiceDownSix


However, I most liked the spirit behind the previous suggestion for
something like \voiceUp \voiceDown \voiceUpInner \voiceDownInner, although
I don't like the word Inner since it suggests something about the relative
pitch order of the voices, which (if you bought into my rant above) is bad.

So, I would suggest the term "Indent" or something else that indicated that
the voice is to be treated visually as such:

\voiceUp
\voiceDown
\voiceUpIndent
\voiceDownIndent
\voiceUpIndentMore
\voiceDownIndentMore

Or, if you prefer Teletubbies vernacular, for these last two:

\voiceUpIndentAgain
\voiceUpIndentAgain



David Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: crop marks in PDF for printing

2016-11-03 Thread Urs Liska


Am 03.11.2016 um 17:32 schrieb Pierre Perol-Schneider:
> Hi Federico,
> I've never succeeded to do that directly with LilyPond. I had to use
> LaTeX..
> Cheers,
> Pierre
>
If you want to go the LaTeX way you can use the following boilerplate code:

\documentclass[a4paper]{article}
\usepackage[
% set absolute paper dimensions *including bleeding area*
% in this example A4 plus 6mm (*2)
width=22.2truecm, height=30.9truecm,
% use any combination of these options to add different cut markings
cam,
axes,
%frame,
%cross,
% set the type of TeX renderer you use
pdflatex,
% center the contents
center
]{crop}
% More info with "texdoc crop"

\usepackage{pdfpages}

\begin{document}

\includepdf[pages=-]{path/to/score.pdf}

\end{document}


HTH
Urs

> 2016-11-03 17:22 GMT+01:00 Federico Bruni  >:
>
> Hi folks
>
> I have a urgent request.
> Tomorrow morning I need to print a book and I've just been asked
> to add "crop marks" (I think this is the right expression) to the
> final PDF. IIUC crop marks are not needed when printing with
> normal printers, but it's needed for serious digital and offset
> printing machines.
>
> I wonder how can I get this in LilyPond.
> I didn't find anything in the documentation or the user list,
> except this question which got no reply:
> https://lists.gnu.org/archive/html/lilypond-user/2009-07/msg00319.html
> 
>
> I guess that I'll have to use some external applications.
> Can anybody give me a hint?
>
> Many thanks
> Federico
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org 
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
>
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

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


Re: Changing voice order...

2016-11-03 Thread tisimst
On Thu, Nov 3, 2016 at 9:00 AM, David Kastrup [via Lilypond] <
ml-node+s1069038n196051...@n5.nabble.com> wrote:

> Werner LEMBERG <[hidden email]
> > writes:
>
> >> So
> >> \voiceOne \voiceTwo \voiceThree \voiceFour
> >> becomes
> >> \voiceUp \voiceDown \voiceUpTwo \voiceDownTwo
> >
> > I would make \voiceUp and \voiceDown be the same as \voiceUpOne and
> > \voiceUpTwo, respectively, so that we can write
> >
> >   \voiceUpOne \voiceDownOne \voiceUpTwo \voiceDownTwo
>
> Here is another variant that's a bit bold:
>
> \voice^1 \voice_1 \voice^2 \voice_2
>
> This will syntactically take a fingering event as input.  However, this
> does not work as
>
> \voices 1,2,-2,-1 << \\ ... \\ >>
>
> does.  I am not totally sure whether \voices ^1^2_1_2 << \\ ... \\ >>
> might not be parseable (as a single post-event) but it won't mix with
> symbolic names for voice contexts.  So while it is a cute replacement
> for \voiceOne ... and is expressive concerning its direction, I am not
> sure it's a winner.
>

I like this idea. Here's another thought to throw into the mix, more of an
enhancement idea for the current way voices are stacked. What about
something like this:



\version "2.19.36"

% This command takes an integer and derives the stem direction from its
% sign and then calculates the currently expected zero-based voice index
% so that 1, 2, 3, 4, etc. represent the 1st, 2nd, 3rd, 4th up-stem voices
% respectively and -1, -2, -3, etc. represent the 1st, 2nd, and 3rd down-
% stem voices, respectively.
% The integer also represents the voice's relative column priority for being
% shifted away from the principal column (i.e., larger numbers get pushed
% farther out). Positive integer voices get shifted right, negative integer
% voices get shifted left.
voice = #(define-music-function (nbr) (number?)
  (let* ((dir (/ (abs nbr) nbr))
 (idx (+ (* 2 dir (- nbr dir)) (/ (- 1 dir) 2)))
 )
(format #t "Voice input: ~a, direction: ~a, index: ~a" nbr dir
idx)(newline)
(context-spec-music (make-voice-props-set idx) 'Voice)))

% and now an example
\new Staff <<
  { \voice 1 c''4 c'' c'' c'' }  % what we know as \voiceOne, so no
difference here
  \\
  { \voice 5 a'2. g'4 }  % what we would call \voiceNine, if there was such
a thing
  \\
  { \voice -11 g'2 b' } % what we would call \voiceTwentyTwo, but seriously
folks...
>>



This doesn't really change the above discussion about implicit voicing and
how they should stack, but it does make it a little easier to create any
number of explicit directional voices. I guess I'm too used to the current
way of stacking. Pardon the noise if this doesn't contribute constructively
to the discussion. It was just a thought I had yesterday that I finally got
around to implementing.

Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Changing-voice-order-tp195757p196058.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: crop marks in PDF for printing

2016-11-03 Thread Alexander Kobel

On 2016-11-03 17:22, Federico Bruni wrote:

Hi folks

I have a urgent request.
Tomorrow morning I need to print a book and I've just been asked to add
"crop marks" (I think this is the right expression) to the final PDF.
IIUC crop marks are not needed when printing with normal printers, but
it's needed for serious digital and offset printing machines.
[...]
I guess that I'll have to use some external applications.
Can anybody give me a hint?


You can use some external application to create an empty one-page PDF 
with only the crop marks and use, e.g., pdftk with its "stamp" or 
"background" function to overlay the book and the crop marks. If you 
need to increase the paper size of your Lilypond output and don't want 
to modify the source, pdfjam with options --noautoscale true --papersize 
'{21cm,29.7cm}' is your friend.


For creating the crop marks: Inkscape will do if you want to design them 
yourself (or got a template from the print shop). Otherwise, I recommend 
to use Scribus; it offers several printer marks (crop, bleed, 
registration, color bars) on its Pre-Press tab on PDF export. Just 
create a new doc, adjust page size, export, done.



Cheers,
Alexander

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


Re: crop marks in PDF for printing

2016-11-03 Thread Pierre Perol-Schneider
Hi Federico,
I've never succeeded to do that directly with LilyPond. I had to use LaTeX..
Cheers,
Pierre

2016-11-03 17:22 GMT+01:00 Federico Bruni :

> Hi folks
>
> I have a urgent request.
> Tomorrow morning I need to print a book and I've just been asked to add
> "crop marks" (I think this is the right expression) to the final PDF. IIUC
> crop marks are not needed when printing with normal printers, but it's
> needed for serious digital and offset printing machines.
>
> I wonder how can I get this in LilyPond.
> I didn't find anything in the documentation or the user list, except this
> question which got no reply:
> https://lists.gnu.org/archive/html/lilypond-user/2009-07/msg00319.html
>
> I guess that I'll have to use some external applications.
> Can anybody give me a hint?
>
> Many thanks
> Federico
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


crop marks in PDF for printing

2016-11-03 Thread Federico Bruni

Hi folks

I have a urgent request.
Tomorrow morning I need to print a book and I've just been asked to add 
"crop marks" (I think this is the right expression) to the final PDF. 
IIUC crop marks are not needed when printing with normal printers, but 
it's needed for serious digital and offset printing machines.


I wonder how can I get this in LilyPond.
I didn't find anything in the documentation or the user list, except 
this question which got no reply:

https://lists.gnu.org/archive/html/lilypond-user/2009-07/msg00319.html

I guess that I'll have to use some external applications.
Can anybody give me a hint?

Many thanks
Federico


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


Re: Changing voice order...

2016-11-03 Thread Alexander Kobel

On 2016-11-03 16:32, David Wright wrote:

On Tue 01 Nov 2016 at 15:36:56 (-), Phil Holmes wrote:

I'm concerned by this.  I don't believe I have ever used more than 2
voices in choral music: typically the sops/tenors get voice one, and
the alto/basses get voice two.  If any of these is doubled (e.g.
sop1 and sop2) then they are shown as chorded notes, still in their
normal voice.  If it gets more complex than this, then current vocal
music almost always resorts to a stave per vocal group.  It looks to
me like the proposal would end up with voiceTwo having upstems.  I
am very much against that.  It would mean I would have to update a
lot of music to make it usable.  I don't use concert-ly 'cos I find
it a pain on Windows.

Who uses four voices on one stave in vocal setting?


Well, I thought, if anyone does, it'll be the Novello Book of Carols.
It's all so over-compressed. But I could only come up with what's
technically three, I suppose. (I only looked for fun.)


I have few four-voices-per-staff examples, but almost all could be 
written as chords. With chords, I know quite a few that go to four or 
even more vocal notes notated on a single staff. I guess simply because 
vocal music has to have lyrics assigned to it (well, exceptional 
contemporary pieces aside), and you only have so many options to put 
them (above and below the staff). If rhythms (and, hence, lyrics) 
diverge noticeably, I've always seen split staves.


One exceptional example are the final measures of Jan Sandström's "Det 
är en ros utsprungen", where the soprano splits up from two to four 
voices. The rhythms are coherent, and the notes are wholes, so 
everything looks like chords; still, it's notated as four voices because 
the legato slurs indicate which section is broken up, and which voice 
goes to which note in the next chord. No lyrics there, by the way, only 
humming.



Cheers,
Alexander

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


Re: Changing voice order...

2016-11-03 Thread David Wright
On Tue 01 Nov 2016 at 15:36:56 (-), Phil Holmes wrote:
> - Original Message - From: "David Kastrup" 
> To: "Trevor Daniels" 
> Cc: 
> Sent: Tuesday, November 01, 2016 2:42 PM
> Subject: Re: Changing voice order...
> 
> 
> 
> >There are by now two components to my proposal: fading out \voiceOne
> >... \voiceFour since they _never_ correspond to voices 1/2/3/4 in a
> >four-voiced context but to voices 1/4/2/3.  And changing the meaning of
> ><< \\ \\ \\ >>.
> 
> 
> I'm concerned by this.  I don't believe I have ever used more than 2
> voices in choral music: typically the sops/tenors get voice one, and
> the alto/basses get voice two.  If any of these is doubled (e.g.
> sop1 and sop2) then they are shown as chorded notes, still in their
> normal voice.  If it gets more complex than this, then current vocal
> music almost always resorts to a stave per vocal group.  It looks to
> me like the proposal would end up with voiceTwo having upstems.  I
> am very much against that.  It would mean I would have to update a
> lot of music to make it usable.  I don't use concert-ly 'cos I find
> it a pain on Windows.
> 
> Who uses four voices on one stave in vocal setting?

Well, I thought, if anyone does, it'll be the Novello Book of Carols.
It's all so over-compressed. But I could only come up with what's
technically three, I suppose. (I only looked for fun.)

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


Re: Changing voice order...

2016-11-03 Thread David Wright
On Tue 01 Nov 2016 at 21:18:31 (+0100), David Kastrup wrote:
> David Wright  writes:
> 
> > ¹ why not \voiceTop \voiceUp \voiceDown \voiceBottom ? Well, you could
> > end up with \voiceUp having stems pointing down,
> 
> Uh no?  \voiceUp will always have stems pointing up, and \voiceDown will
> have them pointing down.  \inner (or whatever you want to use instead)
> just increases the horizontal-shift value and does nothing else.

Yes, I didn't mean that LP would change it's behaviour. It's just that
sometimes you have to override the stems to make them point the
"wrong" way. So the printed copy might have stems pointing up in a
section of a part that you happen to know is called with \voiceDown.

Finding an example is not easy as I try to avoid setting keyboard
music. Looking at real printed scores, on a tiny, trivial scale
(one note), the tied d'' would (in a future version) be \voiceDown,
but the stem is overridden to Up. I would find thinking of these
three parts as Top Low Bottom easier than Top Up Bottom, were this
example on a much larger scale. It's setting these "weaving" parts
that I hate.

Top/High/Low/Bottom only carry "altitude" information, whereas
Up/Down can have other relevant meanings overloaded onto them.
That's all I meant.

> The whole point of the renaming exercise was that the voice type
> commands retain a fixed and predictable meaning.  It's only the << \\ \\
> ... >> construct which becomes smarter.

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


Re: Changing voice order...

2016-11-03 Thread David Kastrup
Werner LEMBERG  writes:

>> So
>> \voiceOne \voiceTwo \voiceThree \voiceFour
>> becomes
>> \voiceUp \voiceDown \voiceUpTwo \voiceDownTwo
>
> I would make \voiceUp and \voiceDown be the same as \voiceUpOne and
> \voiceUpTwo, respectively, so that we can write
>
>   \voiceUpOne \voiceDownOne \voiceUpTwo \voiceDownTwo

Here is another variant that's a bit bold:

\voice^1 \voice_1 \voice^2 \voice_2

This will syntactically take a fingering event as input.  However, this
does not work as

\voices 1,2,-2,-1 << \\ ... \\ >>

does.  I am not totally sure whether \voices ^1^2_1_2 << \\ ... \\ >>
might not be parseable (as a single post-event) but it won't mix with
symbolic names for voice contexts.  So while it is a cute replacement
for \voiceOne ... and is expressive concerning its direction, I am not
sure it's a winner.

-- 
David Kastrup

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


Re: Lilypond meter bug?

2016-11-03 Thread Simon Albrecht

On 03.11.2016 11:34, Klaus Blum wrote:

- The/indent/  statement must be inside the /\paper/ block.


indent can also be set in a layout block.
Best, Simon

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


Re: Changing voice order...

2016-11-03 Thread Werner LEMBERG

> So
> \voiceOne \voiceTwo \voiceThree \voiceFour
> becomes
> \voiceUp \voiceDown \voiceUpTwo \voiceDownTwo

I would make \voiceUp and \voiceDown be the same as \voiceUpOne and
\voiceUpTwo, respectively, so that we can write

  \voiceUpOne \voiceDownOne \voiceUpTwo \voiceDownTwo


 Werner

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


Re: A tricky example -- polyMETER against polyRHYTHM

2016-11-03 Thread David Wright
On Wed 02 Nov 2016 at 22:52:12 (-0700), mclaren wrote:
> Took some skull sweat to figure this one out. But someone may get a kick out
> of it. 
> What I wanted to do was to set up two polymeters (different accent patterns)
> with a shifting polymeter against 'em. 
> Here's a png image of the score: http://i.imgur.com/RtYUgRR.png
>   
> 
> Here's the Lilypond code:
> 
> \version "2.18.2"
> \header { 
>   tagline = ""  % removed 
> } 
> % Lilypond bug #1 -- placing the \paper command anywhere else fails to
> %  produce the desired output, but placing it here generates an EXITED WITH
> %  ERROR CODE 1 message even though the score output looks correct and is
> %  as desired.
> 
> \layout {
> 
>\paper  {#(set-default-paper-size "a4" 'landscape)}
> indent=0
> 
>\context {
> \Score
> \accepts "TimeLine"
> \remove "Timing_translator"
> \remove "Default_bar_line_engraver"
>
>   }
>   \context {
> \Staff
> \consists "Timing_translator"
> \consists "Default_bar_line_engraver"
> \consists "Time_signature_engraver"
>   }
>   
>   % End of code.
> }
> 
> {
>   
>   
> <<
> 
> 
> \new Staff { \clef "treble"
>  \relative c'''
>  
> {
> 
> 
> \time 9/8  
>  { c8-> d f e-> b c d16-> f e8  b} 
> \time 8/8
>  {c8[-> d16 f e8 b] c16[-> d f8 e b]}
> \time 9/8
> { c8[-> d f] e[-> b16 c d8] f[-> e b16 c]}
> \time 8/8
> {e8[-> b16 c d8 f] e[-> b16 c d8 f]}
>  
>  
> \time 9/8  
>  { d8-> b c a-> b g e16-> f g8  d} 
> \time 8/8
>  {c8[-> d16 f e8 f] e16[-> g a8 b a]}
> \time 9/8
> { g8[-> f d'] e[-> g16 c, d8] g,[-> a b16 c]}
> \time 8/8
> {a8[-> b16 c d8 e] g[-> f16 e f8 d]} 
>  
>  
> }  
> }
> 
> 
> 
> \new Staff { \clef "treble"
>  \relative c'
>   
> {
> \time 8/8
> {e8[-> b c d16 f] e8[-> b c d16 f]}
> \time 9/8
> {e8[-> b c16 d] f8[-> e b] c[-> d f]}
> \time 8/8
> {e8[-> b16 c d8 f] e[-> b16 c d8 f]}
> \time 9/8
> { e16[-> b c8 d] f[-> e b] c[-> d f16 e]}
> 
> 
> 
> }
> \relative c'
> {
> 
> \time 8/8
> {e8[-> b c d16 f] e8[-> b c d16 f]}
> \time 9/8
> {g8[-> a c16 d] e8[-> a, b] g[-> b c]}
> \time 8/8
> {b8[-> c16 a d8 g] f[-> c16 b a8 f]}
> \time 9/8
> { e16[-> b c8 d] f[-> e b] c[-> d f16 e]}
> 
> 
> 
> }
> 
> }
> 
> 
> \new Staff { \clef "bass"
>  \relative c
> {
> 
>  
>  \time 11/8
>  \once \omit TupletNumber
>   \set Timing.measureLength = #(ly:make-moment 8/8)
> \tuplet 11/8 {  g8[->  e' b c d f e b16 c d8 f e]}
> %\scaleDurations 8/11 {  f8[->  e b c d f e b16 c d8 f e]}
> |
> \override TupletNumber #'text = #tuplet-number::calc-fraction-text
> \set Timing.measureLength = #(ly:make-moment 9/8)
> \tuplet 11/9 {  b16[-> c d8 f e16 b c8 d f e d f g]}
>  
> 
> |
> \once \omit TupletNumber
> \set Timing.measureLength = #(ly:make-moment 8/8)
> \tuplet 11/8 {  f8[->  e b c d f e b16 c d8 f e]}
> \override TupletNumber #'text = #tuplet-number::calc-fraction-text
> 
> \set Timing.measureLength = #(ly:make-moment 9/8)
> \tuplet 11/9 {  e8[-> b c d16 f e8 b c d16 f e8 b c16 d]}
> \bar "|"
> \break 
> 
> \time 11/8
>  \once \omit TupletNumber
>  \set Timing.measureLength = #(ly:make-moment 8/8)
> \tuplet 11/8 {  c8[->  b d b a g f c16 b e8 g f]}
> %\scaleDurations 8/11 {  f8[->  e b c d f e b16 c d8 f e]}
> |
> \override TupletNumber #'text = #tuplet-number::calc-fraction-text
> \set Timing.measureLength = #(ly:make-moment 9/8)
> \tuplet 11/9 {  e16[-> c e8 d a'16 b c8 e g f a g b]}
>  
> %\scaleDurations 11/8 {  b16[-> c d8 f e16 b c8 d f e d f g]}
> |
> \once \omit TupletNumber
> \set Timing.measureLength = #(ly:make-moment 8/8)
> \tuplet 11/8 {  c8[->  e, a f g f e c16 d b8 c g]}
> \override TupletNumber #'text = #tuplet-number::calc-fraction-text
> \set Timing.measureLength = #(ly:make-moment 9/8)
> \tuplet 11/9 {  e8[-> b c d16 f e8 b c d16 f e8 b c16 d]}
> \bar "|"
> \break 
> }
> 
> }
> >>
>  
> }
> 
> ===
> 
>   Incidentally, I seem to be getting a bug, and it's an odd one. If you try
> to compile this Lilypond score from scratch, you get an exit with ERROR=1.
> Then if you comment out the lines
> 
> \layout {
> 
>\paper  {#(set-default-paper-size "a4" 'landscape)}
> indent=0
> 
>   and recompile, the score runs fine. Here's where it gets weird... If you
> then immediately uncomment out those 3 lines, you still get an exit with
> ERROR=1, but this time the score gets engraved properly in landscape mode.
> 
>Can't figure this one out. What am I doing wrong with setting landscape
> mode?

As posted:

GNU LilyPond 2.18.2
Processing `poly.ly'
Parsing...
poly.ly:12:8: error: syntax error, unexpected \paper
   
   \paper  {#(set-default-paper-size "a4" 'landscape)}
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `poly.ps'...
Converting to `./poly.pdf'...
fatal error: failed files: "poly.ly"

The output is landscape.
With your \paper line moved to 

Re: midi volume: default, crescendo, dynamic context, multiple staff

2016-11-03 Thread Gianmaria Lari
>
> If I do this...
>
> \version "2.19.48"
> { c' }
> \midi { }
>
> ...and open the resulting MIDI file in SpeedyMidi (
> http://speedymidi.sourceforge.net/ ) it looks like LilyPond set the
> volume to 100. (MIDI allows 0 - 128, right?)


I tried to do the same with speedmidi and some other midi viewer/editor. I
think the volume 100 indicated in speedmidi is something different.
For what I understood checking the midi file generated by lilypond, when
you apply dynamic to a note this acts on the velocify field of the "Note
on" event.



> > Is it possible to specify some dynamics just once and apply it to
> > multiple staff?
>
> I don't know about dynamic marks affecting volume or separate dynamics
> contexts affecting output. All I can do is refer to documentation:
> http://lilypond.org/doc/v2.19/Documentation/notation/
> controlling-midi-dynamics.en.html
>
> But a dynamics expression can be reused anywhere.
>
> \version "2.19.48"
> % Dynamics defined here
> dyn = { s4\f\> s4 s4 s4\p\! }
>
> \score {
>\new ChoirStaff <<
>  % First use of dynamics
>  \new Dynamics { \dyn }
>  \new Staff = "SA" \relative {
>c' d e f
>  }
>  \new Staff = "TB" \relative {
>\clef bass
>a, b c d
>  }
>  % Second use of dynamics
>  \new Dynamics { \dyn }
>>>
>\midi { }
> }


Yes, you can apply the same dynamic to different part of the score like you
did in the example but this does not affect the midi output, just the music
layout.
Thank you, g.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Changing voice order...

2016-11-03 Thread David Kastrup
Kieren MacMillan  writes:

> Hi David (et al.),
>
>> Personally, I'd prefer a different number assignment:
>> 
>> \implicitVoices 1,-1
>> \implicitVoices 1,2,-1
>> \implicitVoices 1,2,-2,-1
>> \implicitVoices 1,2,3,-2,-1
>> 
>> Stem direction is recognizable from the sign (0 would be \oneVoice), and
>> apart from the sign, increasing numbers go down one voice.
>
> I like that a lot!
>
>> Not sure that this ship hasn't sailed though.
>
> Has any ship ever truly sailed on the ‘Pond?  ;)

So
\voiceOne \voiceTwo \voiceThree \voiceFour
becomes
\voiceUp \voiceDown \voiceUpTwo \voiceDownTwo
or
\voice1 \voice-1 \voice2 \voice-2

The strictly numeric ones are probably somewhat less likely to make
people think that \voiceDown would be above \voiceDownTwo .  The
magnitude of the number corresponds quite directly with horizontal-shift
(after subtracting 1).  That's sort of a helpful cue when you are trying
to copy some graphical arrangement of voices.

The numbers may be less contentious than \inner\inner .  Also this makes
it easier to provide an equivalent \voiceStyle (as \inner\voiceStyleUp
would need a completely different behavior for \inner than
\inner\voiceUp ).

-- 
David Kastrup

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


Re: Changing voice order...

2016-11-03 Thread Kieren MacMillan
Hi David (et al.),

> Personally, I'd prefer a different number assignment:
> 
> \implicitVoices 1,-1
> \implicitVoices 1,2,-1
> \implicitVoices 1,2,-2,-1
> \implicitVoices 1,2,3,-2,-1
> 
> Stem direction is recognizable from the sign (0 would be \oneVoice), and
> apart from the sign, increasing numbers go down one voice.

I like that a lot!

> Not sure that this ship hasn't sailed though.

Has any ship ever truly sailed on the ‘Pond?  ;)

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: A tricky example -- polyMETER against polyRHYTHM

2016-11-03 Thread N. Andrew Walsh
Maybe I'm misunderstanding mclaren's example, but the graphic he posted has
a number of notational errors. To wit:

in the third voice, if the meter is 11/8, then an 11:9 tuplet will not fill
the bar, as it will only cover 9 eighth-notes. Perhaps he meant 9:11, in
which case the meter needs to change to 9/8. Or the tuplet marking is
superfluous.
Tempo indications would be needed for each voice to indicate different
tempi, or dotted lines so that it's clear that you're dealing with
poly-tempo/poly-meter rhythmic relationships. Otherwise, it's not clear
where things should align.

Cheers,

A

On Thu, Nov 3, 2016 at 11:43 AM, Klaus Blum  wrote:

> Hi mclaren,
>
> aaah, now I see what you wanted to achieve.
> Same problem here: different blocks got messed up. It should look like
> this:
>
> %
> 
> -
> #(set-default-paper-size "a4" 'landscape)
>
> \paper  {
>   indent=0
> }
>
> \layout {
>   \context {
> \Score
> \accepts "TimeLine"
> \remove "Timing_translator"
> \remove "Default_bar_line_engraver"
>   }
>   \context {
> \Staff
> \consists "Timing_translator"
> \consists "Default_bar_line_engraver"
> \consists "Time_signature_engraver"
>   }
> }
> %
> 
> -
>
> Cheers,
> Klaus
>
>
>
> --
> View this message in context: http://lilypond.1069038.n5.
> nabble.com/A-tricky-example-polyMETER-against-polyRHYTHM-
> tp196030p196039.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
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: A tricky example -- polyMETER against polyRHYTHM

2016-11-03 Thread Klaus Blum
Hi mclaren, 

aaah, now I see what you wanted to achieve. 
Same problem here: different blocks got messed up. It should look like this: 

%
-
#(set-default-paper-size "a4" 'landscape)

\paper  {
  indent=0
}

\layout {
  \context {
\Score
\accepts "TimeLine"
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
  }
  \context {
\Staff
\consists "Timing_translator"
\consists "Default_bar_line_engraver"
\consists "Time_signature_engraver"
  }
}
%
-

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/A-tricky-example-polyMETER-against-polyRHYTHM-tp196030p196039.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: Lilypond meter bug?

2016-11-03 Thread Klaus Blum
Hi mclaren, 

your second issue is easy to solve: 
- Don't put the /\paper/ block into a /\layout/ block.
- The /indent/ statement must be inside the /\paper/ block.
- /set-default-paper-size/ must be before that block.

I you don't want the time signatures outside the staves, it's much easier to
completely get rid of the TimeLine stuff: 

%
--
\version "2.18.2"

\header {
  tagline = ""  % removed
}

\layout {
  \context {
\Score
\remove "Default_bar_line_engraver"
\override TupletNumber.text = #tuplet-number::calc-fraction-text
  }
  \context {
\Staff
\consists "Default_bar_line_engraver"
  }
}

{
  <<
\new Staff {
  \clef "treble"
  \relative c''
  {
\set Staff.timeSignatureFraction = 5/8
\scaleDurations 8/5 { c8 d f e b c d16 f e8  b c d16 f e8 b c16 d f8  
}
  }
}
\new Staff {
  \clef "treble"
  \relative c''
  {
\set Staff.timeSignatureFraction = 9/8
\scaleDurations 8/9 { c8 d f e b c d16 f e8  b c[ d16 f e8 b c16 d
f8 e b c] d f e b16 c d8 f e b16 c  d8  }
  }
}
\new Staff {
  \clef "treble"
  \relative c''
  {
\set Staff.timeSignatureFraction = 11/8
\scaleDurations 8/11 { e8 b c d16 f e8 b c d16 f e8 b c16 d f8 e b c
d f e b16 c d8 f e b16 c d8 f e16 b c8 d f e b c d   }
  }
}
\new Staff {
  \clef "treble"
  \relative c''
  {
\set Staff.timeSignatureFraction = 13/8
\scaleDurations 8/13 { e8 b c d16 f a,8 b8 e8 b c d16 f e8 b c16 d
f8 e b c d f e b16 c d8 f e b16 c d8 f, e16 b' c8 d f e b c d b g e c  }
  }
}
  >>
}

#(set-default-paper-size "a4" 'landscape)
\paper  {
  indent=0
}
%
--

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lilypond-meter-bug-tp196031p196038.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: compound time signature with non duple denominator

2016-11-03 Thread Hans Åberg

> On 3 Nov 2016, at 03:04, David Wright  wrote:
> 
> On Wed 02 Nov 2016 at 22:13:54 (+0100), Hans Åberg wrote:
>> 
>>> On 2 Nov 2016, at 21:08, David Wright  wrote:
>>> 
>>> On Wed 02 Nov 2016 at 20:10:39 (+0100), Hans Åberg wrote:
 
> On 28 Oct 2016, at 21:48, David Wright  wrote:
> 
> On Fri 28 Oct 2016 at 11:22:00 (-0700), Tobin Chodos wrote:
>> Forgive me if this is a too-easy issue for the list, but: is there a way 
>> to
>> define a time compound time signature such as 4/4 + 1/3?  That is, the
>> measure is four quarter notes long plus one triplet eighth note.
> 
> Isn't this just 13/8? Three triplet eighth notes make a quarter note.
> So it's 3+3+3+3+1 all over 8, and the notes will be written out as
> four dotted quarter notes and an eighth note per measure.
 
 Indeed, 12/8 may be complicated notationally if the beats of length 3/8 
 are divided into twos and fours, so 4/4 might be preferred.
>>> 
>>> Now that would be interesting. Are the last three notes of the first
>>> bar realistically performable? OTOH splitting the long notes into
>>> threes would be straightforward to perform (and to write in 13/8).
>> 
>> It is, if the tempo is not too high, and one devices a method for counting.
>> 
>>> The only 13/8 I can recall off-hand is an uncomplicated 6/4+1/8.
>> 
>> At moderato, 1/4 = 120, 13/16 is performable counting on 2s and 3s. One 
>> example is Krivo Sadovsko horo (Bulgaria), 13 = 4+5+4, 4=2+2, 5 = 2+3:
>>  https://www.youtube.com/watch?v=3jCuUWnwM28
>> Another is Ispayche horo, 13 = 3+2+3+2+3
>>  https://www.youtube.com/watch?v=tbU2za0rbzs
>> 
>> At higher tempo, one may need to count on 3s, 4s, and 5s, especially when 
>> clapping hands:
>>  https://www.youtube.com/watch?v=aecsGYwtVJM
>> This is a Leventikos, in video video, it is in 16 = 4+2+3+4+3, but the clap 
>> hands 4+5+4+3.
>>  https://en.wikipedia.org/wiki/Leventikos
> 
> Correct me if I'm wrong (I'm not familiar with these dances), but
> these are just groupings of steady 16th notes, are they not.

Yes, in the definition of the meter, in respons to your question whether it 
might be performable. 13/8 and even 13/16 is performable at moderato counting 
on the 1/4s, though I have no example of the 3+3+3+3+1 occurring naturally.

> My example wasn't.

Then one add another level on the musical line. One example how this occurs 
metrically is the Leventikos in 12.

>> This Leventikos is also performed in 12 = 3+2+2+3+2, with quadruplets on the 
>> 3s - se my other post in this thread.
> 
> OK, the quadruplets add another layer of complexity. The note
> durations are now 3+3+3+3+ 4+4+ 4+4+ 3+3+3+3+ 4+4 / 48.
> So taking this Leventikos pattern, I've bent the "4/4+1/3" so
> that it contains similar tupleticity, to coin a nonce word.

Yes, indeed. In the Leventikos, the quadruplet pattern occurs consistently. 
When performing, there are slower 1/16th contrasted with faster ones. Some 
performers have triplets on the 2s, and quintuplets occur in Balkan music as 
well. So it can be more complex.

> I've broken the 13/8 time signature into the appropriate groups,
> 3/8+3/8+3/8+3/8+1/8. I've followed this with the 4/4/+1/12
> time signature's equivalent notation for the same durations.
> The actual rhythm of the individual notes in both cases is
> 4+4+4+ 3+3+3+3+ 4+4+4+ 3+3+3+3+ 4 / 52.

A problem with this meter is that the 1/3 at the end is fairly short, so it may 
be distorted by metric time bends: there is a tendency in Balkan music to 
shorten the measure at the end.

So the question is how to bring out the triplet nature. Otherwise replacing the 
1/3 with 1/4 or 1/2 might do well, from the practical point of view. The meter 
9 = 2+2+2+3 is very common, so at faster tempo, your meter may sound like this 
one. Some examples:
  https://www.youtube.com/watch?v=a-2HVFc4k_k
  https://www.youtube.com/watch?v=78ycWoNozLY

> At the bottom are the versions with undivided notes, with
> the 1/12 notes represented in the only way I can think of.
> 
> One interesting thing that popped out of my 3/8 notation is
> that the odd quaver at the end of each bar can be linked to
> the three quavers in the next bar. The upshot is that the
> overall rhythm is a repeated (4-slow 4-fast 3-slow 4-fast).

Syncopations are common in Balkan music, also on the ornamental level.

> The same rhythm is contained in the 4/4+1/12 notation, but
> is it easy to spot? You could make it obvious by writing
>   4:2⅔
> ┌———┐ over it, and leave people to ponder whether its
> speed is the same as the triplet's. Lets' see, 2⅔ is 8/3
> so 4:(8/3) is 4*3:8 is 12:8 is 3:2. Success.
> 
> Having that 1/8 quaver sitting next to the other three makes
> the rhythm quite friendly. If the first beat of the bar is
> an undivided dotted crochet, that last quaver is much
> harder to time correctly. Of course, we have no idea what
> the OP wanted to 

Re: Lilypond meter bug?

2016-11-03 Thread Thomas Morley
2016-11-03 7:03 GMT+01:00 mclaren :
> I'm no Lilypond expert, so could be I'm just doing something wrong.  Don't
> want to call it a bug if it's a case of user error.
>
> Anyway, this is a dead-simple polyrhythm. Nothing special here, just 4
> simultaneous different meters working at once in the duration of the same
> barlength.
>
> The (possible) bug is that the meters get printed above the staves, and
> waste space. It would be nice to get rid of this and put the meters where
> they belong, on the staves. Haven't found a way to do that.
>
> Any suggestions?
>
> Here's a link to the score (png file, 300 dpi):
> http://imgur.com/YRKAgYe
>
> And here's the Lilypond code:
>
> \version "2.18.2"
>
> \header {
>   tagline = ""  % removed
> }
>
>
> \layout {
>   % Create time signature context
>   % Source: http://lsr.di.unimi.it/LSR/Snippet?id=272
>   % (modified)
>   \context {
>
> %\paper  #(set-default-paper-size "a4" 'landscape)}
> %indent=0
> \type Engraver_group
> % Add elements that _can_ be printed
> \consists "Timing_translator"
> \consists "Time_signature_engraver"
> \consists "Axis_group_engraver"
> \name "TimeLine"
> \alias "Staff"
>
> % Align time signatures on barlines
> \override TimeSignature.X-offset =
>   #ly:self-alignment-interface::x-aligned-on-self
> \override TimeSignature.self-alignment-X = #CENTER
>   }
>   \context {
> \Score
> \accepts "TimeLine"
> \remove "Timing_translator"
> \remove "Default_bar_line_engraver"
> \override TupletNumber.text = #tuplet-number::calc-fraction-text
>   }
>   \context {
> \Staff
> \consists "Timing_translator"
> \consists "Default_bar_line_engraver"
> \remove "Time_signature_engraver"
>   }
> }
>
> % Lilypond bug #1 (?) -- Time signatures appear above the staves instead of
> on them. Not sure why.

Because you told LilyPond to do so.
You exclude TimeSignatures from Staff, instead you put them in
"TimeLine" and complain lily does so.

>
> {
>
>
> <<
>   \new TimeLine {
> \time 5/8
>
>   }
>
> \new Staff { \clef "treble"
>  \relative c''
> {
>
>
> \override Staff.TimeSignature #'stencil = ##f
>
>  \scaleDurations 8/5 { c8 d f e b c d16 f e8  b c d16 f e8 b c16 d f8   }
>
> }
> }
>
>   \new TimeLine {
> \time 9/8
>
>   }
>
> \new Staff { \clef "treble"
>  \relative c''
> {
>
>
> \override Staff.TimeSignature #'stencil = ##f
>
>  \scaleDurations 8/9 { c8 d f e b c d16 f e8  b c[ d16 f e8 b c16 d f8 e b
> c] d f e b16 c d8 f e b16 c  d8  }
>
> }
> }
>
>   \new TimeLine {
> \time 11/8
>
>   }
>
> \new Staff { \clef "treble"
>  \relative c''
> {
>   \override Staff.TimeSignature #'stencil = ##f
>
>
> \scaleDurations 8/11 { e8 b c d16 f e8 b c d16 f e8 b c16 d f8 e b c d f e
> b16 c d8 f e b16 c d8 f e16 b c8 d f e b c d   }
>
> }
>
> }
>
> \new TimeLine {
> \time 13/8
>
>   }
>
> \new Staff { \clef "treble"
>  \relative c''
> {
>   \override Staff.TimeSignature #'stencil = ##f
>
>
> \scaleDurations 8/13 { e8 b c d16 f a,8 b8 e8 b c d16 f e8 b c16 d f8 e b c
> d f e b16 c d8 f e b16 c d8 f, e16 b' c8 d f e b c d b g e c  }
>
> }
>
> }
>>>
>
> }
> %\layout {
> %\paper  {#(set-default-paper-size "a4" 'landscape)}
> %indent=0
>
> % Lilypond bug #2 -- placing the \paper command anywhere else fails to
> %  produce the desired output, but placing it here generates an EXITED WITH
> %  ERROR CODE 1 message even though the score output looks correct and is
> %  as desired, provide you compile first with these lines commented out.
>

Please reread
http://lilypond.org/doc/v2.19/Documentation/notation/paper-size-and-automatic-scaling

Actually I have no clue what you're trying to achieve.
Do you copy something? Then please post a scan of it. Otherwise please
try to describe in words.

Cheers,
  Harm

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


Re: Changing voice order...

2016-11-03 Thread David Kastrup
Werner LEMBERG  writes:

>> I was thrilled and excited by your proposal.  Having had some
>> leisure time this afternoon (although without net-access) I played
>> around with it.  I've taken it as a local command, though.
>> 
>> The result is a wrapper around simultaneous music, with and without
>> "\\".  You can input straight away from top to bottom voice.  The
>> voiceXxx-settings and context-ids are done automatically, but
>> respect user-settings.
>> 
>> The engraver to annotate info is in as well, could be deleted
>> ofcourse.
>> 
>> It's not tested beyond the given examples, but following this route
>> would make the input much more logical and because it's a wrapper we
>> would warrant backward compatibility, no need to change anything
>> else...
>
> Very nice, thanks!  It seems that a local solution is straightforward
> to handle.  But what about a global option?  It seems to me that this
> is what we are actually searching.

The original idea was a global replacement.  Easy enough to do.  A nice
syntax for that may be slightly trickier, but one can just accumulate,
like

\implicitVoices 1,2
\implicitVoices 1,3,2
\implicitVoices 1,3,4,2
\implicitVoices 1,3,5,4,2

Personally, I'd prefer a different number assignment:

\implicitVoices 1,-1
\implicitVoices 1,2,-1
\implicitVoices 1,2,-2,-1
\implicitVoices 1,2,3,-2,-1

Stem direction is recognizable from the sign (0 would be \oneVoice), and
apart from the sign, increasing numbers go down one voice.

Not sure that this ship hasn't sailed though.

-- 
David Kastrup

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


Re: Changing voice order...

2016-11-03 Thread Werner LEMBERG

> I was thrilled and excited by your proposal.  Having had some
> leisure time this afternoon (although without net-access) I played
> around with it.  I've taken it as a local command, though.
> 
> The result is a wrapper around simultaneous music, with and without
> "\\".  You can input straight away from top to bottom voice.  The
> voiceXxx-settings and context-ids are done automatically, but
> respect user-settings.
> 
> The engraver to annotate info is in as well, could be deleted
> ofcourse.
> 
> It's not tested beyond the given examples, but following this route
> would make the input much more logical and because it's a wrapper we
> would warrant backward compatibility, no need to change anything
> else...

Very nice, thanks!  It seems that a local solution is straightforward
to handle.  But what about a global option?  It seems to me that this
is what we are actually searching.


Werner

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


Lilypond meter bug?

2016-11-03 Thread mclaren
I'm no Lilypond expert, so could be I'm just doing something wrong.  Don't
want to call it a bug if it's a case of user error.

Anyway, this is a dead-simple polyrhythm. Nothing special here, just 4
simultaneous different meters working at once in the duration of the same
barlength.

The (possible) bug is that the meters get printed above the staves, and
waste space. It would be nice to get rid of this and put the meters where
they belong, on the staves. Haven't found a way to do that.

Any suggestions?

Here's a link to the score (png file, 300 dpi):
http://imgur.com/YRKAgYe

And here's the Lilypond code:

\version "2.18.2"

\header { 
  tagline = ""  % removed 
} 


\layout {
  % Create time signature context
  % Source: http://lsr.di.unimi.it/LSR/Snippet?id=272
  % (modified)
  \context {

%\paper  #(set-default-paper-size "a4" 'landscape)}
%indent=0
\type Engraver_group
% Add elements that _can_ be printed
\consists "Timing_translator"
\consists "Time_signature_engraver"
\consists "Axis_group_engraver"
\name "TimeLine"
\alias "Staff"

% Align time signatures on barlines
\override TimeSignature.X-offset =
  #ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature.self-alignment-X = #CENTER
  }
  \context {
\Score
\accepts "TimeLine"
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
\override TupletNumber.text = #tuplet-number::calc-fraction-text
  }
  \context {
\Staff
\consists "Timing_translator"
\consists "Default_bar_line_engraver"
\remove "Time_signature_engraver"
  }
}

% Lilypond bug #1 (?) -- Time signatures appear above the staves instead of
on them. Not sure why.

{
  
  
<<
  \new TimeLine {
\time 5/8

  }

\new Staff { \clef "treble"
 \relative c''
{


\override Staff.TimeSignature #'stencil = ##f 

 \scaleDurations 8/5 { c8 d f e b c d16 f e8  b c d16 f e8 b c16 d f8   }
 
}  
}

  \new TimeLine {
\time 9/8

  }

\new Staff { \clef "treble"
 \relative c''
{


\override Staff.TimeSignature #'stencil = ##f 

 \scaleDurations 8/9 { c8 d f e b c d16 f e8  b c[ d16 f e8 b c16 d f8 e b
c] d f e b16 c d8 f e b16 c  d8  }
 
}  
}

  \new TimeLine {
\time 11/8

  }

\new Staff { \clef "treble"
 \relative c''
{
  \override Staff.TimeSignature #'stencil = ##f
 
 
\scaleDurations 8/11 { e8 b c d16 f e8 b c d16 f e8 b c16 d f8 e b c d f e
b16 c d8 f e b16 c d8 f e16 b c8 d f e b c d   }

}

}

\new TimeLine {
\time 13/8

  }

\new Staff { \clef "treble"
 \relative c''
{
  \override Staff.TimeSignature #'stencil = ##f
 
 
\scaleDurations 8/13 { e8 b c d16 f a,8 b8 e8 b c d16 f e8 b c16 d f8 e b c
d f e b16 c d8 f e b16 c d8 f, e16 b' c8 d f e b c d b g e c  }

}

}
>>
 
}
%\layout {
%\paper  {#(set-default-paper-size "a4" 'landscape)}
%indent=0

% Lilypond bug #2 -- placing the \paper command anywhere else fails to
%  produce the desired output, but placing it here generates an EXITED WITH
%  ERROR CODE 1 message even though the score output looks correct and is
%  as desired, provide you compile first with these lines commented out. 




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lilypond-meter-bug-tp196031.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