\include "paper.ly";
interline = \staffheight / 4.0;
-internote = \interline / 2.0;
+
+
+% thickness of stafflines
staffline = \interline / 10.0;
beam_thickness = 0.52 * (\interline - \staffline);
interbeam = (2.0 * \interline - \beam_thickness) / 2.0;
interbeam4 = (3.0 * \interline - \beam_thickness) / 3.0;
-%
+
% stems and beams
%
% not used for beams
-stem_length = 7.0*\internote;
+stem_length = 3.5*\interline;
+
%
% stems in unnatural (forced) direction should be shortened,
% according to [Roush & Gourlay]. Their suggestion to knock off
% a whole staffspace seems a bit drastical though?
%
forced_stem_shorten = 1.0 * \interline;
+
%
% there are several ways to calculate the direction of a beam
%
% enum Dir_algorithm { DOWN=-1, UP=1, MAJORITY=2, MEAN, MEDIAN };
%
beam_dir_algorithm = 2.0;
+
%
%
% some beam-stemlength settings...
beam_minimum_stem2 = 1.0 * \interline;
beam_ideal_stem1 = 2.0 * \interline;
beam_ideal_stem2 = 1.5 * \interline;
+
% beam_slope_damp_correct_factor = 2.0;
beam_slope_damp_correct_factor = 0.0;
% slur_thickness = 1.8 * \staffline;
slur_thickness = 1.4 * \staffline;
slur_height_limit = \staffheight;
+
% mmm, try bit flatter slurs
% slur_ratio = 1.0 / 3.0;
slur_ratio = 0.3;
rulethickness = \staffline;
stemthickness = \staffline;
-% uhm
-unitspace = 22.\pt;
-geometric = 0.;
gourlay_energybound = 100000.;
%{
Real
Paper_def::duration_to_dist (Moment d,Real k) const
{
- if (get_var ("geometric"))
- return geometric_spacing (d);
return arithmetic_spacing (d,k);
}
Real
Paper_def::internote_f () const
{
- return get_var ("internote");
+ return get_var ("interline") /2.0 ;
}
Real
# - rewrite in python
program_name = 'convert-mudela'
-version = '0.2'
+version = '0.3'
import os
do_conversion (infile, from_version, outfile, to_version)
+ if infile_name:
+ infile.close ()
+
+ if outfile_name:
+ outfile.close ()
+
if __main__.edit:
os.rename (infile_name, infile_name + '~')
os.rename (infile_name + '.NEW', infile_name)