2 % generic paper parameters
4 paperfile = \papersize + ".ly";
9 interline = \staffheight / 4.0;
10 internote = \interline / 2.0;
11 staffline = \interline / 10.0;
13 beam_thickness = 0.52 * (\interline - \staffline);
14 interbeam = (2.0 * \interline - \beam_thickness) / 2.0;
15 interbeam4 = (3.0 * \interline - \beam_thickness) / 3.0;
21 stem_length = 7.0*\internote;
23 % stems in unnatural (forced) direction should be shortened,
24 % according to [Roush & Gourlay]. Their suggestion to knock off
25 % a whole staffspace seems a bit drastical though?
27 forced_stem_shorten = 1.0 * \interline;
29 % there are several ways to calculate the direction of a beam
31 % * MAJORITY : number count of up or down notes
32 % * MEAN : mean centre distance of all notes
33 % * MEDIAN : mean centre distance weighted per note
35 % enum Dir_algorithm { DOWN=-1, UP=1, MAJORITY=2, MEAN, MEDIAN };
37 beam_dir_algorithm = 2.0;
40 % some beam-stemlength settings...
42 % beam_*1 : multiplicity < beam_multiple_break
43 % beam_*2 : multiplicity >= beam_multiple_break
45 beam_multiple_break = 3.0;
46 beam_minimum_stem1 = 1.5 * \interline;
47 beam_minimum_stem2 = 1.0 * \interline;
48 beam_ideal_stem1 = 2.0 * \interline;
49 beam_ideal_stem2 = 1.5 * \interline;
50 % beam_slope_damp_correct_factor = 2.0;
51 beam_slope_damp_correct_factor = 0.0;
53 % OSU: suggested gap = ss / 5;
54 slur_x_gap = \interline / 5.0;
55 slur_x_minimum = 2.0 * \interline;
56 slur_slope_damping = 0.5;
57 tie_x_minimum = \slur_x_minimum;
58 tie_x_gap = \slur_x_gap;
59 tie_slope_damping = 0.3;
61 % ugh: rename to bow (in bezier.cc and fonts.doc too...)
62 % slur_thickness = 1.8 * \staffline;
63 slur_thickness = 1.4 * \staffline;
64 slur_height_limit = \staffheight;
65 % mmm, try bit flatter slurs
66 % slur_ratio = 1.0 / 3.0;
68 slur_clip_ratio = 1.2;
69 slur_clip_height = 3.0 * \staffheight;
70 slur_clip_angle = 100.0;
74 notewidth = (\quartwidth + \wholewidth) / 2.0;
77 barsize = \staffheight;
78 rulethickness = \staffline;
79 stemthickness = \staffline;
85 gourlay_energybound = 100000.;
87 The following bounds the number of measures
88 on a line. Decreasing it greatly reduces computation time
90 gourlay_maxmeasures = 10.;
91 castingalgorithm = \Gourlay;
92 \include "engraver.ly";