summaryrefslogtreecommitdiff
path: root/Build/source/utils/mtx/mtx-0.60d/status.h
blob: 1a81d124398112102c8ffcc16ae0a95ab5d701de (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
/* Header for module status, generated by p2c 1.21alpha-07.Dec.93 */
#ifndef STATUS_H
#define STATUS_H


#ifdef STATUS_G
# define vextern
#else
# define vextern extern
#endif
/* Keep track of duration, octave, slur and beam status. */


extern Void initStatus PV();
extern Void saveStatus PP((int voice));

extern Void resetDuration PP((int voice, int dur));
extern Char duration PP((int voice));

extern short slurLevel PP((int voice));
extern short beamLevel PP((int voice));
extern boolean noBeamMelisma PP((int voice));
extern boolean noSlurMelisma PP((int voice, int history));
extern short afterSlur PP((int voice));
extern Void setUnbeamed PP((int voice));
extern Void setUnslurred PP((int voice));
extern Void beginBeam PP((int voice, Char *note));
extern Void endBeam PP((int voice));
extern Void beginSlur PP((int voice, Char *note));
extern Void endSlur PP((int voice, Char *note));
extern Void activateBeamsAndSlurs PP((int voice));

extern Void setOctave PP((int voice));
extern Void resetOctave PP((int voice));
extern Char octave PP((int voice));
extern Void newOctave PP((int voice, int dir));
extern Void initOctaves PP((Char *octaves));

extern Void renewPitch PP((int voice, Char *note));
extern short chordPitch PP((int voice));
extern Void renewChordPitch PP((int voice, Char *note));
extern Void rememberDurations PV();
extern Void restoreDurations PV();
extern Void chordTie PP((int voice, Char *lab));


typedef short int5[5];


extern Void getChordTies PP((int voice, short *pitches, Char *labels));


#undef vextern

#endif /*STATUS_H*/

/* End. */