chiark / gitweb /
Import upstream version 5.3.
[mup] / mup / mup / muschar.h
CommitLineData
69695f33
MW
1
2/* Copyright (c) 1995, 1999, 2000, 2004 by Arkkra Enterprises */
3/* All rights reserved */
4
5/*
6 * Define the list of all the special music symbols.
7 */
8
9/* The following set of symbols is in font FONT_MUSIC.
10 * Mapping between name and number is done via Mus_char_table[0][].
11 */
12#define C_GCLEF (32) /* G clef (treble clef) */
13#define C_FCLEF (33) /* F clef (bass clef) */
14#define C_CCLEF (34) /* C clef (alto, tenor, etc. clef) */
15#define C_DBLWHOLE (35) /* double whole note */
16#define C_1N (36) /* whole note */
17#define C_2N (37) /* half note head */
18#define C_4N (38) /* quarter (and shorter) note head */
19#define C_UPFLAG (39) /* upward flag */
20#define C_DNFLAG (40) /* downward flag */
21#define C_QWHREST (41) /* quad rest */
22#define C_DWHREST (42) /* double whole rest */
23#define C_1REST (43) /* whole rest */
24#define C_2REST (44) /* half rest */
25#define C_4REST (45) /* quarter rest */
26#define C_8REST (46) /* eighth rest */
27#define C_16REST (47) /* sixteenth rest */
28#define C_32REST (48) /* thirty-second rest */
29#define C_64REST (49) /* sixty-fourth rest */
30#define C_128REST (50) /* 128th rest */
31#define C_256REST (51) /* 256th rest */
32#define C_LL1REST (52) /* legerline-less version of whole rest */
33#define C_LL2REST (53) /* legerline-less version of half rest */
34#define C_DOT (54) /* dot, as for after a note */
35#define C_NAT (55) /* natural sign (n) */
36#define C_SHARP (56) /* sharp sign (#) */
37#define C_FLAT (57) /* flat sign (&) */
38#define C_DBLSHARP (58) /* double sharp */
39#define C_DBLFLAT (59) /* double flat */
40#define C_XNOTE (60) /* X-shaped note head */
41#define C_DWHDIAMOND (61) /* double-whole diamond shaped note */
42#define C_DIAMOND (62) /* diamond-shaped note head */
43#define C_FILLDIAMOND (63) /* filled diamond note head */
44#define C_UP2N (64) /* half note with stem up */
45#define C_DN2N (65) /* half note with stem down */
46#define C_UP4N (66) /* quarter note with stem up */
47#define C_DN4N (67) /* quarter note with stem down */
48#define C_COM (68) /* common time */
49#define C_CUT (69) /* cut time */
50#define C_BEGPED (70) /* begin pedal */
51#define C_PEDAL (71) /* pedal up/down */
52#define C_ENDPED (72) /* end pedal */
53#define C_DNBOW (73) /* down bow */
54#define C_UPBOW (74) /* up bow */
55#define C_WEDGE (75) /* wedge mark */
56#define C_UWEDGE (76) /* upside-down wedge */
57#define C_FERM (77) /* fermata */
58#define C_UFERM (78) /* upside-down fermata */
59#define C_SIGN (79) /* for D.S. */
60#define C_CODA (80) /* the + over circle for jumping to coda */
61#define C_MOR (81) /* mordent */
62#define C_INVMOR (82) /* inverted mordent */
63#define C_TURN (83) /* "turn" ornament */
64#define C_INVTURN (84) /* inverted turn */
65#define C_ACC_GT (85) /* accent that looks like > */
66#define C_ACC_HAT (86) /* accent that looks like ^ */
67#define C_ACC_UHAT (87) /* upside down hat accent */
68#define C_TR (88) /* trill */
69#define C_LEG (89) /* legato mark */
70#define C_RR (90) /* railroad tracks */
71#define C_DIM (91) /* diminished (small circle) */
72#define C_HALFDIM (92) /* half diminished (small circle with slash) */
73#define C_TRIANGLE (93) /* triangle, as for a major 7th chord */
74#define C_MEASRPT (94) /* measure repeat */
75#define C_COPYRIGHT (95) /* c in circle */
76#define C_UP8N (96) /* 1/8 note with stem up */
77#define C_DN8N (97) /* 1/8 note with stem down */
78#define C_UP16N (98) /* 1/16 note with stem up */
79#define C_DN16N (99) /* 1/16 note with stem down */
80#define C_UP32N (100) /* 1/32 note with stem up */
81#define C_DN32N (101) /* 1/32 note with stem down */
82#define C_UP64N (102) /* 1/64 note with stem up */
83#define C_DN64N (103) /* 1/64 note with stem down */
84#define C_UP128N (104) /* 1/128 note with stem up */
85#define C_DN128N (105) /* 1/128 note with stem down */
86#define C_UP256N (106) /* 1/256 note with stem up */
87#define C_DN256N (107) /* 1/256 note with stem down */
88
89/* The following set of symbols is in font FONT_MUSIC2.
90 * Mapping between name and number is done via Mus_char_table[1][].
91 */
92#define C_DWHRIGHTTRIANGLE (32) /* double whole right triangle */
93#define C_RIGHTTRIANGLE (33) /* hollow right triangle */
94#define C_FILLRIGHTTRIANGLE (34) /* filled right triangle */
95#define C_UDWHRIGHTTRIANGLE (35) /* upside down double whole right tri*/
96#define C_URIGHTTRIANGLE (36) /* upside down hollow right triangle */
97#define C_UFILLRIGHTTRIANGLE (37) /* upside down filled right triangle */
98#define C_DWHRECTANGLE (38) /* double whole rectangle */
99#define C_RECTANGLE (39) /* hollow rectangle */
100#define C_FILLRECTANGLE (40) /* filled rectangle */
101#define C_DWHISOSTRIANGLE (41) /* double whole isosceles triangle */
102#define C_ISOSTRIANGLE (42) /* hollow isosceles triangle */
103#define C_FILLISOSTRIANGLE (43) /* filled isosceles triangle */
104#define C_DWHPIEWEDGE (44) /* double whole pie wedge */
105#define C_PIEWEDGE (45) /* hollow pie wedge */
106#define C_FILLPIEWEDGE (46) /* filled pie wedge */
107#define C_DWHSEMICIRCLE (47) /* double whole semicircle */
108#define C_SEMICIRCLE (48) /* hollow semicircle */
109#define C_FILLSEMICIRCLE (49) /* filled semicircle */
110#define C_DWHSLASHHEAD (50) /* double whole slash note head */
111#define C_SLASHHEAD (51) /* hollow slash note head */
112#define C_FILLSLASHHEAD (52) /* filled slash note head */
113#define C_BLANKHEAD (53) /* blank note head */