MuseScore  3.4
Music composition and notation
capella.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Linux Music Score Editor
4 //
5 // Copyright (C) 2009-2013 Werner Schweer and others
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License version 2.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 //=============================================================================
19 
20 #ifndef __CAPELLA_H__
21 #define __CAPELLA_H__
22 
23 #include "globals.h"
24 #include "libmscore/xml.h"
25 
26 namespace Ms {
27 
28 enum class TIMESTEP : char { D1, D2, D4, D8, D16, D32, D64, D128, D256, D_BREVE };
29 
30 #if 0
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" };
33 #endif
34 
35 class Capella;
36 enum class ClefType : signed char;
37 
38 enum class CapellaNoteObjectType : char {
40  PAGE_BKGR
41  };
42 
43 enum class BeamMode : unsigned char { AUTO, FORCE, SPLIT };
44 
45 //---------------------------------------------------------
46 // CapellaObj
47 //---------------------------------------------------------
48 
49 class CapellaObj {
50  protected:
52 
53  public:
54  CapellaObj(Capella* c) { cap = c; }
55  };
56 
57 //---------------------------------------------------------
58 // NoteObj
59 //---------------------------------------------------------
60 
61 class NoteObj {
63 
64  public:
65  NoteObj(CapellaNoteObjectType t) { _type = t; }
66  CapellaNoteObjectType type() const { return _type; }
67  };
68 
69 enum class Form : char {
70  G, C, F, PERCUSSION,
72  };
73 
74 enum class ClefLine : char {
75  L5, L4, L3, L2, L1
76  };
77 
78 enum class Oct : char {
80  };
81 
82 //---------------------------------------------------------
83 // CapClef
84 //---------------------------------------------------------
85 
86 class CapClef : public NoteObj, public CapellaObj {
88 
89  public:
91  void read();
92  void readCapx(XmlReader& e);
93  const char* name() {
94  static const char* formName[] = { "G", "C", "F", "=", " ", "*" };
95  return formName[int(form)];
96  }
97  ClefType clef() const;
98 
101  static ClefType clefType(Form, ClefLine, Oct);
102  };
103 
104 //---------------------------------------------------------
105 // CapKey
106 //---------------------------------------------------------
107 
108 class CapKey : public NoteObj, public CapellaObj {
109 
110  public:
112  void read();
113  void readCapx(XmlReader& e);
114  int signature; // -7 - +7
115  };
116 
117 //---------------------------------------------------------
118 // CapMeter
119 //---------------------------------------------------------
120 
121 class CapMeter : public NoteObj, public CapellaObj {
122  public:
123  unsigned char numerator;
125  bool allaBreve;
126 
128  void read();
129  void readCapx(XmlReader& e);
130  };
131 
132 //---------------------------------------------------------
133 // CapExplicitBarline
134 //---------------------------------------------------------
135 
136 class CapExplicitBarline : public NoteObj, public CapellaObj {
138  int _barMode; // 0 = auto, 1 = nur Zeilen, 2 = durchgezogen
139 
140  public:
142  void read();
143  void readCapx(XmlReader& e);
144  BarLineType type() const { return _type; }
145  int barMode() const { return _barMode; }
146 
147  };
148 
149 //---------------------------------------------------------
150 // CapVoice
151 //---------------------------------------------------------
152 
153 struct CapVoice {
154  uchar y0Lyrics;
155  uchar dyLyrics;
156  QFont lyricsFont;
157  unsigned char stemDir;
158  QList<NoteObj*> objects;
159  int voiceNo;
160  };
161 
162 //---------------------------------------------------------
163 // CapStaff
164 //---------------------------------------------------------
165 
166 struct CapStaff {
167  uchar numerator; // default time signature
169  bool allaBreve;
170 
171  uchar iLayout;
172  int topDistX;
173  int btmDistX;
174  QColor color;
175  QList<CapVoice*> voices;
176  };
177 
178 //---------------------------------------------------------
179 // struct CapStaffLayout
180 //---------------------------------------------------------
181 
183  uchar barlineMode;
184  uchar noteLines;
185  bool bSmall;
186  int topDist;
187  int btmDist;
189  uchar barlineFrom;
190  uchar barlineTo;
191 
194  Oct oct; // clef
195 
196  // Schlagzeuginformation
197  bool bPercussion; // use drum channel
200  char soundMapIn[128]; // Tabelle für MIDI-Töne iMin...iMin+n-1
201  char soundMapOut[128]; // Tabelle für MIDI-Töne iMin...iMin+n-1
202 
203  int sound, volume, transp;
204 
205  QString descr;
206  QString name;
207  QString abbrev;
210  };
211 
212 //---------------------------------------------------------
213 // CapSystem
214 //---------------------------------------------------------
215 
216 struct CapSystem {
219  unsigned char explLeftIndent; // < 0 --> Einrückung gemäß Stimmenbezeichnungen
220  // >= --> explizite Einrückung
222  unsigned tempo;
223  QColor color; // fuer Systemklammern
224  bool bJustified; // Randausgleich (Blocksatz)
225  bool bPageBreak; // nach dem System neue Seite anfangen
226  int instrNotation; // 0 = keine Instrumentenbezeichnung
227  // 1 = abgekürzt, 2 = vollständig
228  QList<CapStaff*> staves;
229  };
230 
231 //---------------------------------------------------------
232 // BasicDrawObj
233 //---------------------------------------------------------
234 
238  };
239 
240 class BasicDrawObj : public CapellaObj {
241  public:
242  unsigned char modeX, modeY, distY, flags;
243  int nRefNote;
244  int nNotes;
248 
250  : CapellaObj(c), modeX(0), modeY(0), distY(0), flags(0),
251  nRefNote(0), nNotes(0), background(0), pageRange(0), type(t) {}
252  void read();
253  void readCapx(XmlReader& e);
254  };
255 
256 //---------------------------------------------------------
257 // BasicRectObj
258 //---------------------------------------------------------
259 
260 class BasicRectObj : public BasicDrawObj {
261  public:
263  void read();
264 
265  QPointF relPos;
266  int width;
267  int yxRatio;
268  int height;
269  };
270 
271 //---------------------------------------------------------
272 // GroupObj
273 //---------------------------------------------------------
274 
275 class GroupObj : public BasicDrawObj {
276  public:
278  void read();
279 
280  QPointF relPos;
281  QList<BasicDrawObj*> objects;
282  };
283 
284 //---------------------------------------------------------
285 // TransposableObj
286 //---------------------------------------------------------
287 
289  public:
291  void read();
292 
293  QPointF relPos;
294  char b;
295  QList<BasicDrawObj*> variants;
296  };
297 
298 //---------------------------------------------------------
299 // MetafileObj
300 //---------------------------------------------------------
301 
302 class MetafileObj : public BasicRectObj {
303  public:
305  void read();
306  };
307 
308 //---------------------------------------------------------
309 // LineObj
310 //---------------------------------------------------------
311 
312 class LineObj : public BasicDrawObj {
313 
314  public:
317  void read();
318 
319  QPointF pt1, pt2;
320  QColor color;
321  char lineWidth;
322  };
323 
324 //---------------------------------------------------------
325 // RectEllipseObj
326 //---------------------------------------------------------
327 
328 class RectEllipseObj : public LineObj { // special
329  public:
331  void read();
332 
333  int radius;
334  bool bFilled;
335  QColor clrFill;
336  };
337 
338 //---------------------------------------------------------
339 // PolygonObj
340 //---------------------------------------------------------
341 
342 class PolygonObj : public BasicDrawObj {
343  public:
345  void read();
346 
347  bool bFilled;
348  unsigned lineWidth;
349  QColor clrFill;
350  QColor clrLine;
351  };
352 
353 //---------------------------------------------------------
354 // WavyLineObj
355 //---------------------------------------------------------
356 
357 class WavyLineObj : public LineObj {
358  public:
360  void read();
361 
362  unsigned waveLen;
363  bool adapt;
364  };
365 
366 //---------------------------------------------------------
367 // NotelinesObj
368 //---------------------------------------------------------
369 
370 class NotelinesObj : public BasicDrawObj {
371  public:
373  void read();
374 
375  int x0, x1, y;
376  QColor color;
377  };
378 
379 //---------------------------------------------------------
380 // VoltaObj
381 //---------------------------------------------------------
382 
383 class VoltaObj : public BasicDrawObj {
384  public:
386  : BasicDrawObj(CapellaType::VOLTA, c), x0(0), x1(0), y(0),
387  bLeft(false), bRight(false), bDotted(false),
388  allNumbers(false), from(0), to(0) {}
389  void read();
390  void readCapx(XmlReader& e);
391 
392  int x0, x1, y;
393  QColor color;
394 
395  bool bLeft;
396  bool bRight;
397  bool bDotted;
399 
400  int from, to;
401  };
402 
403 //---------------------------------------------------------
404 // GuitarObj
405 //---------------------------------------------------------
406 
407 class GuitarObj : public BasicDrawObj {
408  public:
410  void read();
411 
412  QPointF relPos;
413  QColor color;
414  short flags;
415  int strings; // 8 Saiten in 8 Halbbytes
416  };
417 
418 //---------------------------------------------------------
419 // TrillObj
420 //---------------------------------------------------------
421 
422 class TrillObj : public BasicDrawObj {
423  public:
424  TrillObj(Capella* c) : BasicDrawObj(CapellaType::TRILL, c), x0(0),
425  x1(0), y(0), trillSign(true) {}
426  void read();
427  void readCapx(XmlReader& e);
428 
429  int x0, x1, y;
430  QColor color;
431  bool trillSign;
432  };
433 
434 //---------------------------------------------------------
435 // SlurObj
436 //---------------------------------------------------------
437 
438 class SlurObj : public BasicDrawObj {
439  QPointF bezierPoint[4]; // note default constructor inits to (0, 0)
440  QColor color; // note default constructor inits to invalid
441 
442  public:
444  : BasicDrawObj(CapellaType::SLUR, c), color(Qt::black), nEnd(0), nMid(0), nDotDist(0), nDotWidth(0) {}
445  void read();
446  void readCapx(XmlReader& e);
447  unsigned char nEnd, nMid, nDotDist, nDotWidth;
448  };
449 
450 //---------------------------------------------------------
451 // TextObj
452 //---------------------------------------------------------
453 
454 class TextObj : public BasicRectObj {
455 
456  public:
458  ~TextObj() {}
459  void read();
460 
461  QString text;
462  };
463 
464 //---------------------------------------------------------
465 // SimpleTextObj
466 //---------------------------------------------------------
467 
468 class SimpleTextObj : public BasicDrawObj {
469  QString _text;
470  QPointF relPos;
471  unsigned char align;
472  QFont _font;
473 
474  public:
476  : BasicDrawObj(CapellaType::SIMPLE_TEXT, c), relPos(0, 0), align(0) {}
477  void read();
478  void readCapx(XmlReader& e);
479  QString text() const { return _text; }
480  QFont font() const { return _font; }
481  QPointF pos() const { return relPos; }
482  unsigned char textalign() const { return align; }
483  };
484 
485 //---------------------------------------------------------
486 // BracketObj
487 //---------------------------------------------------------
488 
489 class BracketObj : public LineObj {
490 
491  public:
493  void read();
494 
495  char orientation, number;
496  };
497 
498 //---------------------------------------------------------
499 // WedgeObj
500 //---------------------------------------------------------
501 
502 class WedgeObj : public LineObj {
503 
504  public:
505  WedgeObj(Capella* c) : LineObj(CapellaType::WEDGE, c), height(32),
506  decresc(false) {}
507  void read();
508  void readCapx(XmlReader& e);
509 
510  int height;
511  bool decresc;
512  };
513 
514 //---------------------------------------------------------
515 // BasicDurationalObj
516 //---------------------------------------------------------
517 
519  public:
520  int nDots;
522  bool postGrace;
523  bool bSmall;
524  bool notBlack;
525  QColor color;
528  int count; // tuplet
531 
532  public:
534  void read();
535  void readCapx(XmlReader& e, unsigned int& fullm);
536  void readCapxDisplay(XmlReader& e);
537  void readCapxObjectArray(XmlReader& e);
538  Fraction ticks() const;
539  bool invisible;
540  QList<BasicDrawObj*> objects;
541  };
542 
543 //---------------------------------------------------------
544 // Verse
545 //---------------------------------------------------------
546 
547 struct Verse {
548  bool leftAlign;
549  bool extender;
550  bool hyphen;
551  int num;
552  QString verseNumber;
553  QString text;
554  };
555 
556 struct CNote {
557  signed char pitch;
558  int explAlteration; // 1 force, 2 suppress
559  int headType;
561  int silent;
562  };
563 
564 //---------------------------------------------------------
565 // ChordObj
566 //---------------------------------------------------------
567 
568 class ChordObj : public BasicDurationalObj, public NoteObj {
569  public:
570  enum class StemDir : signed char { DOWN = -1, AUTO = 0, UP = 1, NONE = 3 };
572  signed char notationStave;
574  unsigned char nTremoloBars;
575  unsigned articulation;
576  bool leftTie;
577  bool rightTie;
578  char beamShift;
579  char beamSlope;
580 
581  public:
582  ChordObj(Capella*);
583  void read();
584  void readCapx(XmlReader& e);
585  void readCapxLyrics(XmlReader& e);
586  void readCapxNotes(XmlReader& e);
587  void readCapxStem(XmlReader& e);
588  void readCapxArticulation(XmlReader& e);
589  QList<Verse> verse;
590  QList<CNote> notes;
592  };
593 
594 //---------------------------------------------------------
595 // RestObj
596 //---------------------------------------------------------
597 
598 class RestObj : public BasicDurationalObj, public NoteObj {
601 
602  public:
603  RestObj(Capella*);
604  void read();
605  void readCapx(XmlReader& e);
606  unsigned fullMeasures; // >0, multi measure rest (counting measures)
607  };
608 
609 //---------------------------------------------------------
610 // CapFont
611 //---------------------------------------------------------
612 
613 struct CapFont {
614  QString face;
615  };
616 
617 //---------------------------------------------------------
618 // CapBracket
619 //---------------------------------------------------------
620 
621 struct CapBracket {
622  int from, to;
623  bool curly;
624  };
625 
626 //---------------------------------------------------------
627 // Capella
628 //---------------------------------------------------------
629 
630 class Capella {
631  static const char* errmsg[];
632  int curPos;
633 
634  QFile* f;
635  char* author;
636  char* keywords;
637  char* comment;
638 
639  unsigned char beamRelMin0;
640  unsigned char beamRelMin1;
641  unsigned char beamRelMax0;
642  unsigned char beamRelMax1;
643  unsigned nRel; // presentation parameter
644  unsigned nAbs;
648 
649  bool bShowBarCount; // Taktnumerierung zeigen
650  unsigned char barNumberFrame; // 0=kein, 1=Rechteck, 2=Ellipse
651  unsigned char nBarDistX;
652  unsigned char nBarDistY;
653  // LogFont barNumFont;
654 
655  unsigned nFirstPage; // Versatz fuer Seitenzaehlung
656 
657  unsigned leftPageMargins; // Seitenraender
658  unsigned topPageMargins;
660  unsigned btmPageMargins;
661 
662  QList<QFont> fonts;
663  QList<CapStaffLayout*> _staffLayouts; // staff layout
664 
666  unsigned char txtAlign; // Stimmenbezeichnungen 0=links, 1=zentriert, 2=rechts
667  unsigned char adjustVert; // 0=nein, 1=außer letzte Seite, 3=alle Seiten
671  int nUnnamed;
672  QFont namesFont;
673 
674  void readVoice(CapStaff*, int);
675  void readStaff(CapSystem*);
676  void readSystem();
677 
678  protected:
679  void readStaveLayout(CapStaffLayout*, int);
680  void readLayout();
681 
682  public:
683  enum class Error : char { CAP_NO_ERROR, BAD_SIG, CAP_EOF, BAD_VOICE_SIG,
684  BAD_STAFF_SIG, BAD_SYSTEM_SIG
685  };
686 
687  Capella();
688  ~Capella();
689  void read(QFile*);
690  QString error(Error n) const { return QString(errmsg[int(n)]); }
691 
692  unsigned char readByte();
693  char readChar();
694  QColor readColor();
695  int readInt();
696  int readLong();
697  short readWord();
698  int readDWord();
699  unsigned readUnsigned();
700  char* readString();
701  QString readQString();
702  void readExtra();
703  QList<BasicDrawObj*> readDrawObjectArray();
704  bool read(void* p, qint64 len);
705  QFont readFont();
706  QPointF readPoint();
707 
708  QList<CapSystem*> systems;
709  QList<CapBracket> brackets;
711  CapStaffLayout* staffLayout(int idx) { return _staffLayouts[idx]; }
712  const QList<CapStaffLayout*>& staffLayouts() const { return _staffLayouts; }
713 
714  double smallLineDist; // spatium unit in metric mm
716  int topDist;
717 // capx support
718  private:
719  void readCapxVoice(XmlReader& e, CapStaff*, int);
720  void readCapxStaff(XmlReader& e, CapSystem*, int);
721  void readCapxSystem(XmlReader& e);
722  void capxSystems(XmlReader& e);
723  void readCapxStaveLayout(XmlReader& e, CapStaffLayout*, int);
724  void capxLayoutStaves(XmlReader& e);
725  void capxLayout(XmlReader& e);
726  void initCapxLayout();
727  public:
728  void readCapx(XmlReader& e);
729  QList<BasicDrawObj*> readCapxDrawObjectArray(XmlReader& e);
730  };
731 
732 
733 } // namespace Ms
734 #endif
735 
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
MetafileObj(Capella *c)
Definition: capella.h:304
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
Definition: xml.h:67
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
Definition: capella.h:61
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: capella.h:302
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
Definition: capella.h:49
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
Definition: capella.h:86
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
Definition: slurtie.h:40
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