31 void skip(
int len = 1);
80 bool triplet{
false };
81 bool tripletend{
false };
83 bool doubleDotted{
false };
84 bool is_rest{
false };
88 int rhytmSlash{
true };
108 int repeatClose{ 0 };
109 bool repeatStart{
false };
112 int denominator{ 0 };
125 bool hammer{
false };
154 bool isRest{
false };
158 bool dotted{
false };
159 bool tuplet{
false };
160 bool doubleDotted{
false };
161 bool vibrato{
false };
163 bool arpegioUp{
false };
164 bool arpegioDown{
false };
165 bool palmMute{
false };
166 bool accent{
false };
167 bool staccato{
false };
170 ptBeat(
int _staff,
int _voice) : staff(_staff), voice(_voice) {}
179 DIRECTION_DOUBLE_CODA = 1,
181 DIRECTION_SEGNO_SEGNO = 3,
183 DIRECTION_DA_CAPO = 5,
184 DIRECTION_DAL_SEGNO = 6,
185 DIRECTION_DAL_SEGNO_SEGNO = 7,
186 DIRECTION_TO_CODA = 8,
187 DIRECTION_TO_DOUBLE_CODA = 9,
188 DIRECTION_DA_CAPO_AL_CODA = 10,
189 DIRECTION_DA_CAPO_AL_DOUBLE_CODA = 11,
190 DIRECTION_DAL_SEGNO_AL_CODA = 12,
191 DIRECTION_DAL_SEGNO_AL_DOUBLE_CODA = 13,
192 DIRECTION_DAL_SEGNO_SEGNO_AL_CODA = 14,
193 DIRECTION_DAL_SEGNO_SEGNO_AL_DOUBLE_CODA = 15,
194 DIRECTION_DA_CAPO_AL_FINE = 16,
195 DIRECTION_DAL_SEGNO_AL_FINE = 17,
196 DIRECTION_DAL_SEGNO_SEGNO_AL_FINE = 18
200 ACTIVE_SYMBOL_NONE = 0,
201 ACTIVE_SYMBOL_DC = 1,
202 ACTIVE_SYMBOL_DS = 2,
203 ACTIVE_SYMBOL_DSS = 3
211 activeSymbol((
ActiveSym)sym), repeat(rep) {}
237 int notes_count{ 0 };
258 std::list<shared_ptr<ptBar>>
bars;
259 bool readed{
false };
265 int getNextPositionNumber();
271 if (a[0] == other.
a[0]) {
272 if (a[1] == other.
a[1]) {
273 return a[2] > other.
a[2];
275 return a[1] > other.
a[1];
277 return a[0] > other.
a[0];
280 if (a[0] == other.
a[0]) {
281 if (a[1] == other.
a[1]) {
282 return a[2] < other.
a[2];
284 return a[1] < other.
a[1];
286 return a[0] < other.
a[0];
289 return memcmp(a, other.
a, 3 *
sizeof(
int)) == 0;
void addToScore(ptSection &sec)
Definition: importptb.cpp:758
std::string arrenger
Definition: importptb.h:49
void readChord(ptTrack &si)
Definition: importptb.cpp:190
int repeatCount
Definition: importptb.h:336
std::string instructions
Definition: importptb.h:55
int key
Definition: importptb.h:143
int position
Definition: importptb.h:142
ActiveSym
Definition: importptb.h:199
std::vector< ptNote > notes
Definition: importptb.h:168
std::string copyright
Definition: importptb.h:56
std::list< shared_ptr< ptBar > > bars
Definition: importptb.h:258
Definition: importptb.h:87
int readInt()
Definition: importptb.cpp:55
Type type() override
Definition: importptb.h:113
Definition: importptb.h:59
void readDataInstruments(ptTrack &info)
Definition: importptb.cpp:1055
Definition: importptb.h:63
Definition of Score class.
char partMarker
Definition: importptb.h:247
one measure in a system
Definition: measure.h:65
std::vector< int > staffMap
Definition: importptb.h:250
void readChordText(ptSection &sec)
Definition: importptb.cpp:259
ptSongInfo info
Definition: importptb.h:303
void readSongInfo(ptSongInfo &info)
Definition: importptb.cpp:90
ptBeat(int _staff, int _voice)
Definition: importptb.h:170
ptTrack track1
Definition: importptb.h:304
ptTrack * curTrack
Definition: importptb.h:344
std::string lyricist
Definition: importptb.h:48
void fillMeasure(tBeatList &elist, Measure *measure, int staff, std::vector< Note *> &)
Definition: importptb.cpp:597
int style
Definition: importptb.h:41
Definition: importptb.h:176
std::vector< int > strings
Definition: importptb.h:236
Definition: importptb.h:243
std::string readString(int length=-1)
Definition: importptb.cpp:62
Definition: importptb.h:65
int top_fret
Definition: importptb.h:137
std::string bassTranscriber
Definition: importptb.h:51
Type type() override
Definition: importptb.h:127
Type
Definition: importptb.h:60
std::vector< int > getStaffMap(ptSection &sec)
Definition: importptb.cpp:505
int formula_mod
Definition: importptb.h:145
Definition: importptb.h:34
Definition: importptb.h:223
Definition of classes Clef.
std::list< stRhytmSlash > rhytm
Definition: importptb.h:254
std::string lyrics
Definition: importptb.h:52
std::string name
Definition: importptb.h:225
std::vector< shared_ptr< ptComponent > > components
Definition: importptb.h:219
std::string author
Definition: importptb.h:47
void readGuitarIn(ptTrack &info)
Definition: importptb.cpp:306
Definition: importptb.h:268
void readDynamic()
Definition: importptb.cpp:236
Definition: importptb.h:293
int day
Definition: importptb.h:38
void readFloatingText()
Definition: importptb.cpp:223
virtual Type type()
Definition: importptb.h:70
std::list< shared_ptr< ptBeat > > tBeatList
Definition: importptb.h:240
Type type() override
Definition: importptb.h:93
MasterScore * score
Definition: importptb.h:24
std::string partName
Definition: importptb.h:246
std::vector< int > lastStaffMap
Definition: importptb.h:334
int year
Definition: importptb.h:40
std::vector< PalmMute * > _palmMutes
Definition: importptb.h:350
int readHeaderItems()
Definition: importptb.cpp:152
Definition: importptb.h:132
Definition: importptb.h:302
int classification
Definition: importptb.h:35
std::string name
Definition: importptb.h:44
QFile * _file
Definition: importptb.h:23
Definition: importptb.h:61
Definition: importptb.h:119
Type type() override
Definition: importptb.h:212
std::vector< TrackInfo > infos
Definition: importptb.h:294
Definition: importptb.h:64
Definition: importptb.h:98
Direction
Definition: importptb.h:177
char lastPart
Definition: importptb.h:346
std::list< ptGuitarIn > guitar_ins
Definition: importptb.h:299
Definition: importptb.h:141
Measure * createMeasure(ptBar *bar, const Fraction &tick)
Definition: importptb.cpp:1140
int formula
Definition: importptb.h:134
std::vector< ptBar * > bars
Definition: importptb.h:117
Definition: importptb.h:62
int a[3]
Definition: importptb.h:269
FileError
Definition: score.h:395
ptDirection(int dir, int sym, int rep)
Definition: importptb.h:210
void readKeySignature()
Definition: importptb.cpp:244
ptSymbol(int val)
Definition: importptb.h:100
Definition: aeolus.cpp:26
int albumType
Definition: importptb.h:37
void readPosition(int staff, int voice, ptSection &sec)
Definition: importptb.cpp:415
void readStaff(int staff, ptSection &sec)
Definition: importptb.cpp:380
void readNote(ptBeat *beat)
Definition: importptb.cpp:394
Definition: importptb.h:22
void readFontSettings()
Definition: importptb.cpp:212
unsigned short readShort()
Definition: importptb.cpp:40
std::vector< ptPosition > positions
Definition: importptb.h:248
bool readBoolean()
Definition: importptb.cpp:28
bool readVersion()
Definition: importptb.cpp:77
int extra
Definition: importptb.h:146
int staffInc
Definition: importptb.h:345
Graphic representation of a chord.
Definition: chord.h:55
std::vector< int > frets
Definition: importptb.h:138
ptSection * cur_section
Definition: importptb.h:348
int level
Definition: importptb.h:42
virtual ~ptComponent()
Definition: importptb.h:74
ptTrack track2
Definition: importptb.h:305
unsigned char readUChar()
Definition: importptb.cpp:33
void readSectionSymbol(ptTrack &info)
Definition: importptb.cpp:340
int key
Definition: importptb.h:133
std::string guitarTranscriber
Definition: importptb.h:50
void readDirection(ptSection &sec)
Definition: importptb.cpp:1045
int formula
Definition: importptb.h:144
Score::FileError read()
Definition: importptb.cpp:1205
std::map< int, ptChordText > chordTextMap
Definition: importptb.h:256
std::string tuningName
Definition: importptb.h:234
int staves
Definition: importptb.h:342
std::map< chordData, ptChord > diagramMap
Definition: importptb.h:297
PowerTab(QFile *f, MasterScore *s)
Definition: importptb.h:354
Graphic representation of a note.
Definition: note.h:212
Definition: fraction.h:46
std::string bassInstructions
Definition: importptb.h:54
void skip(int len=1)
Definition: importptb.cpp:84
Definition: importptb.h:149
Symbol
Definition: symbols.h:31
std::string album
Definition: importptb.h:46
int modification
Definition: importptb.h:135
std::string guitarInstructions
Definition: importptb.h:53
void readTrackInfo(ptTrack &info)
Definition: importptb.cpp:167
int extra
Definition: importptb.h:136
void readRehearsalSign(ptSection &sec)
Definition: importptb.cpp:249
Definition: importptb.h:66
std::vector< ptSection > sections
Definition: importptb.h:295
void readTempoMarker(ptTrack &info)
Definition: importptb.cpp:318
void addPalmMute(Chord *)
Definition: importptb.cpp:558
std::vector< tBeatList > beats
Definition: importptb.h:257
Type type() override
Definition: importptb.h:171
void readSection(ptSection &sec)
Definition: importptb.cpp:983
Definition: importptb.h:77
Definition: importptb.h:106
Type type() override
Definition: importptb.h:101
Definition: importptb.h:217
void readRhytmSlash(ptSection &sec)
Definition: importptb.cpp:271
void readBarLine(ptSection &sec)
Definition: importptb.cpp:360
char readChar()
Definition: importptb.cpp:47
Definition: importptb.h:67
bool liverecording
Definition: importptb.h:43
int month
Definition: importptb.h:39
int releaseType
Definition: importptb.h:36
std::string interpret
Definition: importptb.h:45
void readTimeSignature(ptBar *bar)
Definition: importptb.cpp:350