24 #define DLL_EXPORT extern "C" __declspec(dllexport) 64 class MultiMeasureRest;
66 class OctaveShiftEndPoint;
76 class MidiProgramChange;
77 class MidiChannelPressure;
359 int c = int(pow(2.0,
int(type))) ;
360 return quarter * 4 * 2 / c ;
480 virtual void loadInfo(
const QString& info) = 0;
481 virtual void loadError() = 0;
482 virtual void loadPosition(
int currentMeasure,
int totalMeasure,
int currentTrack,
int totalTrack) = 0;
491 virtual void setNotify(
IOveNotify* notify) = 0;
492 virtual void setFileStream(
unsigned char* buffer,
unsigned int size) = 0;
493 virtual void setOve(
OveSong* ove) = 0;
496 virtual bool load() = 0;
498 virtual void release() = 0;
511 void setTick(
int tick);
512 int getTick(
void)
const;
524 void setMeasure(
int measure);
525 int getMeasure()
const;
527 void setOffset(
int offset);
528 int getOffset()
const;
584 virtual void setLine(
int line);
585 virtual int getLine(
void)
const;
597 virtual void setXOffset(
int offset);
598 virtual int getXOffset()
const;
600 virtual void setYOffset(
int offset);
601 virtual int getYOffset()
const;
614 void setLength(
int length);
615 int getLength()
const;
637 void setShow(
bool show);
638 bool getShow()
const;
641 void setColor(
unsigned int color);
642 unsigned int getColor()
const;
644 void setVoice(
unsigned int voice);
645 unsigned int getVoice()
const;
647 void copyCommonBlock(
const MusicData& source);
678 void setIsVersion4(
bool version4 =
true);
679 bool getIsVersion4()
const;
681 void setQuarter(
int tick);
682 int getQuarter(
void)
const;
684 void setShowPageMargin(
bool show);
685 bool getShowPageMargin()
const;
687 void setShowTransposeTrack(
bool show);
688 bool getShowTransposeTrack()
const;
690 void setShowLineBreak(
bool show);
691 bool getShowLineBreak()
const;
693 void setShowRuler(
bool show);
694 bool getShowRuler()
const;
696 void setShowColor(
bool show);
697 bool getShowColor()
const;
699 void setPlayRepeat(
bool play);
700 bool getPlayRepeat()
const;
703 Record,
Swing, Notation
708 void addTitle(
const QString& str);
709 QList<QString> getTitles(
void)
const;
711 void addAnnotate(
const QString& str);
712 QList<QString> getAnnotates(
void)
const;
714 void addWriter(
const QString& str);
715 QList<QString> getWriters(
void)
const;
717 void addCopyright(
const QString& str);
718 QList<QString> getCopyrights(
void)
const;
720 void addHeader(
const QString& str);
721 QList<QString> getHeaders(
void)
const;
723 void addFooter(
const QString& str);
724 QList<QString> getFooters(
void)
const;
726 void addTrack(
Track* ptr);
727 int getTrackCount(
void)
const;
728 QList<Track*> getTracks()
const;
729 Track* getTrack(
int part,
int staff)
const;
731 void setTrackBarCount(
int count);
732 int getTrackBarCount()
const;
734 bool addPage(
Page* page);
735 int getPageCount()
const;
736 Page* getPage(
int idx);
738 void addLine(
Line* ptr);
739 int getLineCount()
const;
740 Line* getLine(
int idx)
const;
743 int getMeasureCount(
void)
const;
744 Measure* getMeasure(
int bar)
const;
747 int getMeasureDataCount(
void)
const;
748 MeasureData* getMeasureData(
int part,
int staff,
int bar)
const;
749 MeasureData* getMeasureData(
int track,
int bar)
const;
752 void setPartStaffCounts(
const QList<int>& partStaffCounts);
753 int getPartCount()
const;
754 int getStaffCount(
int part)
const;
755 int getPartBarCount()
const;
759 QPair<int, int> trackToPartStaff(
int track)
const;
761 void setTextCodecName(
const QString& codecName);
762 QString getCodecString(
const QByteArray& text);
765 int partStaffToTrack(
int part,
int staff)
const;
803 void setChannel(
int channel);
804 int getChannel()
const;
806 void setVolume(
int volume);
807 int getVolume()
const;
809 void setPitchShift(
int pitchShift);
810 int getPitchShift()
const;
812 void setPan(
int pan);
815 void setPatch(
int patch);
816 int getPatch()
const;
818 void setStemType(
int stemType);
819 int getStemType()
const;
821 static int getDefaultPatch();
822 static int getDefaultVolume();
839 void setName(
const QString& str);
840 QString getName(
void)
const;
842 void setBriefName(
const QString& str);
843 QString getBriefName(
void)
const;
845 void setPatch(
unsigned int patch);
846 unsigned int getPatch()
const;
848 void setChannel(
int channel);
849 int getChannel()
const;
851 void setShowName(
bool show);
852 bool getShowName()
const;
854 void setShowBriefName(
bool show);
855 bool getShowBriefName()
const;
857 void setMute(
bool mute);
858 bool getMute()
const;
860 void setSolo(
bool solo);
861 bool getSolo()
const;
863 void setShowKeyEachLine(
bool show);
864 bool getShowKeyEachLine()
const;
866 void setVoiceCount(
int voices);
867 int getVoiceCount()
const;
869 void addVoice(
Voice* voice);
870 QList<Voice*> getVoices()
const;
872 void setShowTranspose(
bool show);
873 bool getShowTranspose()
const;
875 void setTranspose(
int transpose);
876 int getTranspose()
const;
878 void setNoteShift(
int shift);
879 int getNoteShift()
const;
881 void setStartClef(
int clef);
884 void setTransposeClef(
int clef);
887 void setStartKey(
int key);
888 int getStartKey()
const;
890 void setDisplayPercent(
unsigned int percent);
891 unsigned int getDisplayPercent()
const;
893 void setShowLegerLine(
bool show);
894 bool getShowLegerLine()
const;
896 void setShowClef(
bool show);
897 bool getShowClef()
const;
899 void setShowTimeSignature(
bool show);
900 bool getShowTimeSignature()
const;
902 void setShowKeySignature(
bool show);
903 bool getShowKeySignature()
const;
905 void setShowBarline(
bool show);
906 bool getShowBarline()
const;
908 void setFillWithRest(
bool fill);
909 bool getFillWithRest()
const;
911 void setFlatTail(
bool flat);
912 bool getFlatTail()
const;
914 void setShowClefEachLine(
bool show);
915 bool getShowClefEachLine()
const;
924 DrumNode():line_(0), headType_(0), pitch_(0), voice_(0){}
927 QList<DrumNode> getDrumKit()
const;
932 void setPart(
int part);
979 void setBeginLine(
int line);
980 int getBeginLine()
const;
982 void setLineCount(
int count);
983 int getLineCount()
const;
985 void setLineInterval(
int interval);
986 int getLineInterval()
const;
988 void setStaffInterval(
int interval);
989 int getStaffInterval()
const;
991 void setStaffInlineInterval(
int interval);
992 int getStaffInlineInterval()
const;
994 void setLineBarCount(
int count);
995 int getLineBarCount()
const;
997 void setPageLineCount(
int count);
998 int getPageLineCount()
const;
1000 void setLeftMargin(
int margin);
1001 int getLeftMargin()
const;
1003 void setTopMargin(
int margin);
1004 int getTopMargin()
const;
1006 void setRightMargin(
int margin);
1007 int getRightMargin()
const;
1009 void setBottomMargin(
int margin);
1010 int getBottomMargin()
const;
1012 void setPageWidth(
int width);
1013 int getPageWidth()
const;
1015 void setPageHeight(
int height);
1016 int getPageHeight()
const;
1044 void addStaff(
Staff* staff);
1045 int getStaffCount()
const;
1048 void setBeginBar(
unsigned int bar);
1049 unsigned int getBeginBar()
const;
1051 void setBarCount(
unsigned int count);
1052 unsigned int getBarCount()
const;
1054 void setYOffset(
int offset);
1055 int getYOffset()
const;
1057 void setLeftXOffset(
int offset);
1058 int getLeftXOffset()
const;
1060 void setRightXOffset(
int offset);
1061 int getRightXOffset()
const;
1078 void setClefType(
int clef);
1081 void setKeyType(
int key);
1082 int getKeyType()
const;
1084 void setVisible(
bool visible);
1085 bool setVisible()
const;
1090 void setGroupStaffCount(
int count);
1091 int getGroupStaffCount()
const;
1109 void setIsRest(
bool rest);
1110 bool getIsRest()
const;
1112 void setNote(
unsigned int note);
1113 unsigned int getNote()
const;
1115 void setAccidental(
int type);
1118 void setShowAccidental(
bool show);
1119 bool getShowAccidental()
const;
1121 void setOnVelocity(
unsigned int velocity);
1122 unsigned int getOnVelocity()
const;
1124 void setOffVelocity(
unsigned int velocity);
1125 unsigned int getOffVelocity()
const;
1127 void setHeadType(
int type);
1130 void setTiePos(
int tiePos);
1131 TiePos getTiePos()
const;
1133 void setOffsetStaff(
int offset);
1134 int getOffsetStaff()
const;
1136 void setShow(
bool show);
1137 bool getShow()
const;
1139 void setOffsetTick(
int offset);
1140 int getOffsetTick()
const;
1162 void setArtType(
int type);
1165 void setPlacementAbove(
bool above);
1166 bool getPlacementAbove()
const;
1169 bool willAffectNotes()
const;
1187 bool getChangeSoundEffect()
const;
1188 void setSoundEffect(
int soundFrom,
int soundTo);
1189 QPair<int, int> getSoundEffect()
const;
1191 bool getChangeLength()
const;
1192 void setLengthPercentage(
int percentage);
1193 int getLengthPercentage()
const;
1195 bool getChangeVelocity()
const;
1204 void setVelocityValue(
int value);
1205 int getVelocityValue()
const;
1207 bool getChangeExtraLength()
const;
1208 void setExtraLength(
int length);
1209 int getExtraLength()
const;
1217 void setTrillInterval(
int interval);
1220 void setAuxiliaryFirst(
bool first);
1221 bool getAuxiliaryFirst()
const;
1226 void setTrillNoteLength(
int length);
1227 int getTrillNoteLength()
const;
1235 void setAccelerateType(
int type);
1266 void setIsGrace(
bool grace);
1267 bool getIsGrace()
const;
1269 void setIsCue(
bool cue);
1270 bool getIsCue()
const;
1272 void setIsRest(
bool rest);
1273 bool getIsRest()
const;
1275 void setIsRaw(
bool raw);
1276 bool getIsRaw()
const;
1281 void setDot(
int dot);
1284 void setGraceNoteType(
NoteType type);
1287 void setInBeam(
bool in);
1288 bool getInBeam()
const;
1290 void setStemUp(
bool up);
1291 bool getStemUp(
void)
const;
1293 void setShowStem(
bool show);
1294 bool getShowStem()
const;
1296 void setStemLength(
int line);
1297 int getStemLength()
const;
1299 void setTuplet(
int tuplet);
1302 void setSpace(
int space);
1303 int getSpace()
const;
1305 void addNoteRest(
Note* note);
1306 QList<Note*> getNotesRests()
const;
1309 QList<Articulation*> getArticulations()
const;
1311 void setNoteShift(
int octave);
1312 int getNoteShift()
const;
1314 int getOffsetStaff()
const;
1316 int getDuration()
const;
1344 void setIsGrace(
bool grace);
1345 bool getIsGrace()
const;
1348 const QList<QPair<MeasurePos, MeasurePos> > getLines()
const;
1352 QList<QPair<MeasurePos, MeasurePos> >
lines_;
1361 void setShowOnTop(
bool top);
1362 bool getShowOnTop()
const;
1364 void setNote(
int note);
1365 int getNote()
const;
1367 void setHeight(
int height);
1368 int getHeight()
const;
1382 void setStraightWavy(
bool straight);
1383 bool getStraightWavy()
const;
1385 void setText(
const QString& text);
1386 QString getText()
const;
1388 void setLineThick(
int thick);
1389 int getLineThick()
const;
1407 void setDecoratorType(
Type type);
1424 void setSingleRepeat(
bool single);
1425 bool getSingleRepeat()
const;
1437 void setTuplet(
int tuplet=3);
1440 void setSpace(
int space=2);
1441 int getSpace()
const;
1443 void setHeight(
int height);
1444 int getHeight()
const;
1465 void setHarmonyType(QString type);
1466 QString getHarmonyType()
const;
1468 void setRoot(
int root=0);
1469 int getRoot()
const;
1471 void setBass(
int bass);
1472 int getBass()
const;
1474 void setAlterRoot(
int val);
1475 int getAlterRoot()
const;
1477 void setAlterBass(
int val);
1478 int getAlterBass()
const;
1480 void setBassOnBottom(
bool on);
1481 bool getBassOnBottom()
const;
1483 void setAngle(
int angle);
1484 int getAngle()
const;
1502 void setClefType(
int type);
1515 void setLyric(
const QString& lyricText);
1516 QString getLyric()
const;
1518 void setVerse(
int verse);
1519 int getVerse()
const;
1532 void setContainerCount(
int count);
1533 int getContainerCount()
const;
1535 void setShowOnTop(
bool top);
1536 bool getShowOnTop()
const;
1541 void setNoteTimePercent(
int percent);
1542 int getNoteTimePercent()
const;
1558 void setDynamicsType(
int type);
1561 void setIsPlayback(
bool play);
1562 bool getIsPlayback()
const;
1564 void setVelocity(
int vel);
1565 int getVelocity()
const;
1582 void setHeight(
int height);
1583 int getHeight()
const;
1585 void setWedgeStart(
bool wedgeStart);
1586 bool getWedgeStart()
const;
1603 void setHeight(
int height);
1604 int getHeight()
const;
1617 void setHalf(
bool half);
1618 bool getHalf()
const;
1620 void setIsPlayback(
bool playback);
1621 bool getIsPlayback()
const;
1623 void setPlayOffset(
int offset);
1624 int getPlayOffset()
const;
1641 void setHeight(
int height);
1642 int getHeight()
const;
1644 void setKuohaoType(
int type);
1658 void setText(
const QString& str);
1659 QString getText()
const;
1671 void setShowType(
int type);
1672 int getShowType()
const;
1674 void setShowCharFlag(
int flag);
1675 int getShowCharFlag()
const;
1694 int getNoteShift()
const;
1696 void setEndTick(
int tick);
1697 int getEndTick()
const;
1717 void setEndTick(
int tick);
1718 int getEndTick()
const;
1732 void setMeasureCount(
int count);
1733 int getMeasureCount()
const;
1745 void setLeftNoteType(
int type);
1748 void setShowMark(
bool show);
1749 bool getShowMark()
const;
1751 void setShowBeforeText(
bool show);
1752 bool getShowBeforeText()
const;
1754 void setShowParenthesis(
bool show);
1755 bool getShowParenthesis()
const;
1757 void setTypeTempo(
double tempo);
1758 double getTypeTempo()
const;
1759 double getQuarterTempo()
const;
1761 void setLeftText(
const QString& str);
1762 QString getLeftText()
const;
1764 void setRightText(
const QString& str);
1765 QString getRightText()
const;
1767 void setSwingEighth(
bool swing);
1768 bool getSwingEighth()
const;
1770 void setRightNoteType(
int type);
1773 void setLeftNoteDot(
bool showDot);
1774 bool getLeftNoteDot()
const;
1776 void setRightNoteDot(
bool showDot);
1777 bool getRightNoteDot()
const;
1779 void setRightSideType(
int type);
1780 int getRightSideType()
const;
1809 void setTextType(
Type type);
1810 Type getTextType()
const;
1812 void setHorizontalMargin(
int margin);
1813 int getHorizontalMargin()
const;
1815 void setVerticalMargin(
int margin);
1816 int getVerticalMargin()
const;
1818 void setLineThick(
int thick);
1819 int getLineThick()
const;
1821 void setText(
const QString& text);
1822 QString getText()
const;
1824 void setWidth(
int width);
1825 int getWidth()
const;
1827 void setHeight(
int height);
1828 int getHeight()
const;
1848 void setNumerator(
int numerator);
1849 int getNumerator()
const;
1851 void setDenominator(
int denominator);
1852 int getDenominator()
const;
1854 void setIsSymbol(
bool symbol);
1855 bool getIsSymbol()
const;
1857 void setBeatLength(
int length);
1858 int getBeatLength()
const;
1860 void setBarLength(
int length);
1861 int getBarLength()
const;
1863 void addBeat(
int startUnit,
int lengthUnit,
int startTick);
1865 int getUnits()
const;
1867 void setReplaceFont(
bool replace);
1868 bool getReplaceFont()
const;
1870 void setShowBeatGroup(
bool show);
1871 bool getShowBeatGroup()
const;
1873 void setGroupNumerator1(
int numerator);
1874 void setGroupNumerator2(
int numerator);
1875 void setGroupNumerator3(
int numerator);
1876 void setGroupDenominator1(
int denominator);
1877 void setGroupDenominator2(
int denominator);
1878 void setGroupDenominator3(
int denominator);
1880 void setBeamGroup1(
int count);
1881 void setBeamGroup2(
int count);
1882 void setBeamGroup3(
int count);
1883 void setBeamGroup4(
int count);
1885 void set16thBeamCount(
int count);
1886 void set32thBeamCount(
int count);
1934 void setKey(
int key);
1936 bool getSetKey()
const;
1938 void setPreviousKey(
int key);
1939 int getPreviousKey()
const;
1941 void setSymbolCount(
int count);
1942 int getSymbolCount()
const;
1957 void setText(
const QString& text);
1958 QString getText()
const;
1960 void setRepeatType(
int repeatType);
1976 void setHeight(
int height);
1977 int getHeight()
const;
1979 void setText(
const QString& text);
1980 QString getText()
const;
1981 QList<int> getNumbers()
const;
1982 int getJumpCount()
const;
1996 void setIndex(
int index);
1997 int getIndex()
const;
1999 void setShowOnParagraphStart(
bool show);
2000 bool getShowOnParagraphStart()
const;
2002 void setAlign(
int align);
2003 int getAlign()
const;
2005 void setShowFlag(
int flag);
2006 int getShowFlag()
const;
2008 void setShowEveryBarCount(
int count);
2009 int getShowEveryBarCount()
const;
2011 void setPrefix(
const QString& str);
2012 QString getPrefix()
const;
2031 void setController(
int number);
2032 int getController()
const;
2034 void setValue(
int value);
2035 int getValue()
const;
2048 void setPatch(
int patch);
2049 int getPatch()
const;
2061 void setPressure(
int pressure);
2062 int getPressure()
const;
2074 void setValue(
int value);
2075 int getValue()
const;
2094 void setLeftBarline(
int barline);
2097 void setRightBarline(
int barline);
2101 void setBackwardRepeatCount(
int repeatCount);
2102 int getBackwardRepeatCount()
const;
2104 void setTypeTempo(
double tempo);
2105 double getTypeTempo()
const;
2107 void setIsPickup(
bool pickup);
2108 bool getIsPickup()
const;
2110 void setIsMultiMeasureRest(
bool rest);
2111 bool getIsMultiMeasureRest()
const;
2113 void setMultiMeasureRestCount(
int count);
2114 int getMultiMeasureRestCount()
const;
2137 Clef* getClef()
const;
2138 Key* getKey()
const;
2141 QList<NoteContainer*> getNoteContainers()
const;
2149 void addCrossMeasureElement(
MusicData* ptr,
bool start);
2159 QList<MidiData*> getMidiDatas(
MidiType type);
2180 virtual bool read(
char* buff,
int size);
2181 virtual bool write(
char* buff,
int size);
2194 explicit Block(
unsigned int size);
2200 virtual void resize(
unsigned int count);
2202 const unsigned char* data()
const;
2203 unsigned char* data();
2206 bool operator ==(
const Block& block)
const;
2207 bool operator !=(
const Block& block)
const;
2209 bool toBoolean()
const;
2210 unsigned int toUnsignedInt()
const;
2212 QByteArray toStrByteArray()
const;
2213 QByteArray fixedSizeBufferToStrByteArray()
const;
2216 void doResize(
unsigned int count);
2234 virtual void resize(
unsigned int count);
2248 unsigned int toSize()
const;
2260 bool isEqual(
const QString& name)
const;
2273 unsigned short toCount()
const;
2307 Block* getDataBlock()
const;
2340 virtual bool parse();
2343 bool readBuffer(
Block& placeHolder,
int size);
2344 bool jump(
int offset);
2346 void messageOut(
const QString& str);
2364 virtual bool parse();
2378 virtual bool parse();
2390 void addSizeChunk(
SizeChunk* sizeChunk);
2392 virtual bool parse();
2406 virtual bool parse();
2421 unsigned int getStaffCount(
SizeChunk* chunk);
2434 virtual bool parse();
2456 virtual bool parse();
2463 bool getCondElementType(
unsigned int byteData,
CondType& type);
2464 bool getBdatElementType(
unsigned int byteData,
BdatType& type);
2467 bool parseTimeSignature(
Measure* measure,
int length);
2468 bool parseTimeSignatureParameters(
Measure* measure,
int length);
2469 bool parseRepeatSymbol(
MeasureData* measureData,
int length);
2470 bool parseNumericEndings(
MeasureData* measureData,
int length);
2471 bool parseTempo(
MeasureData* measureData,
int length);
2472 bool parseBarNumber(
Measure* measure,
int length);
2473 bool parseText(
MeasureData* measureData,
int length);
2474 bool parseBarlineParameters(
Measure* measure,
int length);
2478 bool parseBeam(
MeasureData* measureData,
int length);
2479 bool parseTie(
MeasureData* measureData,
int length);
2480 bool parseTuplet(
MeasureData* measureData,
int length);
2481 bool parseHarmony(
MeasureData* measureData,
int length);
2482 bool parseClef(
MeasureData* measureData,
int length);
2483 bool parseLyric(
MeasureData* measureData,
int length);
2484 bool parseSlur(
MeasureData* measureData,
int length);
2485 bool parseGlissando(
MeasureData* measureData,
int length);
2486 bool parseDecorators(
MeasureData* measureData,
int length);
2487 bool parseDynamics(
MeasureData* measureData,
int length);
2488 bool parseWedge(
MeasureData* measureData,
int length);
2489 bool parseKey(
MeasureData* measureData,
int length);
2490 bool parsePedal(
MeasureData* measureData,
int length);
2491 bool parseKuohao(
MeasureData* measureData,
int length);
2492 bool parseExpressions(
MeasureData* measureData,
int length);
2493 bool parseHarpPedal(
MeasureData* measureData,
int length);
2494 bool parseMultiMeasureRest(
MeasureData* measureData,
int length);
2495 bool parseHarmonyGuitarFrame(
MeasureData* measureData,
int length);
2496 bool parseOctaveShift(
MeasureData* measureData,
int length);
2497 bool parseMidiController(
MeasureData* measureData,
int length);
2498 bool parseMidiProgramChange(
MeasureData* measureData,
int length);
2499 bool parseMidiChannelPressure(
MeasureData* measureData,
int length);
2500 bool parseMidiPitchWheel(
MeasureData* measureData,
int length);
2502 bool parseSizeBlock(
int length);
2503 bool parseMidiCommon(
MidiData* ptr);
2505 bool parseOffsetCommonBlock(
MusicData* ptr);
2506 bool parsePairLinesBlock(
PairEnds* ptr);
2523 virtual bool parse();
2540 track_(0), measure_(0), verse_(0), voice_(0), wordCount_(0),
2541 lyricSize_(0), name_(QString()), lyric_(QString()),
2542 font_(0), fontSize_(12), fontStyle_(0) {}
2545 void processLyricInfo(
const LyricInfo& info);
2559 virtual bool parse();
2562 void addToOve(
const QString& str,
unsigned int titleType);
2585 void organizeAttributes() ;
2586 void organizeTracks() ;
2587 void organizeMeasures() ;
2588 void organizeMeasure(
int part,
int track,
Measure* measure,
MeasureData* measureData) ;
2590 void organizeContainers(
int part,
int track,
Measure* measure,
MeasureData* measureData) ;
2591 void organizeMusicDatas(
int part,
int track,
Measure* measure,
MeasureData* measureData) ;
2592 void organizeCrossMeasureElements(
int part,
int track,
Measure* measure,
MeasureData* measureData) ;
2616 virtual void setOve(
OveSong* ove);
2617 virtual void setFileStream(
unsigned char* buffer,
unsigned int size);
2619 virtual bool load(
void);
2621 virtual void release();
2624 bool readNameBlock(
NameBlock& nameBlock);
2625 bool readChunkName(
Chunk* chunk,
const QString& name);
2626 bool readSizeChunk(
SizeChunk* sizeChunk);
2627 bool readDataChunk(
Block* block,
unsigned int size);
2631 bool readHeadData(
SizeChunk* ovscChunk);
2632 bool readTracksData();
2633 bool readPagesData();
2634 bool readLinesData();
2635 bool readBarsData();
2638 void messageOutError();
2639 void messageOut(
const QString& str);
bool showName_
Definition: ove.h:951
bool showOnTop_
Definition: ove.h:1546
int topMargin_
Definition: ove.h:1030
NoteDuration
Definition: ove.h:432
unsigned int barCount_
Definition: ove.h:1066
RepeatType repeatType_
Definition: ove.h:1965
int barLength_
Definition: ove.h:1893
~Page()
Definition: ove.h:976
LineElement * leftLine_
Definition: ove.h:572
virtual ~OctaveShift()
Definition: ove.h:1685
bool leftNoteDot_
Definition: ove.h:1792
QPair< int, int > soundEffect_
Definition: ove.h:1243
int lineThick_
Definition: ove.h:1394
int patch_
Definition: ove.h:829
static const QString BdatName
Definition: ove.h:2291
virtual ~Text()
Definition: ove.h:1800
QList< Note * > notes_
Definition: ove.h:1334
int groupNumerator3_
Definition: ove.h:1914
QList< SizeChunk * > bdatChunks_
Definition: ove.h:2512
virtual ~NameBlock()
Definition: ove.h:2255
int space_
Definition: ove.h:1327
int leftNoteType_
Definition: ove.h:1783
virtual ~Tie()
Definition: ove.h:1358
int trackBarCount_
Definition: ove.h:791
OctaveShiftType octaveShiftType_
Definition: ove.h:1700
Swing
Definition: importmidi_operation.h:32
int key_
Definition: ove.h:1095
virtual ~Clef()
Definition: ove.h:1499
Key * key_
Definition: ove.h:2162
bool show_
Definition: ove.h:1152
StreamHandle * handle_
Definition: ove.h:2350
int measureCount_
Definition: ove.h:1736
virtual ~Note()
Definition: ove.h:1106
virtual ~TimeSignature()
Definition: ove.h:1845
int fontSize_
Definition: ove.h:2536
bool showTransposeTrack
Definition: ove.h:772
int width_
Definition: ove.h:1836
int size_
Definition: ove.h:2184
int noteTimePercent_
Definition: ove.h:1547
int root_
Definition: ove.h:1488
QString prefix_
Definition: ove.h:2020
QList< MusicData * > musicDatas_
Definition: ove.h:2164
int showCharFlag_
Definition: ove.h:1679
bool changeVelocity_
Definition: ove.h:1246
unsigned int displayPercent_
Definition: ove.h:946
ArticulationType artType_
Definition: ove.h:1415
int offset_
Definition: ove.h:542
int rightSideType_
Definition: ove.h:1794
int lengthUnit_
Definition: ove.h:1897
virtual ~Articulation()
Definition: ove.h:1159
Type
Definition: ove.h:1803
virtual ~MidiProgramChange()
Definition: ove.h:2045
bool show_
Definition: ove.h:653
bool straight_
Definition: ove.h:1392
int symbolCount_
Definition: ove.h:1948
int pageLineCount_
Definition: ove.h:1027
int alterRoot_
Definition: ove.h:1490
QList< QString > annotates_
Definition: ove.h:780
int barLengthUnits_
Definition: ove.h:1907
bool pickup_
Definition: ove.h:2126
bool above_
Definition: ove.h:1240
int beamGroup1_
Definition: ove.h:1919
int controller_
Definition: ove.h:2038
unsigned int titleType_
Definition: ove.h:2565
NoteType graceNoteType_
Definition: ove.h:1325
WedgeType
Definition: ove.h:382
bool singleRepeat_
Definition: ove.h:1428
virtual ~SizeBlock()
Definition: ove.h:2242
int line_
Definition: ove.h:588
OctaveShiftType
Definition: ove.h:396
int voiceCount_
Definition: ove.h:948
PlayStyle playStyle_
Definition: ove.h:777
bool rightNoteDot_
Definition: ove.h:1793
QString harmonyType_
Definition: ove.h:1487
Type
Definition: ove.h:1403
bool grace_
Definition: ove.h:1319
int noteShift_
Definition: ove.h:943
static const unsigned int version3TrackSize
Definition: ove.h:2309
bool showClefEachLine_
Definition: ove.h:959
bool visible_
Definition: ove.h:1096
int xOffset_
Definition: ove.h:604
static const QString LineName
Definition: ove.h:2287
IOveNotify * notify_
Definition: ove.h:2644
bool showText_
Definition: ove.h:1785
#define DLL_EXPORT
Definition: ove.h:26
int value_
Definition: ove.h:2078
int height_
Definition: ove.h:1648
OctaveShiftPosition octaveShiftPosition_
Definition: ove.h:1701
int lineInterval_
Definition: ove.h:1022
NoteType trillRate_
Definition: ove.h:1255
virtual ~MeasurePos()
Definition: ove.h:521
int value_
Definition: ove.h:2039
int height_
Definition: ove.h:1607
const int INVALID_NOTE
Definition: ove.h:81
virtual ~OffsetElement()
Definition: ove.h:594
int pitch_
Definition: ove.h:920
CountBlock * childCount_
Definition: ove.h:2326
int groupNumerator2_
Definition: ove.h:1913
BeatNode()
Definition: ove.h:1900
bool showColor_
Definition: ove.h:775
int angle_
Definition: ove.h:1493
int containerCount_
Definition: ove.h:1545
virtual ~TickElement()
Definition: ove.h:508
unsigned int headerType_
Definition: ove.h:2569
NoteType noteType_
Definition: ove.h:1323
int startTick_
Definition: ove.h:1898
int bass_
Definition: ove.h:1489
int leftMargin_
Definition: ove.h:1029
bool playback_
Definition: ove.h:1630
int stemLength_
Definition: ove.h:1331
XmlDataType
Definition: ove.h:630
int lineBarCount_
Definition: ove.h:1026
Type textType_
Definition: ove.h:1831
virtual ~Wedge()
Definition: ove.h:1597
int groupNumerator1_
Definition: ove.h:1912
virtual ~IOVEStreamLoader()
Definition: ove.h:488
OveSong * ove_
Definition: ove.h:2599
bool showRuler_
Definition: ove.h:774
virtual ~Tempo()
Definition: ove.h:1742
static const QString MeasureName
Definition: ove.h:2289
bool showBriefName_
Definition: ove.h:952
bool isSymbol_
Definition: ove.h:1891
ArticulationType
Definition: ove.h:260
bool showLegerLine_
Definition: ove.h:954
DynamicsType dynamicsType_
Definition: ove.h:1568
int curPos_
Definition: ove.h:2185
bool set_
Definition: ove.h:1946
~Voice()
Definition: ove.h:800
int offsetTick_
Definition: ove.h:1153
virtual ~FixedBlock()
Definition: ove.h:2226
unsigned int voice_
Definition: ove.h:655
QList< DrumNode > drumKit_
Definition: ove.h:967
bool half_
Definition: ove.h:1629
int numerator_
Definition: ove.h:1889
int startUnit_
Definition: ove.h:1896
int tuplet_
Definition: ove.h:1326
int lineCount_
Definition: ove.h:1020
bool changeLength_
Definition: ove.h:1244
NoteType
Definition: ove.h:343
int pitchShift_
Definition: ove.h:827
int extraLength_
Definition: ove.h:1250
KuoHaoType
Definition: ove.h:390
ClefType transposeClef_
Definition: ove.h:945
int track_
Definition: ove.h:2527
bool stemUp_
Definition: ove.h:1329
const OVE::Tuplet * getTuplet(const QList< OVE::MusicData *> &tuplets, int unit)
Definition: importove.cpp:938
int staffInterval_
Definition: ove.h:1023
unsigned int color_
Definition: ove.h:654
SizeChunk * chunk_
Definition: ove.h:2381
QList< QPair< MeasurePos, MeasurePos > > lines_
Definition: ove.h:1352
int index_
Definition: ove.h:2015
AccelerateType accelerateType_
Definition: ove.h:1257
int verse_
Definition: ove.h:2529
OveSong * ove_
Definition: ove.h:2642
int height_
Definition: ove.h:1589
QList< BeatNode > beats_
Definition: ove.h:1906
TrillInterval
Definition: ove.h:1212
DynamicsType
Definition: ove.h:363
int horiMargin_
Definition: ove.h:1832
bool version4_
Definition: ove.h:768
int staffInlineInterval_
Definition: ove.h:1024
TrillInterval trillInterval_
Definition: ove.h:1253
int velocity_
Definition: ove.h:1570
GroupType groupType_
Definition: ove.h:1097
virtual ~Beam()
Definition: ove.h:1341
SizeChunk * chunk_
Definition: ove.h:2548
int rightXOffset_
Definition: ove.h:1069
bool replaceFont_
Definition: ove.h:1909
int alterBass_
Definition: ove.h:1491
QList< Measure * > measures_
Definition: ove.h:789
CondType
Definition: ove.h:84
WedgeType wedgeType_
Definition: ove.h:1608
int space_
Definition: ove.h:1453
unsigned int copyrightType_
Definition: ove.h:2568
int patch_
Definition: ove.h:2052
QList< MeasureData * > measureDatas_
Definition: ove.h:790
int multiMeasureRestCount_
Definition: ove.h:2128
bool showKeySignature_
Definition: ove.h:957
unsigned int beginBar_
Definition: ove.h:1065
LyricInfo()
Definition: ove.h:2539
QString lyric_
Definition: ove.h:2534
unsigned int offVelocity_
Definition: ove.h:1148
TimeSignature * time_
Definition: ove.h:2120
bool showMark_
Definition: ove.h:1784
int fontStyle_
Definition: ove.h:2537
BdatType
Definition: ove.h:97
QString lyric_
Definition: ove.h:1522
int part_
Definition: ove.h:970
QString briefName_
Definition: ove.h:938
virtual ~Dynamics()
Definition: ove.h:1555
const int OCTAVE
Definition: ove.h:82
bool grace_
Definition: ove.h:1351
MidiType
Definition: ove.h:184
int volume_
Definition: ove.h:826
OVE::ClefType getClefType(OVE::MeasureData *measure, int tick)
Definition: importove.cpp:1115
int verse_
Definition: ove.h:1523
int measure_
Definition: ove.h:2528
bool getDecoratorType(unsigned int thisByte, bool &measureRepeat, Decorator::Type &decoratorType, bool &singleRepeat, ArticulationType &artType)
Definition: ove.cpp:6113
int previousKey_
Definition: ove.h:1947
virtual ~Key()
Definition: ove.h:1931
virtual ~RepeatSymbol()
Definition: ove.h:1954
virtual ~MultiMeasureRest()
Definition: ove.h:1729
int repeatCount_
Definition: ove.h:2124
QList< QString > copyrights_
Definition: ove.h:782
IOVEStreamLoader()
Definition: ove.h:487
bool playRepeat_
Definition: ove.h:776
QList< Staff * > staffs_
Definition: ove.h:1064
OffsetElement * handle_2_
Definition: ove.h:1548
AccidentalType accidental_
Definition: ove.h:1145
int voice_
Definition: ove.h:921
virtual ~IOveNotify()
Definition: ove.h:477
OctaveShiftPosition
Definition: ove.h:403
bool inBeam_
Definition: ove.h:1328
int velocityValue_
Definition: ove.h:1248
bool flatTail_
Definition: ove.h:962
int measure_
Definition: ove.h:541
double typeTempo_
Definition: ove.h:2125
QString text_
Definition: ove.h:1662
int tuplet_
Definition: ove.h:1452
static const QString TrackName
Definition: ove.h:2285
OctaveShiftType octaveShiftType_
Definition: ove.h:1721
bool multiMeasureRest_
Definition: ove.h:2127
virtual ~Expressions()
Definition: ove.h:1655
virtual ~HarpPedal()
Definition: ove.h:1668
VelocityType velocityType_
Definition: ove.h:1247
int pressure_
Definition: ove.h:2065
bool swingEighth_
Definition: ove.h:1790
bool raw_
Definition: ove.h:1322
unsigned int patch_
Definition: ove.h:939
int tick_
Definition: ove.h:515
QString text_
Definition: ove.h:1393
QString text_
Definition: ove.h:1986
virtual ~Chunk()
Definition: ove.h:2281
OffsetElement * leftShoulder_
Definition: ove.h:574
int startKey_
Definition: ove.h:947
virtual ~MidiController()
Definition: ove.h:2028
StreamHandle * streamHandle_
Definition: ove.h:2643
bool mute_
Definition: ove.h:964
QList< SizeChunk * > sizeChunks_
Definition: ove.h:2395
virtual ~Decorator()
Definition: ove.h:1400
MeasurePos * start_
Definition: ove.h:555
OctaveShiftPosition octaveShiftPosition_
Definition: ove.h:1722
bool showTimeSignature_
Definition: ove.h:956
bool showParenthesis_
Definition: ove.h:1786
virtual ~Lyric()
Definition: ove.h:1512
int headType_
Definition: ove.h:919
virtual ~MusicData()
Definition: ove.h:625
BarLineType
Definition: ove.h:422
bool auxiliaryFirst_
Definition: ove.h:1254
virtual ~CountBlock()
Definition: ove.h:2267
unsigned int footerType_
Definition: ove.h:2570
OffsetElement * mark_
Definition: ove.h:1456
QList< SizeChunk * > staffChunks_
Definition: ove.h:2443
virtual ~MeasureRepeat()
Definition: ove.h:1421
BarLineType rightBarline_
Definition: ove.h:2123
int playOffset_
Definition: ove.h:1631
int align_
Definition: ove.h:2017
int bottomMargin_
Definition: ove.h:1032
OveSong * ove_
Definition: ove.h:2349
QList< SizeChunk * > pageChunks_
Definition: ove.h:2412
int lineThick_
Definition: ove.h:1834
bool changeSoundEffect_
Definition: ove.h:1242
QList< QString > titles_
Definition: ove.h:779
NoteHeadType headType_
Definition: ove.h:1149
PlayStyle
Definition: ove.h:702
unsigned int annotateType_
Definition: ove.h:2566
GroupChunk * chunk_
Definition: ove.h:2441
unsigned int note_
Definition: ove.h:1144
OffsetElement * handle_3_
Definition: ove.h:1549
int beamGroup3_
Definition: ove.h:1921
virtual ~BarNumber()
Definition: ove.h:1993
virtual ~WedgeEndPoint()
Definition: ove.h:1576
bool cue_
Definition: ove.h:1320
AccidentalType
Definition: ove.h:215
ClefType clefType_
Definition: ove.h:1506
int lyricSize_
Definition: ove.h:2532
virtual ~OveOrganizer()
Definition: ove.h:2579
TiePos
Definition: ove.h:254
RepeatType
Definition: ove.h:409
int note_
Definition: ove.h:1372
bool showBeatGroup_
Definition: ove.h:1910
virtual ~Harmony()
Definition: ove.h:1462
int endTick_
Definition: ove.h:1702
int groupDenominator1_
Definition: ove.h:1915
unsigned int onVelocity_
Definition: ove.h:1147
AccelerateType
Definition: ove.h:1229
int key_
Definition: ove.h:1945
virtual ~Glissando()
Definition: ove.h:1379
NameBlock nameBlock_
Definition: ove.h:2296
int endTick_
Definition: ove.h:1723
SizeBlock * sizeBlock_
Definition: ove.h:2312
bool showOnTop_
Definition: ove.h:1371
Type decoratorType_
Definition: ove.h:1414
QList< QString > writers_
Definition: ove.h:781
QList< Track * > tracks_
Definition: ove.h:786
int rightMargin_
Definition: ove.h:1031
int leftXOffset_
Definition: ove.h:1068
bool rest_
Definition: ove.h:1143
Clef * clef_
Definition: ove.h:2163
QString leftText_
Definition: ove.h:1788
int length_
Definition: ove.h:618
LineElement * rightLine_
Definition: ove.h:573
int height_
Definition: ove.h:1454
bool wedgeStart_
Definition: ove.h:1591
Direction
Definition: types.h:282
int channel_
Definition: ove.h:940
XmlType
Definition: ove.h:1174
QList< Line * > lines_
Definition: ove.h:788
int beamCount16th_
Definition: ove.h:1924
bool showLineBreak_
Definition: ove.h:773
VelocityType
Definition: ove.h:1196
QString text_
Definition: ove.h:1835
BarLineType leftBarline_
Definition: ove.h:2122
MidiType midiType_
Definition: ove.h:667
int font_
Definition: ove.h:2535
virtual ~KuoHao()
Definition: ove.h:1638
int beamCount32th_
Definition: ove.h:1925
int beatLength_
Definition: ove.h:1892
MusicDataType
Definition: ove.h:140
QList< int > partStaffCounts_
Definition: ove.h:793
int barRange_
Definition: ove.h:2019
QString rightText_
Definition: ove.h:1789
virtual ~MidiData()
Definition: ove.h:661
static const QString StaffName
Definition: ove.h:2288
int number_
Definition: ove.h:936
int showFlag_
Definition: ove.h:2018
OffsetElement * pedalHandle_
Definition: ove.h:1632
WedgeType wedgeType_
Definition: ove.h:1590
IOveNotify * notify_
Definition: ove.h:2351
int transpose_
Definition: ove.h:941
int height_
Definition: ove.h:1837
QList< SizeChunk * > measureChunks_
Definition: ove.h:2510
int beamGroup4_
Definition: ove.h:1922
QList< Voice * > voices_
Definition: ove.h:949
static const QString PageName
Definition: ove.h:2286
int voice_
Definition: ove.h:2530
int pan_
Definition: ove.h:828
virtual ~StaffCountGetter()
Definition: ove.h:2418
int pageHeight_
Definition: ove.h:1035
int vertMargin_
Definition: ove.h:1833
QTextCodec * codec_
Definition: ove.h:794
MeasurePos * stop_
Definition: ove.h:556
virtual ~LengthElement()
Definition: ove.h:611
ClefType clef_
Definition: ove.h:1094
int pageWidth_
Definition: ove.h:1034
IOVEStreamLoader * createOveStreamLoader()
Definition: ove.cpp:8536
virtual ~LyricChunkParse()
Definition: ove.h:2518
int denominator_
Definition: ove.h:1890
KeyType
Definition: ove.h:455
unsigned int writerType_
Definition: ove.h:2567
virtual ~OctaveShiftEndPoint()
Definition: ove.h:1708
virtual ~Staff()
Definition: ove.h:1075
IOveNotify()
Definition: ove.h:476
int beamGroup2_
Definition: ove.h:1920
int channel_
Definition: ove.h:825
NoteType noteType_
Definition: ove.h:1455
bool showPageMargin_
Definition: ove.h:771
QString name_
Definition: ove.h:937
bool showBarline_
Definition: ove.h:958
double typeTempo_
Definition: ove.h:1787
KuoHaoType kuohaoType_
Definition: ove.h:1649
bool showTranspose_
Definition: ove.h:942
virtual ~LineElement()
Definition: ove.h:581
int NoteTypeToTick(NoteType type, int quarter)
Definition: ove.h:358
static const QString ConductName
Definition: ove.h:2290
virtual ~MidiChannelPressure()
Definition: ove.h:2058
int stemType_
Definition: ove.h:830
QList< MidiData * > midiDatas_
Definition: ove.h:2167
bool playback_
Definition: ove.h:1569
int yOffset_
Definition: ove.h:605
int quarter_
Definition: ove.h:769
bool showKeyEachLine_
Definition: ove.h:953
unsigned char * point_
Definition: ove.h:2186
NoteHeadType
Definition: ove.h:229
QList< Page * > pages_
Definition: ove.h:787
ClefType startClef_
Definition: ove.h:944
bool showAccidental_
Definition: ove.h:1146
BarNumber * barNumber_
Definition: ove.h:2119
int yOffset_
Definition: ove.h:1067
ClefType
Definition: ove.h:192
QList< SizeChunk * > lineChunks_
Definition: ove.h:2442
QList< NoteContainer * > noteContainers_
Definition: ove.h:2165
QList< QPair< MusicData *, bool > > crossMeasureElements_
Definition: ove.h:2166
virtual ~Block()
Definition: ove.h:2195
virtual ~MidiPitchWheel()
Definition: ove.h:2071
QString name_
Definition: ove.h:2533
int rightNoteType_
Definition: ove.h:1791
QString text_
Definition: ove.h:1964
QList< Articulation * > articulations_
Definition: ove.h:1335
bool solo_
Definition: ove.h:965
bool rest_
Definition: ove.h:1321
QList< SizeChunk * > conductChunks_
Definition: ove.h:2511
Block * dataBlock_
Definition: ove.h:2313
int wordCount_
Definition: ove.h:2531
int noteShift_
Definition: ove.h:1332
GroupType
Definition: ove.h:209
bool changeExtraLength_
Definition: ove.h:1249
Staff * getStaff(OveSong *ove, int track)
Definition: ove.cpp:7526
int showType_
Definition: ove.h:1678
ArticulationType type_
Definition: ove.h:1239
virtual ~TitleChunkParse()
Definition: ove.h:2554
int height_
Definition: ove.h:1985
TiePos tiePos_
Definition: ove.h:1150
int trillNoteLength_
Definition: ove.h:1256
SizeChunk * chunk_
Definition: ove.h:2367
bool showStem_
Definition: ove.h:1330
int offsetStaff_
Definition: ove.h:1151
int lengthPercentage_
Definition: ove.h:1245
QList< unsigned char > data_
Definition: ove.h:2220
QList< QString > headers_
Definition: ove.h:783
SizeChunk * chunk_
Definition: ove.h:2572
bool bassOnBottom_
Definition: ove.h:1492
int groupDenominator2_
Definition: ove.h:1916
OffsetElement * rightShoulder_
Definition: ove.h:575
PairType
Definition: ove.h:2150
OffsetElement * numericHandle_
Definition: ove.h:1987
int dot_
Definition: ove.h:1324
bool fillWithRest_
Definition: ove.h:961
int groupDenominator3_
Definition: ove.h:1917
int beginLine_
Definition: ove.h:1019
bool showClef_
Definition: ove.h:955
bool showOnParagraphStart_
Definition: ove.h:2016
int groupStaffCount_
Definition: ove.h:1098
DrumNode()
Definition: ove.h:924
ToneType
Definition: ove.h:445
const int TWELVE_TONE
Definition: ove.h:80
int line_
Definition: ove.h:918
MusicDataType musicDataType_
Definition: ove.h:650
int height_
Definition: ove.h:1373
QList< QString > footers_
Definition: ove.h:784