blob: c22ae8f9938d21be4eec06d9e4c4b74309148436 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# include "process_score.h"
# define APPOGG_SPACING SP(64)+SP(256) /* not a legitimate spacing */
# define notespp "\\vnotes2.95\\elemskip"
# define Notespp "\\vnotes3.95\\elemskip"
# define NOtespp "\\vnotes4.95\\elemskip"
# define NOTespp "\\vnotes6.95\\elemskip"
# define NOTEsp "\\vnotes9.52\\elemskip"
# define APPOGG_NOTES "\\vnotes1.45\\elemskip"
extern char terminator[MAX_STAFFS]; /* one of '&' "|', '$' */
extern char *notes[MAX_STAFFS]; /* note segment for ith staff */
extern char *current[MAX_STAFFS];
extern int spacings[MAX_STAFFS]; /* spacing for ith staff */
extern int vspacing[MAX_STAFFS]; /* virtual-note (skip) spacing */
extern bool vspacing_active[MAX_STAFFS]; /* virtual-note spacing active? */
/* used to preclude unnecessary pre-accidental skips */
extern bool nonvirtual_notes; /* used to preclude output of *only* virtual notes */
extern int cspacing[MAX_STAFFS]; /* nominal collective-note spacing */
extern char collective[MAX_STAFFS][SHORT_LEN];
/* prefixes for collective note sequences */
extern bool first_collective[MAX_STAFFS];
extern char deferred_bar[SHORT_LEN]; /* deferred \bar (or \endpiece etc.) */
extern int beaming[MAX_STAFFS]; /* spacing for beamed notes */
extern int new_beaming;
extern int semiauto_beam_notes[MAX_STAFFS]; /* semi-automatic beam notes */
extern int spacing_staff; /* staff that determines current spacing */
/* save-restore state for a staff; used in process_xtuplet */
extern int beamingi;
extern char *currenti;
extern int cspacingi;
extern int vspacingi;
extern char collectivei[SHORT_LEN];
extern bool first_collectivei;
extern int xtuplet[MAX_STAFFS]; /* x for xtuplet in staff i */
extern bool appoggiatura;
extern char outstrings[MAX_STAFFS][LINE_LEN];
/* accumulate commands to be output */
extern char *n_outstrings[MAX_STAFFS];
extern int global_skip;
/* = 1, 2, 3, or 4 for (non-standard) commands \QQsk \HQsk \TQsk \Qsk */
/* = 5 for five commas and double-flat accidental spacing */
/* = 6 for six commas */
extern char s[SHORT_LEN]; /* string for ps() */
extern char *s_n;
char *ps(int spacing);
void note_segment (char *s);
void status (int i);
void status_spacing (void);
void status_all (void);
void status_collective (int i);
void status_beam (int i);
int spacing_note (int i);
void output_notes (int i);
void initialize_notes ();
|