| 1 |
/* Header for module status, generated by p2c 1.21alpha-07.Dec.93 */ |
| 2 |
#ifndef STATUS_H |
| 3 |
#define STATUS_H |
| 4 |
|
| 5 |
|
| 6 |
#ifdef STATUS_G |
| 7 |
# define vextern |
| 8 |
#else |
| 9 |
# define vextern extern |
| 10 |
#endif |
| 11 |
/* Keep track of duration, octave, slur and beam status. */ |
| 12 |
|
| 13 |
|
| 14 |
extern void initStatus(void); |
| 15 |
extern void saveStatus(short voice); |
| 16 |
|
| 17 |
extern void resetDuration(short voice, Char dur); |
| 18 |
extern Char duration(short voice); |
| 19 |
|
| 20 |
extern short slurLevel(short voice); |
| 21 |
extern short beamLevel(short voice); |
| 22 |
extern boolean noBeamMelisma(short voice); |
| 23 |
extern boolean noSlurMelisma(short voice, short history); |
| 24 |
extern short afterSlur(short voice); |
| 25 |
extern void setUnbeamed(short voice); |
| 26 |
extern void setUnslurred(short voice); |
| 27 |
extern void beginBeam(short voice, Char *note); |
| 28 |
extern void endBeam(short voice); |
| 29 |
extern void beginSlur(short voice, Char *note); |
| 30 |
extern void endSlur(short voice, Char *note); |
| 31 |
extern void activateBeamsAndSlurs(short voice); |
| 32 |
|
| 33 |
extern void setOctave(short voice); |
| 34 |
extern void resetOctave(short voice); |
| 35 |
extern Char octave(short voice); |
| 36 |
extern void newOctave(short voice, Char dir); |
| 37 |
extern void initOctaves(Char *octaves); |
| 38 |
|
| 39 |
extern void renewPitch(short voice, Char *note); |
| 40 |
extern short chordPitch(short voice); |
| 41 |
extern void renewChordPitch(short voice, Char *note); |
| 42 |
extern void defineRange(short voice, Char *range); |
| 43 |
extern void checkRange(short voice, Char *note); |
| 44 |
extern void rememberDurations(void); |
| 45 |
extern void restoreDurations(void); |
| 46 |
extern void chordTie(short voice, Char *lab); |
| 47 |
|
| 48 |
|
| 49 |
typedef short int5[5]; |
| 50 |
|
| 51 |
|
| 52 |
extern void getChordTies(short voice, short *pitches, Char *labels); |
| 53 |
|
| 54 |
|
| 55 |
#undef vextern |
| 56 |
|
| 57 |
#endif /*STATUS_H*/ |
| 58 |
|
| 59 |
/* End. */ |