
#include "both.h"

int     hgap = 2;
int     clefsig = 0,
        keysig = 0,
        timesig = 0,
        leadsig = 0;

/* dimensions */
int     width = WIDTH,
        height = HEIGHT;

int     reduction = 2400 / HEIGHT;
int     page_width = WIDTH * 24 / HEIGHT;

char   *scale[] = {
    "f-", "c-", "g-", "d-", "a-", "e-", "b-",
    "f ", "c ", "g ", "d ", "a ", "e ", "b ",
    "f+", "c+", "g+", "d+", "a+", "e+", "b+"
};

int	part,
        bar,
        beat;
int     n_staves,
        n_staffs,
        n_parts;

/* note lengths */
#define NBEATS 4
#define DENOM 4

int     bps_now = 8,
        width_now = 700;

struct staffs	staffv[NSTAVES][NSTAFFS];
struct parts    partv[NPARTS];
int     clef_now,
        clefs_now[NSTAFFS];
int	key_now,
	part_now = 0,
        tsig_n_now = 4,
        tsig_d_now = 4;
int	in_beam = 0,
	chordtransp = 0;
int     i_stave_gap = 6,
        i_staff_gap = 3;
int     nat_mode = 1;		/* 1 = natural in next bar, 2 = natural in
				   keys */
int     testing = 0;		/* for use in testing */
int     tieform = 0;		/* 0 = splines, 1 = lines */
