Introduction
Introduction Statistics Contact Development Disclaimer Help
style.pure - abc2ps - A powerful sheet setting tool using the simple abc notati…
git clone git://vernunftzentrum.de/abc2ps.git
Log
Files
Refs
---
style.pure (3368B)
---
1 /*
2 * This file is part of abc2ps, Copyright (C) 1996 Michael Methfessel
3 * See file abc2ps.c for details.
4 */
5
6 /* Global style parameters for the note spacing and Knuthian glue. */
7
8 /* Parameters here are used to set spaces around notes.
9 Names ending in p: prefered natural spacings
10 Names ending in x: expanded spacings
11 Units: everything is based on a staff which is 24 points high
12 (ie. 6 pt between two staff lines). */
13
14 /* name for this set of parameters */
15 #define STYLE "pure"
16
17 /* ----- Parameters for the length-to-width mapping ----- */
18 /* f0p, f5p, f1p are the return values for notes of zero duration,
19 half notes, and whole notes. A simple parabolic interpolation is
20 used for other note durations. The aim is to permit a non-linear
21 relation between the note duration and the spacing on the paper. */
22
23 float f0p=0.0;
24 float f5p=0.5;
25 float f1p=1.0;
26
27 float f0x=0.0;
28 float f5x=0.5;
29 float f1x=1.0;
30
31
32 /* ----- Parameters for the note-note spacing ----- */
33 /* That is: the internote spacing between two notes that follow
34 each other without a bar in between.
35
36 -- lnn is an overall multiplier, i.e. the final note width in points
37 is the return value of function nwidth times lnn.
38 -- bnn determines how strongly the first note enters into the spacing.
39 For bnn=1, the spacing is calculated using the first note.
40 For bnn=0, the spacing is the average for the two notes.
41 -- fnn multiplies the spacing under a beam, to compress the notes a b…
42 -- gnn multiplies the spacing a second time within an n-tuplet */
43
44 float lnnp=30;
45 float bnnp=1.0;
46 float fnnp=1.0;
47 float gnnp=1.0;
48
49 float lnnx=60;
50 float bnnx=1.0;
51 float fnnx=1.0;
52 float gnnx=1.0;
53
54
55 /* ---- Parameters for the bar-note spacing ----- */
56 /* That is: the spacing between a bar and note at the measure start.
57
58 -- lbn is the overall multiplier for the return values from nwidth.
59 -- vbn is the note duration which defines the default spacing.
60 -- bbn determines how strongly the note duration enters into the spac…
61 For bbn=1, the spacing is lbn times the return value of nwidth.
62 For bbn=0, the spacing is lbn times the width of rbn times timesig…
63
64 float lbnp=30;
65 float bbnp=0.0;
66 float rbnp=0.125;
67
68 float lbnx=60;
69 float bbnx=0.0;
70 float rbnx=0.125;
71
72
73 /* ---- Parameters for the note-bar spacing ----- */
74 /* That is: the spacing between a note at the measure end and the bar.
75
76 -- lnb is the overall multiplier for the return values from nwidth.
77 -- vnb is the note duration which defines the default spacing.
78 -- bnb determines how strongly the note duration enters into the spac…
79 For bnb=1, the spacing is lnb times the return value of nwidth.
80 For bnb=0, the spacing is lnb times the width of rbn times timesig…
81
82 float lnbp=30;
83 float bnbp=1.0;
84 float rnbp=0.125;
85
86 float lnbx=60;
87 float bnbx=1.0;
88 float rnbx=0.125;
89
90
91 /* ---- Parameters for centered single note in a measure ----- */
92 /* That is: the total length = bar-note + note-bar spacings
93
94 -- ln0 is the overall multiplier for the return values from nwidth.
95 -- bn0 interpolates between two limiting cases
96 For bn0=0, this case is treated like bar-note and note-bar cases
97 For bn0=1, the note is centered in the measure. */
98
99 float ln0p=30;
100 float bn0p=0;
101
102 float ln0x=60;
103 float bn0x=0;
104
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.