]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/beam-concave.ly
biempats
[lilypond.git] / input / regression / beam-concave.ly
1 \header{
2
3 texidoc = "Concave beams should be horizontal. informally spoken,
4   concave refers to the shape of the notes that are opposite a
5   beam. If an up-beam has high notes on its center stems, then we call
6   it concave.  This example shows borderline cases. Only the beams
7   that are marked `horiz' should be printed horizontally.  " }
8
9
10 %{
11  However, what exactly
12 it is that makes a beam concave is still unclear.
13
14 Beams 1 and 3 should be sloped, 2 and 4 should be horizontal.  Two
15 sane attempts of calculating concaveness of a beam fail to distinguish
16 beams this way."
17 %}
18
19
20 \score{
21   \notes\relative c'{
22
23 %% This case seems easy: second beam should be horizontal.
24     
25     %% SCS-I Menuet I, m15
26     %% sloped
27     %% slope = -0.5ss
28     %% concaveness: 0.06
29     \clef bass
30     \time 3/4
31     \key g\major
32     a8 g fis e b dis
33     
34     %% SCS-I Menuet II, m20
35     %% horizontal
36     %% slope = 0
37     %% concaveness: 0.09
38     \key f\major
39     fis,^"horiz." a c es d c
40
41 %%% Sarabande: the first beam, obviously more concave, is not horizontal,
42 %%% but is matched with the next beam in the piece: context.
43     
44     %% Sarabande: m24
45     %% sloped
46     %% concaveness: 0.00
47     \stemUp
48     [d,16 a' b cis]
49
50     %% Sarabande: m25
51     %% horizontal
52     %% concaveness:a: 0.12
53     [a'16^"horiz." b c b]
54     
55 % Hmm.  Concaveness of both: 1.75
56 %     %% SCS-VI Prelude, m81
57 %     %% slope = 0.0
58 %     \stemBoth
59 %     \key d\major
60 %     [e,8 cis a']
61     
62 %     %% SCS-VI Prelude, m82
63 %     %% slope = 0.1ss (possibly b.o. context?)
64 %     [g, e' cis]
65
66     
67 %%% Han-Wen: this should be concave
68     [a,16^"horiz." a' a a]
69
70     \clef treble
71
72 %%%% This should not be concave (hwn)
73     [\stemUp bes8  \stemDown d'8 bes8]  
74   }
75   \paper{
76     linewidth = -1.0
77   }
78 }
79
80 %% Local variables:
81 %% LilyPond-indent-level:2
82 %% End: