2 % generic paper parameters
4 paperfile
= \papersize +
".ly";
9 interline
= \staffheight / 4.0;
12 % thickness of stafflines
13 staffline
= \interline / 10.0;
15 beam
_thickness
= 0.52 * (\interline -
\staffline);
16 interbeam
= (2.0 * \interline -
\beam_thickness) / 2.0;
17 interbeam
4 = (3.0 * \interline -
\beam_thickness) / 3.0;
23 stem
_length
= 3.5*\interline;
26 % stems in unnatural (forced) direction should be shortened,
27 % according to [Roush & Gourlay]. Their suggestion to knock off
28 % a whole staffspace seems a bit drastical though?
30 forced
_stem
_shorten
= 1.0 * \interline;
33 % there are several ways to calculate the direction of a beam
35 % * MAJORITY : number count of up or down notes
36 % * MEAN : mean centre distance of all notes
37 % * MEDIAN : mean centre distance weighted per note
39 % enum Dir_algorithm { DOWN=-1, UP=1, MAJORITY=2, MEAN, MEDIAN };
41 beam
_dir
_algorithm
= 2.0;
45 % some beam-stemlength settings...
47 % beam_*1 : multiplicity < beam_multiple_break
48 % beam_*2 : multiplicity >= beam_multiple_break
50 beam
_multiple
_break
= 3.0;
51 beam
_minimum
_stem
1 = 1.5 * \interline;
52 beam
_minimum
_stem
2 = 1.0 * \interline;
53 beam
_ideal
_stem
1 = 2.0 * \interline;
54 beam
_ideal
_stem
2 = 1.5 * \interline;
56 % beam_slope_damp_correct_factor = 2.0;
57 beam
_slope
_damp
_correct
_factor
= 0.0;
59 % OSU: suggested gap = ss / 5;
60 slur
_x
_gap
= \interline / 5.0;
61 slur
_x
_minimum
= 2.0 * \interline;
62 slur
_slope
_damping
= 0.5;
63 tie
_x
_minimum
= \slur_x_minimum;
64 tie
_x
_gap
= \slur_x_gap;
65 tie
_slope
_damping
= 0.3;
67 % ugh: rename to bow (in bezier.cc and fonts.doc too...)
68 % slur_thickness = 1.8 * \staffline;
69 slur
_thickness
= 1.4 * \staffline;
70 slur
_height
_limit
= \staffheight;
72 % mmm, try bit flatter slurs
73 % slur_ratio = 1.0 / 3.0;
75 slur
_clip
_ratio
= 1.2;
76 slur
_clip
_height
= 3.0 * \staffheight;
77 slur
_clip
_angle
= 100.0;
81 notewidth
= (\quartwidth +
\wholewidth) / 2.0;
84 barsize
= \staffheight;
85 rulethickness
= \staffline;
86 stemthickness
= \staffline;
89 gourlay
_energybound
= 100000.;
91 The following bounds the number of measures
92 on a line. Decreasing it greatly reduces computation time
94 gourlay_maxmeasures = 10.;
95 castingalgorithm = \Gourlay;
96 \include "engraver.ly";