]> git.donarmstrong.com Git - lilypond.git/blob - init/params.ly
partial: 1.0.1.jcn
[lilypond.git] / init / params.ly
1 % params.ly
2 % generic paper parameters
3
4 paperfile = \papersize + ".ly";
5 \include \paperfile;
6 \include "paper.ly";
7
8 interline = \staffheight / 4.0;
9 internote = \interline / 2.0;
10 staffline = \interline / 10.0;
11
12 beam_thickness = 0.48 * (\interline - \staffline);
13 interbeam = (2.0 * \interline - \beam_thickness) / 2.0;
14 interbeam4 = (3.0 * \interline - \beam_thickness) / 3.0;
15
16 % some beam-stemlength settings...
17 %
18 %    beam_*1 : multiplicity < beam_multiple_break
19 %    beam_*2 : multiplicity >= beam_multiple_break
20 %
21 beam_multiple_break = 3.0;
22 beam_minimum_stem1 = 1.5 * \interline;
23 beam_minimum_stem2 = 1.0 * \interline;
24 beam_ideal_stem1 = 2.0 * \interline;
25 beam_ideal_stem2 = 1.5 * \interline;
26 % beam_slope_damp_correct_factor = 2.0;
27 beam_slope_damp_correct_factor = 0.0;
28
29 % OSU: suggested gap = ss / 5;
30 slur_x_gap = \interline / 5.0;
31 slur_x_minimum = 2.0 * \interline;
32 slur_slope_damping = 0.3;
33 tie_x_minimum = \slur_x_minimum;
34 tie_x_gap = \slur_x_gap;
35 tie_slope_damping = 0.3;
36
37 % ugh: rename to bow (in bezier.cc and fonts.doc too...)
38 % slur_thickness = 1.8 * \staffline;
39 slur_thickness = 1.4 * \staffline;
40 slur_height_limit = \staffheight;
41 % mmm, try bit flatter slurs
42 % slur_ratio = 1.0 / 3.0;
43 slur_ratio = 0.3;
44 slur_clip_ratio = 1.2;
45 slur_clip_height = 3.0 * \staffheight;
46 slur_clip_angle = 100.0;
47 slur_rc_factor = 2.4;
48
49 % ugh
50 notewidth = (\quartwidth + \wholewidth) / 2.0;
51
52 % ugh
53 barsize = \staffheight;
54 rulethickness = \staffline;
55
56 % uhm
57 unitspace = 22.\pt;
58 geometric = 0.;
59
60 gourlay_energybound = 100000.;
61 %{
62 The following bounds the number of measures
63 on a line.  Decreasing it greatly reduces computation time
64 %}
65 gourlay_maxmeasures = 10.;
66 castingalgorithm = \Gourlay;
67 \include "engraver.ly";
68