| 1 |
# include "autosp.h" |
| 2 |
|
| 3 |
# define MAX_STAFFS 9 |
| 4 |
|
| 5 |
# define SMALL_NOTE 512 |
| 6 |
# define SP(note) (SMALL_NOTE/note) |
| 7 |
/* note = { 256 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 } */ |
| 8 |
# define MAX_SPACING 2*SP(1) |
| 9 |
extern int staffs[MAX_STAFFS]; /* number of staffs for ith instrument*/ |
| 10 |
extern bool active[MAX_STAFFS]; /* is staff i active? */ |
| 11 |
extern bool bar_rest[MAX_STAFFS]; |
| 12 |
extern int spacing; /* spacing for current notes */ |
| 13 |
extern int restbars; |
| 14 |
extern char global_skip_str[7][16]; |
| 15 |
extern int ninstr; /* number of instruments */ |
| 16 |
extern int nstaffs; /* number of staffs */ |
| 17 |
extern int nastaffs; /* number of active staffs; */ |
| 18 |
extern int old_spacing; |
| 19 |
extern int oldspacing_staff; |
| 20 |
extern bool Changeclefs; /* output \Changeclefs after \def\atnextbar */ |
| 21 |
extern char TransformNotes2[SHORT_LEN]; /* 2nd argument of \TransformNotes */ |
| 22 |
extern bool TransformNotesDefined; |
| 23 |
extern char instrument_size[MAX_STAFFS][SHORT_LEN]; |
| 24 |
/* instrument size as set by setsize or by default ("\\@one") */ |
| 25 |
extern float instr_numsize[MAX_STAFFS]; |
| 26 |
/* nummerical intrument size */ |
| 27 |
extern int staff_instr[MAX_STAFFS]; /* instrument for each staff */ |
| 28 |
|
| 29 |
extern char line[LINE_LEN]; /* line of input */ |
| 30 |
|
| 31 |
extern void process_line (); |
| 32 |
|
| 33 |
extern void process_command (char **ln); |