31 static const char* timeNames[] = {
"1/1",
"1/2",
"1/4",
"1/8",
"1/16",
"1/32",
"1/64",
32 "1/128",
"1/256",
"breve" };
78 enum class Oct : char {
94 static const char* formName[] = {
"G",
"C",
"F",
"=",
" ",
"*" };
95 return formName[int(form)];
200 char soundMapIn[128];
201 char soundMapOut[128];
242 unsigned char modeX,
modeY, distY, flags;
250 :
CapellaObj(c), modeX(0), modeY(0), distY(0), flags(0),
251 nRefNote(0), nNotes(0), background(0), pageRange(0), type(t) {}
387 bLeft(false), bRight(false), bDotted(false),
388 allNumbers(false), from(0), to(0) {}
425 x1(0), y(0), trillSign(true) {}
439 QPointF bezierPoint[4];
447 unsigned char nEnd,
nMid, nDotDist, nDotWidth;
479 QString
text()
const {
return _text; }
480 QFont
font()
const {
return _font; }
481 QPointF
pos()
const {
return relPos; }
535 void readCapx(
XmlReader& e,
unsigned int& fullm);
631 static const char* errmsg[];
683 enum class Error : char { CAP_NO_ERROR, BAD_SIG, CAP_EOF, BAD_VOICE_SIG,
684 BAD_STAFF_SIG, BAD_SYSTEM_SIG
690 QString
error(
Error n)
const {
return QString(errmsg[
int(n)]); }
692 unsigned char readByte();
699 unsigned readUnsigned();
701 QString readQString();
703 QList<BasicDrawObj*> readDrawObjectArray();
704 bool read(
void* p, qint64 len);
712 const QList<CapStaffLayout*>&
staffLayouts()
const {
return _staffLayouts; }
726 void initCapxLayout();
729 QList<BasicDrawObj*> readCapxDrawObjectArray(
XmlReader& e);
BeamMode
Definition: capella.h:43
bool bLeft
Definition: capella.h:395
unsigned tempo
Definition: capella.h:222
QPointF relPos
Definition: capella.h:265
int y
Definition: capella.h:375
char lineWidth
Definition: capella.h:321
QColor clrFill
Definition: capella.h:335
unsigned articulation
Definition: capella.h:575
unsigned char beamRelMax1
Definition: capella.h:642
Definition: capella.h:288
RectEllipseObj(Capella *c)
Definition: capella.h:330
ChordObj * backgroundChord
Definition: capella.h:710
GuitarObj(Capella *c)
Definition: capella.h:409
unsigned char nMid
Definition: capella.h:447
int btmDistX
Definition: capella.h:173
int nNotes
Definition: capella.h:244
QColor color
Definition: capella.h:413
bool bFilled
Definition: capella.h:347
~TextObj()
Definition: capella.h:458
Definition: capella.h:166
int strings
Definition: capella.h:415
bool bPageBreak
Definition: capella.h:225
bool bFilled
Definition: capella.h:334
int nAddBarCount
Definition: capella.h:217
QFile * f
Definition: capella.h:634
CapellaNoteObjectType type() const
Definition: capella.h:66
unsigned nRel
Definition: capella.h:643
BeamMode beamMode
Definition: capella.h:571
bool modernDoubleNote
Definition: capella.h:669
double normalLineDist
Definition: capella.h:715
Definition: capella.h:568
Definition: capella.h:240
bool adapt
Definition: capella.h:363
unsigned char numerator
Definition: capella.h:123
Capella * cap
Definition: capella.h:51
WavyLineObj(Capella *c)
Definition: capella.h:359
Definition: capella.h:613
QColor color
Definition: capella.h:393
SimpleTextObj(Capella *c)
Definition: capella.h:475
char * author
Definition: capella.h:635
unsigned nAbs
Definition: capella.h:644
bool extender
Definition: capella.h:549
int nDots
Definition: capella.h:520
QList< Verse > verse
Definition: capella.h:589
QString _text
Definition: capella.h:469
bool invisible
Definition: capella.h:539
QList< BasicDrawObj * > variants
Definition: capella.h:295
char beamSlope
Definition: capella.h:579
Definition: capella.h:370
QColor color
Definition: capella.h:430
Definition: capella.h:328
QString verseNumber
Definition: capella.h:552
int barMode() const
Definition: capella.h:145
short flags
Definition: capella.h:414
bool noDuration
Definition: capella.h:521
uchar iLayout
Definition: capella.h:171
BeamMode beamMode
Definition: capella.h:221
char dStemLength
Definition: capella.h:573
LineObj(CapellaType t, Capella *c)
Definition: capella.h:316
bool bSoundMapIn
Definition: capella.h:198
bool allaBreve
Definition: capella.h:125
bool bSoundMapOut
Definition: capella.h:199
BracketObj(Capella *c)
Definition: capella.h:492
Definition: capella.h:598
bool bAllowCompression
Definition: capella.h:646
Definition: capella.h:216
BasicDrawObj(CapellaType t, Capella *c)
Definition: capella.h:249
int height
Definition: capella.h:510
ClefLine line
Definition: capella.h:193
NotelinesObj(Capella *c)
Definition: capella.h:372
QFont lyricsFont
Definition: capella.h:156
int topDist
Definition: capella.h:716
QString descr
Definition: capella.h:205
bool postGrace
Definition: capella.h:522
unsigned char align
Definition: capella.h:471
bool bPercussion
Definition: capella.h:197
BarLineType type() const
Definition: capella.h:144
char beamShift
Definition: capella.h:578
Definition: capella.h:407
QList< BasicDrawObj * > objects
Definition: capella.h:540
bool hyphen
Definition: capella.h:550
char * keywords
Definition: capella.h:636
QColor color
Definition: capella.h:174
QColor color
Definition: capella.h:440
QFont _font
Definition: capella.h:472
unsigned lineWidth
Definition: capella.h:348
bool isProlonging
Definition: capella.h:530
CapellaType type
Definition: capella.h:247
QString text
Definition: capella.h:461
int voiceNo
Definition: capella.h:159
Definition: capella.h:182
QPointF relPos
Definition: capella.h:280
QList< CapVoice * > voices
Definition: capella.h:175
unsigned leftPageMargins
Definition: capella.h:657
int log2Denom
Definition: capella.h:168
QColor color
Definition: capella.h:223
LineObj(Capella *c)
Definition: capella.h:315
GroupObj(Capella *c)
Definition: capella.h:277
bool bDotted
Definition: capella.h:397
CapellaObj(Capella *c)
Definition: capella.h:54
bool bSmall
Definition: capella.h:185
QString name
Definition: capella.h:206
Oct
Definition: capella.h:78
Definition: capella.h:547
unsigned waveLen
Definition: capella.h:362
CapClef(Capella *c)
Definition: capella.h:90
BarLineType _type
Definition: capella.h:137
Definition: capella.h:489
bool bShowBarCount
Definition: capella.h:649
unsigned char nTremoloBars
Definition: capella.h:574
Form
Definition: capella.h:69
QString intermediateAbbrev
Definition: capella.h:209
bool bUseRealSize
Definition: capella.h:645
Definition: capella.h:121
bool bRight
Definition: capella.h:396
int signature
Definition: capella.h:114
ClefLine line
Definition: capella.h:99
TrillObj(Capella *c)
Definition: capella.h:424
bool bSmall
Definition: capella.h:523
NoteObj(CapellaNoteObjectType t)
Definition: capella.h:65
QString abbrev
Definition: capella.h:207
QFont namesFont
Definition: capella.h:672
Definition: capella.h:357
Definition: capella.h:556
Definition: capella.h:275
QColor clrFill
Definition: capella.h:349
QList< BasicDrawObj * > objects
Definition: capella.h:281
QString error(Error n) const
Definition: capella.h:690
Definition: capella.h:108
bool notBlack
Definition: capella.h:524
bool leftAlign
Definition: capella.h:548
Definition: capella.h:621
bool curly
Definition: capella.h:623
Definition: capella.h:136
bool bJustified
Definition: capella.h:224
unsigned topPageMargins
Definition: capella.h:658
int to
Definition: capella.h:400
QString face
Definition: capella.h:614
int nUnnamed
Definition: capella.h:671
uchar barlineMode
Definition: capella.h:183
QList< CapBracket > brackets
Definition: capella.h:709
int interDist
Definition: capella.h:665
QString intermediateName
Definition: capella.h:208
WedgeObj(Capella *c)
Definition: capella.h:505
QString text
Definition: capella.h:553
int pageRange
Definition: capella.h:246
Definition: capella.h:342
Definition: aeolus.cpp:26
unsigned fullMeasures
Definition: capella.h:606
QPointF relPos
Definition: capella.h:412
SlurObj(Capella *c)
Definition: capella.h:443
Oct oct
Definition: capella.h:194
int width
Definition: capella.h:266
int topDistX
Definition: capella.h:172
unsigned char barNumberFrame
Definition: capella.h:650
QColor color
Definition: capella.h:525
signed char pitch
Definition: capella.h:557
int radius
Definition: capella.h:333
unsigned char beamRelMin1
Definition: capella.h:640
bool leftTie
Definition: capella.h:576
Definition: capella.h:260
int topDist
Definition: capella.h:186
Definition: capella.h:630
StemDir stemDir
Definition: capella.h:591
unsigned char beamRelMax0
Definition: capella.h:641
int y
Definition: capella.h:392
unsigned char stemDir
Definition: capella.h:157
int count
Definition: capella.h:528
QList< QFont > fonts
Definition: capella.h:662
int num
Definition: capella.h:551
int instrNotation
Definition: capella.h:226
QList< NoteObj * > objects
Definition: capella.h:158
int to
Definition: capella.h:622
Definition: capella.h:312
uchar barlineTo
Definition: capella.h:190
TextObj(Capella *c)
Definition: capella.h:457
Form form
Definition: capella.h:192
unsigned nFirstPage
Definition: capella.h:655
CapellaNoteObjectType
Definition: capella.h:38
unsigned char txtAlign
Definition: capella.h:666
QList< CapStaffLayout * > _staffLayouts
Definition: capella.h:663
uchar y0Lyrics
Definition: capella.h:154
int headType
Definition: capella.h:559
bool trillSign
Definition: capella.h:431
Definition: capella.h:518
int explAlteration
Definition: capella.h:558
bool redundantKeys
Definition: capella.h:668
int horizontalShift
Definition: capella.h:527
TransposableObj(Capella *c)
Definition: capella.h:290
QColor clrLine
Definition: capella.h:350
BasicDurationalObj(Capella *c)
Definition: capella.h:533
unsigned rightPageMargins
Definition: capella.h:659
int _barMode
Definition: capella.h:138
uchar dyLyrics
Definition: capella.h:155
TIMESTEP t
Definition: capella.h:526
bool bPrintLandscape
Definition: capella.h:647
CapExplicitBarline(Capella *c)
Definition: capella.h:141
TIMESTEP
Definition: capella.h:28
QColor color
Definition: capella.h:376
QList< CapStaff * > staves
Definition: capella.h:228
ClefLine
Definition: capella.h:74
unsigned char adjustVert
Definition: capella.h:667
char orientation
Definition: capella.h:495
int log2Denom
Definition: capella.h:124
Definition: capella.h:502
int curPos
Definition: capella.h:632
Definition: capella.h:153
unsigned char textalign() const
Definition: capella.h:482
CapellaType
Definition: capella.h:235
QPointF relPos
Definition: capella.h:293
Definition: capella.h:468
QPointF pos() const
Definition: capella.h:481
ClefType
Definition: clef.h:37
Definition: fraction.h:46
int height
Definition: capella.h:268
QColor color
Definition: capella.h:320
unsigned char explLeftIndent
Definition: capella.h:219
bool allNumbers
Definition: capella.h:398
int yxRatio
Definition: capella.h:267
Error
Definition: capella.h:683
int vertShift
Definition: capella.h:600
uchar numerator
Definition: capella.h:167
unsigned char modeY
Definition: capella.h:242
QList< CapSystem * > systems
Definition: capella.h:708
unsigned btmPageMargins
Definition: capella.h:660
bool bSystemSeparators
Definition: capella.h:670
Oct oct
Definition: capella.h:100
uchar barlineFrom
Definition: capella.h:189
unsigned char beamRelMin0
Definition: capella.h:639
int silent
Definition: capella.h:561
int nRefNote
Definition: capella.h:243
QPointF relPos
Definition: capella.h:470
char b
Definition: capella.h:294
signed char notationStave
Definition: capella.h:572
uchar noteLines
Definition: capella.h:184
QPointF pt2
Definition: capella.h:319
double smallLineDist
Definition: capella.h:714
Definition: capella.h:454
int alteration
Definition: capella.h:560
Definition: capella.h:438
const QList< CapStaffLayout * > & staffLayouts() const
Definition: capella.h:712
CapKey(Capella *c)
Definition: capella.h:111
QList< CNote > notes
Definition: capella.h:590
bool tripartite
Definition: capella.h:529
bool background
Definition: capella.h:245
CapStaffLayout * staffLayout(int idx)
Definition: capella.h:711
CapellaNoteObjectType _type
Definition: capella.h:62
bool bVerticalCentered
Definition: capella.h:599
bool allaBreve
Definition: capella.h:169
char * comment
Definition: capella.h:637
StemDir
Definition: capella.h:570
Definition: capella.h:422
unsigned char nBarDistX
Definition: capella.h:651
QString text() const
Definition: capella.h:479
BarLineType
Definition: mscore.h:199
bool bBarCountReset
Definition: capella.h:218
bool rightTie
Definition: capella.h:577
Form form
Definition: capella.h:87
int groupDist
Definition: capella.h:188
QFont font() const
Definition: capella.h:480
Definition: capella.h:383
CapMeter(Capella *c)
Definition: capella.h:127
unsigned char nBarDistY
Definition: capella.h:652
BasicRectObj(CapellaType t, Capella *c)
Definition: capella.h:262
bool decresc
Definition: capella.h:511
int btmDist
Definition: capella.h:187
PolygonObj(Capella *c)
Definition: capella.h:344
int y
Definition: capella.h:429
const char * name()
Definition: capella.h:93
VoltaObj(Capella *c)
Definition: capella.h:385
int volume
Definition: capella.h:203