~ubuntu-branches/ubuntu/oneiric/muse/oneiric

« back to all changes in this revision

Viewing changes to score/symbols.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2002-04-23 17:28:23 UTC
  • Revision ID: james.westby@ubuntu.com-20020423172823-w8yplzr81a759xa3
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//=========================================================
 
2
//  MusE
 
3
//  Linux Music Editor
 
4
//    $Id: symbols.cpp,v 1.1 2002/01/30 12:08:39 muse Exp $
 
5
//  (C) Copyright 1999,2000 Werner Schweer (ws@seh.de)
 
6
//=========================================================
 
7
 
 
8
#include <stdio.h>
 
9
#include "symbols.h"
 
10
static bool initialized = false;
 
11
 
 
12
static unsigned char keyBits[14][180] = {
 
13
/*0*/       {0x00,0x00,0x03,0x00,0x00,0x80,0x07,0x00,0x00,0x80,0x07,0x00,0x00,0xc0,0x0f,
 
14
 0x00,0x00,0xc0,0x0d,0x00,0x00,0xc0,0x09,0x00,0x00,0xc0,0x08,0x00,0x00,0xc0,
 
15
 0x0c,0x00,0x00,0x40,0x0e,0x00,0x00,0x40,0x0e,0x00,0x00,0x40,0x0e,0x00,0x00,
 
16
 0xc0,0x07,0x00,0x00,0xc0,0x07,0x00,0x00,0xc0,0x03,0x00,0x00,0xe0,0x01,0x00,
 
17
 0x00,0xf0,0x01,0x00,0x00,0xf8,0x01,0x00,0x00,0x7c,0x01,0x00,0x00,0x3c,0x01,
 
18
 0x00,0x00,0x1e,0x01,0x00,0x00,0x8f,0x1f,0x00,0x00,0xcf,0x3f,0x00,0x00,0xe7,
 
19
 0x3f,0x00,0x00,0xe7,0x7a,0x00,0x00,0x67,0x72,0x00,0x00,0x67,0x62,0x00,0x00,
 
20
 0x6f,0x62,0x00,0x00,0x4e,0x64,0x00,0x00,0x8c,0x24,0x00,0x00,0x18,0x34,0x00,
 
21
 0x00,0x70,0x1c,0x00,0x00,0xc0,0x0f,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,
 
22
 0x00,0x00,0x00,0x08,0x00,0x00,0xe0,0x08,0x00,0x00,0xf0,0x09,0x00,0x00,0xf0,
 
23
 0x09,0x00,0x00,0xf0,0x09,0x00,0x00,0xf0,0x08,0x00,0x00,0x60,0x04,0x00,0x00,
 
24
 0xc0,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
 
25
/*1*/       { 0x00,0x00,0x03,0x06,0x00,0x80,0x07,0x09,0x00,0x80,0x07,0x07,0x00,0xc0,0x8f,
 
26
 0x04,0x00,0xc0,0x8d,0x04,0x00,0xc0,0x89,0x03,0x00,0xc0,0x08,0x00,0x00,0xc0,
 
27
 0x0c,0x00,0x00,0x40,0x0e,0x00,0x00,0x40,0x0e,0x00,0x00,0x40,0x0e,0x00,0x00,
 
28
 0xc0,0x07,0x00,0x00,0xc0,0x07,0x00,0x00,0xc0,0x03,0x00,0x00,0xe0,0x01,0x00,
 
29
 0x00,0xf0,0x01,0x00,0x00,0xf8,0x01,0x00,0x00,0x7c,0x01,0x00,0x00,0x3c,0x01,
 
30
 0x00,0x00,0x1e,0x01,0x00,0x00,0x8f,0x1f,0x00,0x00,0xcf,0x3f,0x00,0x00,0xe7,
 
31
 0x3f,0x00,0x00,0xe7,0x7a,0x00,0x00,0x67,0x72,0x00,0x00,0x67,0x62,0x00,0x00,
 
32
 0x6f,0x62,0x00,0x00,0x4e,0x64,0x00,0x00,0x8c,0x24,0x00,0x00,0x18,0x34,0x00,
 
33
 0x00,0x70,0x1c,0x00,0x00,0xc0,0x0f,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,
 
34
 0x00,0x00,0x00,0x08,0x00,0x00,0xe0,0x08,0x00,0x00,0xf0,0x09,0x00,0x00,0xf0,
 
35
 0x09,0x00,0x00,0xf0,0x09,0x00,0x00,0xf0,0x08,0x00,0x00,0x60,0x04,0x00,0x00,
 
36
 0xc0,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
 
37
/*2*/       { 0x00,0x00,0x03,0x79,0x00,0x80,0x87,0x09,0x00,0x80,0x87,0x1c,0x00,0xc0,0x8f,
 
38
 0x20,0x00,0xc0,0x4d,0x12,0x00,0xc0,0xe9,0x0c,0x00,0xc0,0x08,0x00,0x00,0xc0,
 
39
 0x0c,0x00,0x00,0x40,0x0e,0x00,0x00,0x40,0x0e,0x00,0x00,0x40,0x0e,0x00,0x00,
 
40
 0xc0,0x07,0x00,0x00,0xc0,0x07,0x00,0x00,0xc0,0x03,0x00,0x00,0xe0,0x01,0x00,
 
41
 0x00,0xf0,0x01,0x00,0x00,0xf8,0x01,0x00,0x00,0x7c,0x01,0x00,0x00,0x3c,0x01,
 
42
 0x00,0x00,0x1e,0x01,0x00,0x00,0x8f,0x1f,0x00,0x00,0xcf,0x3f,0x00,0x00,0xe7,
 
43
 0x3f,0x00,0x00,0xe7,0x7a,0x00,0x00,0x67,0x72,0x00,0x00,0x67,0x62,0x00,0x00,
 
44
 0x6f,0x62,0x00,0x00,0x4e,0x64,0x00,0x00,0x8c,0x24,0x00,0x00,0x18,0x34,0x00,
 
45
 0x00,0x70,0x1c,0x00,0x00,0xc0,0x0f,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,
 
46
 0x00,0x00,0x00,0x08,0x00,0x00,0xe0,0x08,0x00,0x00,0xf0,0x09,0x00,0x00,0xf0,
 
47
 0x09,0x00,0x00,0xf0,0x09,0x00,0x00,0xf0,0x08,0x00,0x00,0x60,0x04,0x00,0x00,
 
48
 0xc0,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
 
49
/*3*/       { 0x00,0x00,0x03,0x00,0x00,0x80,0x07,0x00,0x00,0x80,0x07,0x00,0x00,0xc0,0x0f,
 
50
 0x00,0x00,0xc0,0x0d,0x00,0x00,0xc0,0x09,0x00,0x00,0xc0,0x08,0x00,0x00,0xc0,
 
51
 0x0c,0x00,0x00,0x40,0x0e,0x00,0x00,0x40,0x0e,0x00,0x00,0x40,0x0e,0x00,0x00,
 
52
 0xc0,0x07,0x00,0x00,0xc0,0x07,0x00,0x00,0xc0,0x03,0x00,0x00,0xe0,0x01,0x00,
 
53
 0x00,0xf0,0x01,0x00,0x00,0xf8,0x01,0x00,0x00,0x7c,0x01,0x00,0x00,0x3c,0x01,
 
54
 0x00,0x00,0x1e,0x01,0x00,0x00,0x8f,0x1f,0x00,0x00,0xcf,0x3f,0x00,0x00,0xe7,
 
55
 0x3f,0x00,0x00,0xe7,0x7a,0x00,0x00,0x67,0x72,0x00,0x00,0x67,0x62,0x00,0x00,
 
56
 0x6f,0x62,0x00,0x00,0x4e,0x64,0x00,0x00,0x8c,0x24,0x00,0x00,0x18,0x34,0x00,
 
57
 0x00,0x70,0x1c,0x00,0x00,0xc0,0x0f,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,
 
58
 0x00,0x00,0x00,0x08,0x00,0x00,0xe0,0x08,0x00,0x00,0xf0,0x09,0x03,0x00,0xf0,
 
59
 0x89,0x04,0x00,0xf0,0x89,0x03,0x00,0xf0,0x48,0x02,0x00,0x60,0x44,0x02,0x00,
 
60
 0xc0,0xc3,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
 
61
 
 
62
/*4*/      { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
63
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
64
 0x00,0x00,0x00,0xf8,0x01,0x00,0x00,0x8c,0x03,0x00,0x00,0x06,0xc7,0x00,0x00,
 
65
 0x0f,0xe7,0x00,0x00,0x1f,0x6e,0x00,0x00,0x1f,0x0e,0x00,0x00,0x1f,0xce,0x00,
 
66
 0x00,0x0e,0xce,0x00,0x00,0x00,0xee,0x00,0x00,0x00,0x6f,0x00,0x00,0x00,0x07,
 
67
 0x00,0x00,0x80,0x07,0x00,0x00,0x80,0x07,0x00,0x00,0xc0,0x03,0x00,0x00,0xe0,
 
68
 0x01,0x00,0x00,0xf0,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,
 
69
 0x0f,0x00,0x00,0x80,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
70
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
71
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
72
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
73
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
 
74
{ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
75
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
76
 0x00,0x00,0x00,0xf8,0x01,0x00,0x00,0x8c,0x03,0x00,0x00,0x06,0xc7,0x00,0x00,
 
77
 0x0f,0xe7,0x00,0x00,0x1f,0x6e,0x00,0x00,0x1f,0x0e,0x00,0x00,0x1f,0xce,0x00,
 
78
 0x00,0x0e,0xce,0x00,0x00,0x00,0xee,0x00,0x00,0x00,0x6f,0x00,0x00,0x00,0x07,
 
79
 0x00,0x00,0x80,0x07,0x00,0x00,0x80,0x07,0x00,0x00,0xc0,0x03,0x00,0x00,0xe0,
 
80
 0x01,0x00,0x00,0xf0,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,
 
81
 0x0f,0x00,0x00,0x80,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,
 
82
 0x00,0x24,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x12,0x00,
 
83
 0x00,0x00,0x0e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
84
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
85
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
 
86
{ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
87
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
88
 0x00,0x00,0x00,0xf8,0x01,0x00,0x00,0x8c,0x03,0x00,0x00,0x06,0xc7,0x00,0x00,
 
89
 0x0f,0xe7,0x00,0x00,0x1f,0x6e,0x00,0x00,0x1f,0x0e,0x00,0x00,0x1f,0xce,0x00,
 
90
 0x00,0x0e,0xce,0x00,0x00,0x00,0xee,0x00,0x00,0x00,0x6f,0x00,0x00,0x00,0x07,
 
91
 0x00,0x00,0x80,0x07,0x00,0x00,0x80,0x07,0x00,0x00,0xc0,0x03,0x00,0x00,0xe0,
 
92
 0x01,0x00,0x00,0xf0,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,
 
93
 0x0f,0x00,0x00,0x80,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc8,0x03,0x00,
 
94
 0x00,0x4c,0x00,0x00,0x00,0xe4,0x00,0x00,0x00,0x04,0x01,0x00,0x00,0x12,0x01,
 
95
 0x00,0x00,0xe7,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
96
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
97
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
 
98
{ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
99
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
100
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
101
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0x01,0x00,
 
102
 0x00,0x8c,0x03,0x00,0x00,0x06,0xc7,0x00,0x00,0x0f,0xe7,0x00,0x00,0x1f,0x6e,
 
103
 0x00,0x00,0x1f,0x0e,0x00,0x00,0x1f,0xce,0x00,0x00,0x0e,0xce,0x00,0x00,0x00,
 
104
 0xee,0x00,0x00,0x00,0x6f,0x00,0x00,0x00,0x07,0x00,0x00,0x80,0x07,0x00,0x00,
 
105
 0x80,0x07,0x00,0x00,0xc0,0x03,0x00,0x00,0xe0,0x01,0x00,0x00,0xf0,0x00,0x00,
 
106
 0x00,0x78,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x0f,0x00,0x00,0x80,0x01,0x00,
 
107
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
108
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
109
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
 
110
{ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0x01,0x00,0x00,0x8c,0x03,
 
111
 0x00,0x00,0x06,0xc7,0x00,0x00,0x0f,0xe7,0x00,0x00,0x1f,0x6e,0x00,0x00,0x1f,
 
112
 0x0e,0x00,0x00,0x1f,0xce,0x00,0x00,0x0e,0xce,0x00,0x00,0x00,0xee,0x00,0x00,
 
113
 0x00,0x6f,0x00,0x00,0x00,0x07,0x00,0x00,0x80,0x07,0x00,0x00,0x80,0x07,0x00,
 
114
 0x00,0xc0,0x03,0x00,0x00,0xe0,0x01,0x00,0x00,0xf0,0x00,0x00,0x00,0x78,0x00,
 
115
 0x00,0x00,0x1c,0x00,0x00,0x00,0x0f,0x00,0x00,0x80,0x01,0x00,0x00,0x00,0x00,
 
116
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
117
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
118
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
119
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
120
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
121
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
 
122
{ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
123
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
124
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
125
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
126
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
127
 0x00,0x00,0x00,0x00,0x00,0x00,0x2e,0x7c,0x00,0x00,0x2e,0xe6,0x00,0x00,0x2e,
 
128
 0xcf,0x01,0x00,0x2e,0xcf,0x01,0x00,0x2e,0xc6,0x01,0x00,0x2e,0xc0,0x01,0x00,
 
129
 0x2e,0xc0,0x01,0x00,0x2e,0xc2,0x01,0x00,0x2e,0xc2,0x00,0x00,0x2e,0xe6,0x00,
 
130
 0x00,0x2e,0x3f,0x00,0x00,0xae,0x03,0x00,0x00,0xae,0x03,0x00,0x00,0xae,0x03,
 
131
 0x00,0x00,0x2e,0x3f,0x00,0x00,0x2e,0xe6,0x00,0x00,0x2e,0xc2,0x00,0x00,0x2e,
 
132
 0xc2,0x01,0x00,0x2e,0xc0,0x01,0x00,0x2e,0xc0,0x01,0x00,0x2e,0xc6,0x01,0x00,
 
133
 0x2e,0xcf,0x01,0x00,0x2e,0xcf,0x01,0x00,0x2e,0xe6,0x00,0x00,0x2e,0x7c,0x00
 
134
 },
 
135
{ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
136
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
137
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
138
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2e,0x7c,0x00,
 
139
 0x00,0x2e,0xe6,0x00,0x00,0x2e,0xcf,0x01,0x00,0x2e,0xcf,0x01,0x00,0x2e,0xc6,
 
140
 0x01,0x00,0x2e,0xc0,0x01,0x00,0x2e,0xc0,0x01,0x00,0x2e,0xc2,0x01,0x00,0x2e,
 
141
 0xc2,0x00,0x00,0x2e,0xe6,0x00,0x00,0x2e,0x3f,0x00,0x00,0xae,0x03,0x00,0x00,
 
142
 0xae,0x03,0x00,0x00,0xae,0x03,0x00,0x00,0x2e,0x3f,0x00,0x00,0x2e,0xe6,0x00,
 
143
 0x00,0x2e,0xc2,0x00,0x00,0x2e,0xc2,0x01,0x00,0x2e,0xc0,0x01,0x00,0x2e,0xc0,
 
144
 0x01,0x00,0x2e,0xc6,0x01,0x00,0x2e,0xcf,0x01,0x00,0x2e,0xcf,0x01,0x00,0x2e,
 
145
 0xe6,0x00,0x00,0x2e,0x7c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
146
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
 
147
{ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
148
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
149
 0x00,0x00,0x00,0x2e,0x7c,0x00,0x00,0x2e,0xe6,0x00,0x00,0x2e,0xcf,0x01,0x00,
 
150
 0x2e,0xcf,0x01,0x00,0x2e,0xc6,0x01,0x00,0x2e,0xc0,0x01,0x00,0x2e,0xc0,0x01,
 
151
 0x00,0x2e,0xc2,0x01,0x00,0x2e,0xc2,0x00,0x00,0x2e,0xe6,0x00,0x00,0x2e,0x3f,
 
152
 0x00,0x00,0xae,0x03,0x00,0x00,0xae,0x03,0x00,0x00,0xae,0x03,0x00,0x00,0x2e,
 
153
 0x3f,0x00,0x00,0x2e,0xe6,0x00,0x00,0x2e,0xc2,0x00,0x00,0x2e,0xc2,0x01,0x00,
 
154
 0x2e,0xc0,0x01,0x00,0x2e,0xc0,0x01,0x00,0x2e,0xc6,0x01,0x00,0x2e,0xcf,0x01,
 
155
 0x00,0x2e,0xcf,0x01,0x00,0x2e,0xe6,0x00,0x00,0x2e,0x7c,0x00,0x00,0x00,0x00,
 
156
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
157
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
158
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
 
159
{ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2e,0x7c,0x00,0x00,0x2e,0xe6,
 
160
 0x00,0x00,0x2e,0xcf,0x01,0x00,0x2e,0xcf,0x01,0x00,0x2e,0xc6,0x01,0x00,0x2e,
 
161
 0xc0,0x01,0x00,0x2e,0xc0,0x01,0x00,0x2e,0xc2,0x01,0x00,0x2e,0xc2,0x00,0x00,
 
162
 0x2e,0xe6,0x00,0x00,0x2e,0x3f,0x00,0x00,0xae,0x03,0x00,0x00,0xae,0x03,0x00,
 
163
 0x00,0xae,0x03,0x00,0x00,0x2e,0x3f,0x00,0x00,0x2e,0xe6,0x00,0x00,0x2e,0xc2,
 
164
 0x00,0x00,0x2e,0xc2,0x01,0x00,0x2e,0xc0,0x01,0x00,0x2e,0xc0,0x01,0x00,0x2e,
 
165
 0xc6,0x01,0x00,0x2e,0xcf,0x01,0x00,0x2e,0xcf,0x01,0x00,0x2e,0xe6,0x00,0x00,
 
166
 0x2e,0x7c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
167
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
168
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
169
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
170
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
 
171
{ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
172
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
173
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
174
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
175
 0x00,0x60,0x06,0x00,0x00,0x60,0x06,0x00,0x00,0x60,0x06,0x00,0x00,0x60,0x06,
 
176
 0x00,0x00,0x60,0x06,0x00,0x00,0x60,0x06,0x00,0x00,0x60,0x06,0x00,0x00,0x60,
 
177
 0x06,0x00,0x00,0x60,0x06,0x00,0x00,0x60,0x06,0x00,0x00,0x60,0x06,0x00,0x00,
 
178
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
179
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
180
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
181
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
182
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}
 
183
      };
 
184
 
 
185
static unsigned char note0Bits[] = { 0x38,0x4e,0x43,0x61,0x39,0x0e };
 
186
static unsigned char note1Bits[] = { 0x38,0x7e,0x7f,0x7f,0x3f,0x0e };
 
187
static unsigned char note2Bits[] = { 0x1c, 0x23, 0x43, 0x61, 0x62, 0x1c };
 
188
 
 
189
static unsigned char sharpBits[] = {
 
190
 0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x90,0x00,0x90,0x00,0x90,0x00,0x90,
 
191
 0x00,0xd0,0x01,0xf8,0x01,0xb8,0x00,0x90,0x00,0x90,0x00,0x90,0x00,0xd0,0x01,
 
192
 0xf8,0x01,0xb8,0x00,0x90,0x00,0x90,0x00,0x90,0x00,0x10,0x00};
 
193
static unsigned char sharp2Bits[] = {
 
194
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
195
 0x00,0x00,0x00,0x8c,0x01,0xdc,0x01,0x70,0x00,0x20,0x00,0x70,0x00,0xdc,0x01,
 
196
 0x8c,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
 
197
static unsigned char flatBits[] = {
 
198
 0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,
 
199
 0x00,0x10,0x00,0xf0,0x01,0x90,0x01,0x90,0x01,0xd0,0x00,0x50,0x00,0x30,0x00,
 
200
 0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
 
201
static unsigned char flat2Bits[] = {
 
202
 0x11,0x00,0x11,0x00,0x11,0x00,0x11,0x00,0x11,0x00,0x11,0x00,0x11,0x00,0x11,
 
203
 0x00,0x11,0x00,0xff,0x01,0x99,0x01,0x99,0x01,0xdd,0x00,0x55,0x00,0x33,0x00,
 
204
 0x11,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
 
205
static unsigned char natBits[] = {
 
206
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x10,0x00,0x10,
 
207
 0x00,0x10,0x00,0x10,0x01,0xd0,0x01,0xf0,0x01,0x30,0x01,0x10,0x01,0x10,0x01,
 
208
 0xd0,0x01,0xf0,0x01,0x70,0x01,0x10,0x01,0x00,0x01,0x00,0x01,0x00,0x01};
 
209
 
 
210
static unsigned char flagBits[] = {
 
211
 0xc1,0xc1,0xc1,0xc3,0xc3,0xc7,0xce,0xdc,0xd8,0xf0,0xe0,0xe0,0xd0};
 
212
 
 
213
static unsigned char flagIBits[] = {
 
214
 0x10,0x20,0x20,0x30,0x18,0x1c,0x0e,0x07,0x03,0x03,0x01,0x01,0x01};
 
215
 
 
216
static unsigned char dotBits[] = { 0x2, 0x7, 0x2 };
 
217
 
 
218
 
 
219
//
 
220
//   pausen
 
221
//
 
222
 
 
223
static unsigned char restBits[6][46] = {
 
224
 { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xfe,0x01,0xfe,
 
225
 0x01,0xfe,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
226
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
227
 0x00},
 
228
 
 
229
      {
 
230
            0x00,0x00,
 
231
            0x00,0x00,
 
232
            0x00,0x00,
 
233
            0x00,0x00,
 
234
            0x00,0x00,
 
235
            0x00,0x00,
 
236
            0x00,0x00,
 
237
            0x00,0x00,
 
238
            0xfe,0x01,
 
239
            0xfe,0x01,
 
240
            0xfe,0x01,
 
241
            0x00,0x00,
 
242
            0x00,0x00,
 
243
            0x00,0x00,
 
244
            0x00,0x00,
 
245
            0x00,0x00,
 
246
            0x00,0x00,
 
247
            0x00,0x00,
 
248
            0x00,0x00,
 
249
            0x00,0x00,
 
250
            0x00,0x00,
 
251
            0x00,0x00,
 
252
            0x00,0x00},
 
253
 
 
254
 { 0x00,0x00,0x10,0x00,0x20,0x00,0x40,0x00,0xc0,0x00,0xc0,0x01,0xe0,0x01,0xf0,
 
255
 0x01,0xf8,0x00,0x7c,0x00,0x38,0x00,0x30,0x00,0x20,0x00,0x40,0x00,0xf0,0x00,
 
256
 0xf8,0x01,0x38,0x00,0x18,0x00,0x10,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,
 
257
 0x00},
 
258
      {
 
259
            0x00,0x00,
 
260
            0x00,0x00,
 
261
            0x00,0x00,
 
262
            0x00,0x00,
 
263
            0x00,0x00,
 
264
            0x00,0x02,
 
265
            0x18,0x03,
 
266
            0x9c,0x01,
 
267
            0xdc,0x01,
 
268
            0xb8,0x01,
 
269
            0x80,0x00,
 
270
            0x80,0x00,
 
271
            0xc0,0x00,
 
272
            0xc0,0x00,
 
273
            0x40,0x00,
 
274
            0x60,0x00,
 
275
            0x60,0x00,
 
276
            0x00,0x00,
 
277
            0x00,0x00,
 
278
            0x00,0x00,
 
279
            0x00,0x00,
 
280
            0x00,0x00,
 
281
            0x00,0x00
 
282
            },
 
283
 
 
284
 { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x18,0x01,0x9c,
 
285
 0x01,0xdc,0x01,0xb8,0x00,0x80,0x00,0x80,0x00,0xc6,0x00,0x67,0x00,0x77,0x00,
 
286
 0x6e,0x00,0x20,0x00,0x20,0x00,0x30,0x00,0x30,0x00,0x10,0x00,0x18,0x00,0x18,
 
287
 0x00},
 
288
 
 
289
 { 0x60,0x04,0x70,0x06,0x70,0x07,0xe0,0x02,0x00,0x02,0x00,0x03,0x18,0x01,0x9c,
 
290
 0x01,0xdc,0x01,0xb8,0x00,0x80,0x00,0x80,0x00,0xc6,0x00,0x67,0x00,0x77,0x00,
 
291
 0x2e,0x00,0x20,0x00,0x20,0x00,0x30,0x00,0x10,0x00,0x18,0x00,0x18,0x00,0x18,
 
292
 0x00}};
 
293
 
 
294
static const char* noteBits[7][23] =  {
 
295
{
 
296
"20 20 2 1",
 
297
". c none",
 
298
"# c #000000",
 
299
"....................",
 
300
"....................",
 
301
"....................",
 
302
"....................",
 
303
"....................",
 
304
"....................",
 
305
"....................",
 
306
"....................",
 
307
"....................",
 
308
"....................",
 
309
"....................",
 
310
"....................",
 
311
"........###.........",
 
312
"......###..#........",
 
313
".....##....#........",
 
314
".....#....##........",
 
315
".....#..###.........",
 
316
"......###...........",
 
317
"....................",
 
318
"...................."
 
319
},
 
320
{
 
321
"20 20 2 1",
 
322
". c none",
 
323
"# c #000000",
 
324
"...........#........",
 
325
"...........#........",
 
326
"...........#........",
 
327
"...........#........",
 
328
"...........#........",
 
329
"...........#........",
 
330
"...........#........",
 
331
"...........#........",
 
332
"...........#........",
 
333
"...........#........",
 
334
"...........#........",
 
335
"...........#........",
 
336
"........####........",
 
337
"......###..#........",
 
338
".....##....#........",
 
339
".....#....##........",
 
340
".....#..###.........",
 
341
"......###...........",
 
342
"....................",
 
343
"...................."
 
344
},
 
345
{
 
346
"20 20 2 1",
 
347
". c none",
 
348
"# c #000000",
 
349
"...........#........",
 
350
"...........#........",
 
351
"...........#........",
 
352
"...........#........",
 
353
"...........#........",
 
354
"...........#........",
 
355
"...........#........",
 
356
"...........#........",
 
357
"...........#........",
 
358
"...........#........",
 
359
"...........#........",
 
360
"...........#........",
 
361
"........####........",
 
362
"......######........",
 
363
".....#######........",
 
364
".....#######........",
 
365
".....######.........",
 
366
"......###...........",
 
367
"....................",
 
368
"...................."
 
369
},
 
370
{
 
371
"    20    20        2            1",
 
372
". c none",
 
373
"# c #000000",
 
374
"...........##.......",
 
375
"...........#.#......",
 
376
"...........#..#.....",
 
377
"...........#...#....",
 
378
"...........#...#....",
 
379
"...........#...#....",
 
380
"...........#........",
 
381
"...........#........",
 
382
"...........#........",
 
383
"...........#........",
 
384
"...........#........",
 
385
"...........#........",
 
386
"........####........",
 
387
"......######........",
 
388
".....#######........",
 
389
".....#######........",
 
390
".....######.........",
 
391
"......###...........",
 
392
"....................",
 
393
"...................."
 
394
},
 
395
{
 
396
"    20    20        2            1",
 
397
". c none",
 
398
"# c #000000",
 
399
"...........##.......",
 
400
"...........#.#......",
 
401
"...........#..#.....",
 
402
"...........##..#....",
 
403
"...........#.#.#....",
 
404
"...........#..#.....",
 
405
"...........#...#....",
 
406
"...........#...#....",
 
407
"...........#........",
 
408
"...........#........",
 
409
"...........#........",
 
410
"...........#........",
 
411
"........####........",
 
412
"......######........",
 
413
".....#######........",
 
414
".....#######........",
 
415
".....######.........",
 
416
"......###...........",
 
417
"....................",
 
418
"...................."
 
419
},
 
420
{
 
421
"    20    20        2            1",
 
422
". c none",
 
423
"# c #000000",
 
424
"...........##.......",
 
425
"...........#.#......",
 
426
"...........#..#.....",
 
427
"...........##..#....",
 
428
"...........#.#.#....",
 
429
"...........#..#.....",
 
430
"...........##..#....",
 
431
"...........#.#.#....",
 
432
"...........#..#.....",
 
433
"...........#...#....",
 
434
"...........#...#....",
 
435
"...........#...#....",
 
436
"........####........",
 
437
"......######........",
 
438
".....#######........",
 
439
".....#######........",
 
440
".....######.........",
 
441
"......###...........",
 
442
"....................",
 
443
"...................."
 
444
},
 
445
{
 
446
"    20    20        2            1",
 
447
". c none",
 
448
"# c #000000",
 
449
"...........##.......",
 
450
"...........#.#......",
 
451
"...........#..#.....",
 
452
"...........##..#....",
 
453
"...........#.#.#....",
 
454
"...........#..#.....",
 
455
"...........##..#....",
 
456
"...........#.#.#....",
 
457
"...........#..#.....",
 
458
"...........##..#....",
 
459
"...........#.#.#....",
 
460
"...........#..#.....",
 
461
"........####.. #....",
 
462
"......######...#....",
 
463
".....#######........",
 
464
".....#######........",
 
465
".....######.........",
 
466
"......###...........",
 
467
"....................",
 
468
"...................."
 
469
}};
 
470
 
 
471
static const char* flipNoteBits[16] =  {
 
472
"16 12 3 1",
 
473
". c none",
 
474
"# c none",
 
475
"a c #000000",
 
476
".#######a#######",
 
477
".#######a#######",
 
478
".#######a#######",
 
479
".#######a#######",
 
480
".#######a#######",
 
481
".#####aaa#######",
 
482
".####aaaa#######",
 
483
".####aaa########",
 
484
".####a##########",
 
485
".####a##########",
 
486
".####a##########",
 
487
".####a##########"
 
488
};
 
489
 
 
490
static const char* upVoiceBits[16] =  {
 
491
"16 12 2 1",
 
492
". c none",
 
493
"a c #000000",
 
494
"................",
 
495
"....a...........",
 
496
"....a...........",
 
497
"....a...........",
 
498
"....a.....a.....",
 
499
"....a....aaa....",
 
500
"....a...aaaaa...",
 
501
"..aaa..aaaaaaa..",
 
502
".aaaa...........",
 
503
".aaa............",
 
504
"................",
 
505
"................"
 
506
};
 
507
 
 
508
static const char* downVoiceBits[16] =  {
 
509
"16 12 2 1",
 
510
". c none",
 
511
"a c #000000",
 
512
"................",
 
513
"....a...........",
 
514
"....a...........",
 
515
"....a...........",
 
516
"....a..aaaaaaa..",
 
517
"....a...aaaaa...",
 
518
"....a....aaa....",
 
519
"..aaa.....a.....",
 
520
".aaaa...........",
 
521
".aaa............",
 
522
"................",
 
523
"................"
 
524
};
 
525
 
 
526
static const char* snoteBits[9][16] =  {
 
527
{
 
528
"    16    12        3            1",
 
529
". c none",
 
530
"# c none",
 
531
"a c #000000",
 
532
"...............#",
 
533
".###############",
 
534
".###############",
 
535
".###############",
 
536
".###############",
 
537
".###############",
 
538
".#####aaa#######",
 
539
".####aa#aa######",
 
540
".####aa#aa######",
 
541
".#####aaa#######",
 
542
".###############",
 
543
"################"
 
544
},{
 
545
"    16    12        3            1",
 
546
". c none",
 
547
"# c none",
 
548
"a c #000000",
 
549
"...............#",
 
550
".#######a#######",
 
551
".#######a#######",
 
552
".#######a#######",
 
553
".#######a#######",
 
554
".#######a#######",
 
555
".#######a#######",
 
556
".#####aaa#######",
 
557
".####a..a#######",
 
558
".####aaa########",
 
559
".###############",
 
560
"################"
 
561
},{
 
562
"    16    12        3            1",
 
563
". c none",
 
564
"# c none",
 
565
"a c #000000",
 
566
"...............#",
 
567
".#######a#######",
 
568
".#######a#######",
 
569
".#######a#######",
 
570
".#######a#######",
 
571
".#######a#######",
 
572
".#######a#######",
 
573
".#####aaa#######",
 
574
".####aaaa#######",
 
575
".####aaa########",
 
576
".###############",
 
577
"################"
 
578
},{
 
579
"    16    12        3            1",
 
580
". c none",
 
581
"# c none",
 
582
"a c #000000",
 
583
"...............#",
 
584
".#######aa######",
 
585
".#######a#a#####",
 
586
".#######a##a####",
 
587
".#######a##a####",
 
588
".#######a##a####",
 
589
".#######a##a####",
 
590
".#####aaa#######",
 
591
".####aaaa#######",
 
592
".####aaa########",
 
593
".###############",
 
594
"################"
 
595
},{
 
596
"    16    12        3            1",
 
597
". c none",
 
598
"# c none",
 
599
"a c #000000",
 
600
"...............#",
 
601
".#######aa######",
 
602
".#######a#a#####",
 
603
".#######aa#a####",
 
604
".#######a#aa####",
 
605
".#######a##a####",
 
606
".#######a##a####",
 
607
".#####aaa#######",
 
608
".####aaaa#######",
 
609
".####aaa########",
 
610
".###############",
 
611
"################"
 
612
},{
 
613
"    16    12        3            1",
 
614
". c none",
 
615
"# c none",
 
616
"a c #000000",
 
617
"...............#",
 
618
".#######aa######",
 
619
".#######a#a#####",
 
620
".#######aa#a####",
 
621
".#######a#aa####",
 
622
".#######aa#a####",
 
623
".#######a#aa####",
 
624
".#####aaa##a####",
 
625
".####aaaa#######",
 
626
".####aaa########",
 
627
".###############",
 
628
"################"
 
629
},{
 
630
"    16    12        3            1",
 
631
". c none",
 
632
"# c none",
 
633
"a c #000000",
 
634
"...............#",
 
635
".#######aa######",
 
636
".#######a#a#####",
 
637
".#######aa#a####",
 
638
".#######a#aa####",
 
639
".#######aa#a####",
 
640
".#######a#aa####",
 
641
".#####aaaa#a####",
 
642
".####aaaa#aa####",
 
643
".####aaa###a####",
 
644
".###############",
 
645
"################"
 
646
},{
 
647
"    16    12        3            1",
 
648
". c none",
 
649
"# c none",
 
650
"a c #000000",
 
651
"...............#",
 
652
".###############",
 
653
".###############",
 
654
".###############",
 
655
".###############",
 
656
".######aa#######",
 
657
".######aa#######",
 
658
".###############",
 
659
".###############",
 
660
".###############",
 
661
".###############",
 
662
"################"
 
663
},{
 
664
"16 12 3 1",
 
665
". c none",
 
666
"# c none",
 
667
"a c #000000",
 
668
"...............#",
 
669
".###############",
 
670
".###############",
 
671
".#####aaaaa#####",
 
672
".#######a#######",
 
673
".#######a#######",
 
674
".#######a#######",
 
675
".#######a#######",
 
676
".#######a#######",
 
677
".###############",
 
678
".###############",
 
679
"################"
 
680
}};
 
681
 
 
682
static const char* enhBits[5][16] =  {
 
683
{
 
684
"    16    12        2            1",
 
685
". c None",
 
686
"# c #000000",
 
687
"................",
 
688
"................",
 
689
"....#...#.......",
 
690
"....#...#.......",
 
691
"....#...#.......",
 
692
"....#...#.......",
 
693
"....########....",
 
694
"....#.#.#.#.....",
 
695
"....##..##......",
 
696
"....#...#.......",
 
697
"................",
 
698
"................"
 
699
},{
 
700
"    16    12        2            1",
 
701
". c None",
 
702
"# c #000000",
 
703
"................",
 
704
"................",
 
705
".......#........",
 
706
".......#........",
 
707
".......#........",
 
708
".......#........",
 
709
".......####.....",
 
710
".......#.#......",
 
711
".......##.......",
 
712
".......#........",
 
713
"................",
 
714
"................"
 
715
},{
 
716
"    16    12        2            1",
 
717
". c None",
 
718
"# c #000000",
 
719
"................",
 
720
"................",
 
721
"................",
 
722
"....#..#........",
 
723
"....##.#........",
 
724
"....####..##....",
 
725
"....#.##.#..#...",
 
726
"....#..#.#..#...",
 
727
"....#..#..##....",
 
728
"................",
 
729
"................",
 
730
"................"
 
731
},{
 
732
"    16    12        2            1",
 
733
". c None",
 
734
"# c #000000",
 
735
"................",
 
736
"................",
 
737
"......#.#.......",
 
738
"......#.##......",
 
739
".....####.......",
 
740
"......#.#.......",
 
741
"......#.##......",
 
742
".....####.......",
 
743
"......#.#.......",
 
744
"......#.........",
 
745
"................",
 
746
"................"
 
747
},{
 
748
"    16    12        2            1",
 
749
". c None",
 
750
"# c #000000",
 
751
"................",
 
752
"................",
 
753
"................",
 
754
"................",
 
755
"....##...##.....",
 
756
"......#.#.......",
 
757
".......#........",
 
758
"......#.#.......",
 
759
"....##...##.....",
 
760
"................",
 
761
"................",
 
762
"................"
 
763
}};
 
764
 
 
765
 
 
766
static const char* configBits[] = {
 
767
"16 12 2 1",
 
768
". c None",
 
769
"x c #00ff00",
 
770
"................",
 
771
"................",
 
772
"....xxxxxxxx....",
 
773
"...x........x...",
 
774
"...x............",
 
775
"...x............",
 
776
"...x............",
 
777
"...x............",
 
778
"...x........x...",
 
779
"...,xxxxxxxx....",
 
780
"................",
 
781
"................"
 
782
};
 
783
 
 
784
 
 
785
static const char* notenposBits[] =  {
 
786
"14 38 2 1",
 
787
". c none",
 
788
"# c #ff0000",
 
789
"##############",
 
790
".############.",
 
791
"..##########..",
 
792
"...########...",
 
793
"....######....",
 
794
".....####.....",
 
795
"......##......",
 
796
"......##......",
 
797
"......##......",
 
798
"......##......",
 
799
"......##......",
 
800
"......##......",
 
801
"......##......",
 
802
"......##......",
 
803
"......##......",
 
804
"......##......",
 
805
"......##......",
 
806
"......##......",
 
807
"......##......",
 
808
"......##......",
 
809
"......##......",
 
810
"......##......",
 
811
"......##......",
 
812
"......##......",
 
813
"......##......",
 
814
"......##......",
 
815
"......##......",
 
816
"......##......",
 
817
"......##......",
 
818
"......##......",
 
819
"......##......",
 
820
"......##......",
 
821
"......##......",
 
822
"......##......",
 
823
"......##......",
 
824
"......##......",
 
825
"......##......",
 
826
"......##......"
 
827
};
 
828
 
 
829
static const char* notedotBits[] =  {
 
830
"20 20 2 1",
 
831
". c none",
 
832
"# c #000000",
 
833
"....................",
 
834
"....................",
 
835
"....................",
 
836
"....................",
 
837
"....................",
 
838
"....................",
 
839
"....................",
 
840
"....................",
 
841
"....................",
 
842
"....................",
 
843
"....................",
 
844
"....................",
 
845
"....................",
 
846
"....................",
 
847
"....................",
 
848
"....................",
 
849
"..............##....",
 
850
"..............##....",
 
851
"....................",
 
852
"...................."
 
853
};
 
854
 
 
855
static const char* note3Bits[] =  {
 
856
"20 20 2 1",
 
857
". c none",
 
858
"# c #000000",
 
859
"....................",
 
860
"....................",
 
861
"....................",
 
862
"....................",
 
863
"....................",
 
864
"....................",
 
865
"....................",
 
866
"....................",
 
867
"....................",
 
868
"....................",
 
869
"....................",
 
870
"....................",
 
871
"....................",
 
872
"....................",
 
873
"....................",
 
874
"..............###...",
 
875
".................#..",
 
876
"...............##...",
 
877
".................#..",
 
878
"..............###..."
 
879
};
 
880
 
 
881
static const char* dyn_xpm[12][24] = { {
 
882
"20 20 3 1",
 
883
"       c None",
 
884
".      c None",
 
885
"+      c #000000",
 
886
"....................",
 
887
"....................",
 
888
"....................",
 
889
"....................",
 
890
"....................",
 
891
"....................",
 
892
"....................",
 
893
"++++++.++++++.++++++",
 
894
"+.+..+++.+..+++.+..+",
 
895
".++..+..++..+..++..+",
 
896
".+..++..+..++..+..++",
 
897
"+++++..+++++..+++++.",
 
898
"++.....++.....++....",
 
899
"+.....++.....++.....",
 
900
"++...++++...++++....",
 
901
"....................",
 
902
"....................",
 
903
"....................",
 
904
"....................",
 
905
"...................."},
 
906
 
 
907
{
 
908
"20 20 3 1",
 
909
"       c None",
 
910
".      c None",
 
911
"+      c #000000",
 
912
"....................",
 
913
"....................",
 
914
"....................",
 
915
"....................",
 
916
"....................",
 
917
"....................",
 
918
"....................",
 
919
"....++++++.++++++...",
 
920
"...++.+..+++.+..++..",
 
921
".....++..+..++..+...",
 
922
".....+..++..+..++...",
 
923
"....+++++..+++++....",
 
924
"....++.....++.......",
 
925
"...++.....++........",
 
926
"..++++...++++.......",
 
927
"....................",
 
928
"....................",
 
929
"....................",
 
930
"....................",
 
931
"...................."},
 
932
 
 
933
{
 
934
"20 20 3 1",
 
935
"       c None",
 
936
".      c None",
 
937
"+      c #000000",
 
938
"....................",
 
939
"....................",
 
940
"....................",
 
941
"....................",
 
942
"....................",
 
943
"....................",
 
944
"....................",
 
945
"........++++++......",
 
946
".......++.+..++.....",
 
947
"......+..++..+......",
 
948
".........+..++......",
 
949
"........+++++.......",
 
950
"........++..........",
 
951
".......++...........",
 
952
".....+++++..........",
 
953
"....................",
 
954
"....................",
 
955
"....................",
 
956
"....................",
 
957
"...................."},
 
958
 
 
959
{
 
960
"20 20 3 1",
 
961
"       c None",
 
962
".      c None",
 
963
"+      c #000000",
 
964
"....................",
 
965
"....................",
 
966
"....................",
 
967
"....................",
 
968
"....................",
 
969
"..........+++.......",
 
970
".........++.++......",
 
971
".........++.........",
 
972
".......+++++........",
 
973
"........+++.........",
 
974
"........++..........",
 
975
"........++..........",
 
976
"........++..........",
 
977
".......++...........",
 
978
".......++...........",
 
979
".....+++............",
 
980
"....................",
 
981
"....................",
 
982
"....................",
 
983
"...................."},
 
984
 
 
985
{
 
986
"20 20 3 1",
 
987
"       c None",
 
988
".      c None",
 
989
"+      c #000000",
 
990
"....................",
 
991
"....................",
 
992
"....................",
 
993
"....................",
 
994
"....................",
 
995
"........+++..+++....",
 
996
".......++.++++.++...",
 
997
".......++...++......",
 
998
".....++++++++++.....",
 
999
"......+++..+++......",
 
1000
"......++...++.......",
 
1001
"......++...++.......",
 
1002
"......++...++.......",
 
1003
".....++...++........",
 
1004
".....++...++........",
 
1005
"...+++..+++.........",
 
1006
"....................",
 
1007
"....................",
 
1008
"....................",
 
1009
"...................."},
 
1010
 
 
1011
{
 
1012
"20 20 3 1",
 
1013
"       c None",
 
1014
".      c None",
 
1015
"+      c #000000",
 
1016
"....................",
 
1017
"....................",
 
1018
"....................",
 
1019
"....................",
 
1020
"....................",
 
1021
"......+++..+++..+++.",
 
1022
".....++.++++.++++.++",
 
1023
".....++...++...++...",
 
1024
"...+++++++++++++++..",
 
1025
"....+++..+++..+++...",
 
1026
"....++...++...++....",
 
1027
"....++...++...++....",
 
1028
"....++...++...++....",
 
1029
"...++...++...++.....",
 
1030
"...++...++...++.....",
 
1031
".+++..+++..+++......",
 
1032
"....................",
 
1033
"....................",
 
1034
"....................",
 
1035
"...................."},
 
1036
 
 
1037
{
 
1038
"20 20 3 1",
 
1039
"       c None",
 
1040
".      c None",
 
1041
"+      c #000000",
 
1042
"....................",
 
1043
"....................",
 
1044
"....................",
 
1045
"....................",
 
1046
"....................",
 
1047
"....................",
 
1048
"....................",
 
1049
"....................",
 
1050
"..++.+.+.+...++++++.",
 
1051
".+.++++++++.++.+..++",
 
1052
"...++.++.++...++..+.",
 
1053
"..++.++.++.+..+..++.",
 
1054
"..++.++.+++..+++++..",
 
1055
".............++.....",
 
1056
"............++......",
 
1057
"..........+++++.....",
 
1058
"....................",
 
1059
"....................",
 
1060
"....................",
 
1061
"...................."},
 
1062
 
 
1063
{
 
1064
"20 20 3 1",
 
1065
"       c None",
 
1066
".      c None",
 
1067
"+      c #000000",
 
1068
"....................",
 
1069
"....................",
 
1070
"....................",
 
1071
"....................",
 
1072
"....................",
 
1073
"...............+++..",
 
1074
"..............++.++.",
 
1075
"..............++....",
 
1076
"..++.+.+.+..+++++...",
 
1077
".+.++++++++..+++....",
 
1078
"...++.++.++..++.....",
 
1079
"..++.++.++.+.++.....",
 
1080
"..++.++.+++..++.....",
 
1081
"............++......",
 
1082
"............++......",
 
1083
"..........+++.......",
 
1084
"....................",
 
1085
"....................",
 
1086
"....................",
 
1087
"...................."},
 
1088
 
 
1089
{
 
1090
"20 20 3 1",
 
1091
"       c None",
 
1092
".      c None",
 
1093
"+      c #000000",
 
1094
"....................",
 
1095
"....................",
 
1096
"....................",
 
1097
"....................",
 
1098
"....................",
 
1099
"..........+++.......",
 
1100
".........++.++......",
 
1101
".........++.........",
 
1102
".....+++++++.+++....",
 
1103
"....++..++..+.+.....",
 
1104
"....++..++...+......",
 
1105
".....++.++..+.+.....",
 
1106
"..+..++.++.++++.....",
 
1107
"...+++.++...........",
 
1108
".......++...........",
 
1109
".....+++............",
 
1110
"....................",
 
1111
"....................",
 
1112
"....................",
 
1113
"...................."},
 
1114
 
 
1115
{
 
1116
"20 20 3 1",
 
1117
"       c None",
 
1118
".      c None",
 
1119
"+      c #000000",
 
1120
"....................",
 
1121
"....................",
 
1122
"....................",
 
1123
"....................",
 
1124
"....................",
 
1125
".............+++....",
 
1126
"............++.++...",
 
1127
"............++......",
 
1128
"........+++++++.....",
 
1129
".......++..++.......",
 
1130
".......++..++.......",
 
1131
"........++.++.......",
 
1132
".....+..++.++.......",
 
1133
"......+++.++........",
 
1134
"..........++........",
 
1135
"........+++.........",
 
1136
"....................",
 
1137
"....................",
 
1138
"....................",
 
1139
"...................."},
 
1140
 
 
1141
{
 
1142
"20 20 3 1",
 
1143
"       c None",
 
1144
".      c None",
 
1145
"+      c #000000",
 
1146
"....................",
 
1147
"....................",
 
1148
"....................",
 
1149
"....................",
 
1150
"....................",
 
1151
".........+++..+++...",
 
1152
"........++.++++.....",
 
1153
"........++...++.....",
 
1154
"....+++++++++++++...",
 
1155
"...++..++...++......",
 
1156
"...++..++...++......",
 
1157
"....++.++...++......",
 
1158
".+..++.++...++......",
 
1159
"..+++.++...++.......",
 
1160
"......++...++.......",
 
1161
"....+++..+++........",
 
1162
"....................",
 
1163
"....................",
 
1164
"....................",
 
1165
"...................."},
 
1166
 
 
1167
{
 
1168
"20 20 2 1",
 
1169
".      c None",
 
1170
"+      c #000000",
 
1171
"....................",
 
1172
"....................",
 
1173
"....................",
 
1174
"....................",
 
1175
"....................",
 
1176
".......+++..........",
 
1177
"......++.++.........",
 
1178
"......++............",
 
1179
"....+++++..++++++...",
 
1180
".....+++..++.+..++..",
 
1181
".....++..+..++..+...",
 
1182
".....++.....+..++...",
 
1183
".....++....+++++....",
 
1184
"....++.....++.......",
 
1185
"....++....++........",
 
1186
"..+++...+++++.......",
 
1187
"....................",
 
1188
"....................",
 
1189
"....................",
 
1190
"...................."}
 
1191
      };
 
1192
 
 
1193
static const char *ts44_xpm[] = {
 
1194
"20 20 2 1",
 
1195
". c #000000",
 
1196
"g c None",
 
1197
"gggggggggggggggggggg",
 
1198
"gggggggggggggggggggg",
 
1199
"gggggggggggggggggggg",
 
1200
"gggggggggggggggggggg",
 
1201
"gggggggggggggggggggg",
 
1202
"gggggggggggggggggggg",
 
1203
"ggggggg......ggggggg",
 
1204
"gggggg....gg..gggggg",
 
1205
"gggggg...ggg..gggggg",
 
1206
"ggggg....ggg...ggggg",
 
1207
"ggggg...gggg..gggggg",
 
1208
"ggggg...gggggggggggg",
 
1209
"ggggg...gggggggggggg",
 
1210
"ggggg...gggggggggggg",
 
1211
"ggggg....ggggggggggg",
 
1212
"ggggg....gggg..ggggg",
 
1213
"gggggg...ggg..gggggg",
 
1214
"ggggggg......ggggggg",
 
1215
"gggggggggggggggggggg",
 
1216
"gggggggggggggggggggg",
 
1217
"gggggggggggggggggggg"
 
1218
};
 
1219
 
 
1220
static const char *ts22_xpm[] = {
 
1221
"20 20 2 1",
 
1222
". c #000000",
 
1223
"g c None",
 
1224
"gggggggggggggggggggg",
 
1225
"gggggggggggggggggggg",
 
1226
"gggggggggggggggggggg",
 
1227
"gggggggggggggggggggg",
 
1228
"gggggggggg.ggggggggg",
 
1229
"gggggggggg.ggggggggg",
 
1230
"ggggggg......ggggggg",
 
1231
"gggggg.....g..gggggg",
 
1232
"gggggg...g.g..gggggg",
 
1233
"ggggg....g.g...ggggg",
 
1234
"ggggg...gg.g..gggggg",
 
1235
"ggggg...gg.ggggggggg",
 
1236
"ggggg...gg.ggggggggg",
 
1237
"ggggg...gg.ggggggggg",
 
1238
"ggggg....g.ggggggggg",
 
1239
"ggggg....g.gg..ggggg",
 
1240
"gggggg...g.g..gggggg",
 
1241
"ggggggg......ggggggg",
 
1242
"gggggggggg.ggggggggg",
 
1243
"gggggggggg.ggggggggg",
 
1244
"gggggggggggggggggggg"
 
1245
};
 
1246
 
 
1247
static const char *bracket_xpm[] = {
 
1248
"8 85 2 1",
 
1249
". c #000000",
 
1250
"j c None",
 
1251
"jjjjjjj.",
 
1252
"jjjjjjj.",
 
1253
"jjjjjj.j",
 
1254
"jjjjjj.j",
 
1255
"jjjjj..j",
 
1256
"jjjjj.jj",
 
1257
"jjjj..jj",
 
1258
"jjjj.jjj",
 
1259
"jjj..jjj",
 
1260
"jjj..jjj",
 
1261
"jjj..jjj",
 
1262
"jjj..jjj",
 
1263
"jjj..jjj",
 
1264
"jj...jjj",
 
1265
"jj...jjj",
 
1266
"jj...jjj",
 
1267
"jj...jjj",
 
1268
"jj...jjj",
 
1269
"jj...jjj",
 
1270
"jj...jjj",
 
1271
"jj....jj",
 
1272
"jj....jj",
 
1273
"jj....jj",
 
1274
"jjj...jj",
 
1275
"jjj...jj",
 
1276
"jjj....j",
 
1277
"jjj....j",
 
1278
"jjj....j",
 
1279
"jjjj...j",
 
1280
"jjjj...j",
 
1281
"jjjj...j",
 
1282
"jjjj...j",
 
1283
"jjjj...j",
 
1284
"jjjj...j",
 
1285
"jjjj..jj",
 
1286
"jjjj..jj",
 
1287
"jjjj..jj",
 
1288
"jjjj.jjj",
 
1289
"jjj.jjjj",
 
1290
"jj.jjjjj",
 
1291
"jj.jjjjj",
 
1292
"j.jjjjjj",
 
1293
".jjjjjjj",
 
1294
"j.jjjjjj",
 
1295
"jj.jjjjj",
 
1296
"jjjjjjjj",
 
1297
"jjj.jjjj",
 
1298
"jjjj.jjj",
 
1299
"jjjj..jj",
 
1300
"jjjj..jj",
 
1301
"jjjj..jj",
 
1302
"jjjj...j",
 
1303
"jjjj...j",
 
1304
"jjjj...j",
 
1305
"jjjj...j",
 
1306
"jjjj...j",
 
1307
"jjjj...j",
 
1308
"jjj....j",
 
1309
"jjj....j",
 
1310
"jjj....j",
 
1311
"jjj...jj",
 
1312
"jjj...jj",
 
1313
"jj....jj",
 
1314
"jj....jj",
 
1315
"jj....jj",
 
1316
"jj...jjj",
 
1317
"jj...jjj",
 
1318
"jj...jjj",
 
1319
"jj...jjj",
 
1320
"jj...jjj",
 
1321
"jj...jjj",
 
1322
"jj...jjj",
 
1323
"jjj..jjj",
 
1324
"jjj..jjj",
 
1325
"jjj..jjj",
 
1326
"jjj..jjj",
 
1327
"jjj..jjj",
 
1328
"jjjj.jjj",
 
1329
"jjjj..jj",
 
1330
"jjjjj.jj",
 
1331
"jjjjj..j",
 
1332
"jjjjjj.j",
 
1333
"jjjjjj.j",
 
1334
"jjjjjjj.",
 
1335
"jjjjjjj."
 
1336
};
 
1337
 
 
1338
QBitmap* keyBM[14];
 
1339
QBitmap* note0BM;
 
1340
QBitmap* note1BM;
 
1341
QBitmap* note2BM;
 
1342
 
 
1343
Sprite* sharpSprite;
 
1344
Sprite* sharp2Sprite;
 
1345
Sprite* natSprite;
 
1346
Sprite* flatSprite;
 
1347
Sprite* flat2Sprite;
 
1348
 
 
1349
QBitmap* flagBM;
 
1350
QBitmap* flagIBM;
 
1351
QBitmap* dotBM;
 
1352
QBitmap* restBM[6];
 
1353
QPixmap* noteBM[7];
 
1354
QPixmap* snoteBM[9];
 
1355
QPixmap* enhBM[5];
 
1356
QPixmap* notenposBM;
 
1357
QPixmap* configBM;
 
1358
QPixmap* notedotBM;
 
1359
QPixmap* note3BM;
 
1360
QPixmap* dynBM[12];
 
1361
QPixmap* ts44;
 
1362
QPixmap* ts22;
 
1363
QPixmap* bracketBM;
 
1364
QPixmap* flipNote;
 
1365
QPixmap* upVoice;
 
1366
QPixmap* downVoice;
 
1367
 
 
1368
//---------------------------------------------------------
 
1369
//   initSymbols
 
1370
//---------------------------------------------------------
 
1371
 
 
1372
void initSymbols()
 
1373
      {
 
1374
      if (initialized)
 
1375
            return;
 
1376
      for (int i = 0; i < 14; ++i) {
 
1377
            keyBM[i]  = new QBitmap(32, 45, keyBits[i], true);
 
1378
            keyBM[i]->setMask(*keyBM[i]);
 
1379
            }
 
1380
 
 
1381
      note0BM = new QBitmap(7, 6, note0Bits, true);
 
1382
      note0BM->setMask(*note0BM);
 
1383
 
 
1384
      note1BM = new QBitmap(7, 6, note1Bits, true);
 
1385
      note1BM->setMask(*note1BM);
 
1386
 
 
1387
      note2BM = new QBitmap(7, 6, note2Bits, true);
 
1388
      note2BM->setMask(*note2BM);
 
1389
 
 
1390
      sharpSprite  = new Sprite(9, 21, sharpBits,  QPoint(5, 12));
 
1391
      sharp2Sprite = new Sprite(9, 21, sharp2Bits, QPoint(5, 12));
 
1392
      flatSprite   = new Sprite(9, 21, flatBits,   QPoint(5, 12));
 
1393
      flat2Sprite  = new Sprite(9, 21, flat2Bits,  QPoint(5, 12));
 
1394
      natSprite    = new Sprite(9, 22, natBits,    QPoint(5, 12));
 
1395
 
 
1396
      flagBM = new QBitmap(6, 13, flagBits, true);
 
1397
      flagBM->setMask(*flagBM);
 
1398
 
 
1399
      flagIBM = new QBitmap(6, 13, flagIBits, true);
 
1400
      flagIBM->setMask(*flagIBM);
 
1401
 
 
1402
      dotBM = new QBitmap(3, 3, dotBits, true);
 
1403
      dotBM->setMask(*dotBM);
 
1404
 
 
1405
      for (int i = 0; i < 6; ++i) {
 
1406
            restBM[i] = new QBitmap(11, 23, restBits[i], true);
 
1407
            restBM[i]->setMask(*restBM[i]);
 
1408
            }
 
1409
      for (int i = 0; i < 7; ++i)
 
1410
            noteBM[i] = new QPixmap(noteBits[i]);
 
1411
      for (int i = 0; i < 9; ++i)
 
1412
            snoteBM[i] = new QPixmap(snoteBits[i]);
 
1413
      for (int i = 0; i < 5; ++i)
 
1414
            enhBM[i] = new QPixmap(enhBits[i]);
 
1415
      for (int i = 0; i < 12; ++i)
 
1416
            dynBM[i] = new QPixmap(dyn_xpm[i]);
 
1417
      notenposBM  = new QPixmap(notenposBits);
 
1418
      configBM    = new QPixmap(configBits);
 
1419
      notedotBM   = new QPixmap(notedotBits);
 
1420
      note3BM     = new QPixmap(note3Bits);
 
1421
      ts44        = new QPixmap(ts44_xpm);
 
1422
      ts22        = new QPixmap(ts22_xpm);
 
1423
      bracketBM   = new QPixmap(bracket_xpm);
 
1424
      flipNote    = new QPixmap(flipNoteBits);
 
1425
      upVoice   = new QPixmap(upVoiceBits);
 
1426
      downVoice   = new QPixmap(downVoiceBits);
 
1427
      initialized = true;
 
1428
      }
 
1429