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 interbeam4 = (3.0 * \interline - \beam_thickness) / 3.0;
21 % poor man's array size
24 stem_length0 = 3.5*\interline;
25 stem_length1 = 2.5 * \interline;
26 stem_length2 = 2.0 * \interline;
27 stem_length3 = 1.5 * \interline;
30 minimum_stem_length0 = 0.0; % not used
31 minimum_stem_length1 = 1.5 * \interline;
32 minimum_stem_length2 = 1.25 * \interline;
33 minimum_stem_length3 = 1.0 * \interline;
35 % stems in unnatural (forced) direction should be shortened,
36 % according to [Roush & Gourlay]. Their suggestion to knock off
37 % a whole staffspace seems a bit drastical: we'll do half.
39 forced_stem_shorten0 = 0.5 * \interline;
40 forced_stem_shorten1 = \forced_stem_shorten0;
41 forced_stem_shorten2 = \forced_stem_shorten1;
42 forced_stem_shorten3 = \forced_stem_shorten2;
44 % there are several ways to calculate the direction of a beam
46 % * MAJORITY : number count of up or down notes
47 % * MEAN : mean centre distance of all notes
48 % * MEDIAN : mean centre distance weighted per note
50 % enum Dir_algorithm { DOWN=-1, UP=1, MAJORITY=2, MEAN, MEDIAN };
58 beam_dir_algorithm = \MAJORITY;
60 % catch suspect beam slopes, set slope to zero if
61 % outer stem is lengthened more than
62 beam_lengthened = 0.2 * \interline;
63 % and slope is running away steeper than
64 beam_steep_slope = 0.2 / 1.0;
66 % OSU: suggested gap = ss / 5;
67 slur_x_gap = \interline / 5.0;
68 slur_x_minimum = 3.0 * \interline;
70 % slope damping: keep dy/dx < slur_slope_damping
71 slur_slope_damping = 0.6;
73 tie_x_minimum = \slur_x_minimum;
74 tie_x_gap = \slur_x_gap;
75 tie_slope_damping = 0.8;
77 % ugh: rename to bow (in bezier.cc and fonts.doc too...)
78 % slur_thickness = 1.8 * \staffline;
79 slur_thickness = 1.4 * \staffline;
80 slur_height_limit = \staffheight;
83 % try bit flatter slurs
85 slur_clip_ratio = 1.2;
86 slur_clip_height = 3.0 * \staffheight;
87 slur_clip_angle = 100.0;
91 notewidth = (\quartwidth + \wholewidth) / 2.0;
94 barsize = \staffheight;
95 rulethickness = \staffline;
97 % stem should be thinner?
98 stemthickness = \staffline;
101 gourlay_energybound = 100000.;
103 The following bounds the number of measures
104 on a line. Decreasing it greatly reduces computation time
106 gourlay_maxmeasures = 10.;
107 castingalgorithm = \Gourlay;
112 bar_kern = 0.5 * \interline;
113 bar_thinkern = 0.75 * \interline;
114 barthick_thick = 0.5* \interline;
115 barthick_thin = 0.1*\interline;
116 Can't be, these are ugly! Changed to old (TeX) values.
118 % barline should be thicker!
122 bar_kern = 3.0 * \staffline;
123 bar_thinkern = 3.0 * \staffline;
124 barthick_thick = 6.0* \staffline;
125 barthick_thin = 1.6*\staffline;
127 tuplet_thick = 1.0*\staffline;
128 volta_thick = 1.6*\staffline;
130 extender_height = 0.8*\staffline;
133 \include "engraver.ly";