13 #ifndef __TABLATURE_H__ 14 #define __TABLATURE_H__ 38 QList<instrString> stringTable { };
43 bool convertPitch(
int pitch,
int pitchOffset,
int*
string,
int* fret)
const;
44 int fret(
int pitch,
int string,
int pitchOffset)
const;
45 int getPitch(
int string,
int fret,
int pitchOffset)
const;
46 void sortChordNotes(QMap<int, Note *>& sortedNotes,
const Chord* chord,
int pitchOffset,
int* count)
const;
50 StringData(
int numFrets,
int numStrings,
int strings[]);
51 StringData(
int numFrets, QList<instrString>& strings);
52 bool convertPitch(
int pitch,
Staff* staff,
const Fraction& tick,
int*
string,
int* fret)
const;
53 int fret(
int pitch,
int string,
Staff* staff,
const Fraction& tick)
const;
54 void fretChords(
Chord * chord)
const;
55 int getPitch(
int string,
int fret,
Staff* staff,
const Fraction& tick)
const;
57 int strings()
const {
return stringTable.size(); }
58 int frettedStrings()
const;
59 const QList<instrString>&
stringList()
const {
return stringTable; }
61 int frets()
const {
return _frets; }
int pitch
Definition: stringdata.h:29
Definition: stringdata.h:28
Global staff data not directly related to drawing.
Definition: staff.h:62
int strings() const
Definition: stringdata.h:57
QList< instrString > stringTable
Definition: stringdata.h:38
bool open
Definition: stringdata.h:30
void setFrets(int val)
Definition: stringdata.h:62
Definition: stringdata.h:35
bool operator==(const StringData &d) const
Definition: stringdata.h:66
bool operator==(const instrString &d) const
Definition: stringdata.h:32
StringData()
Definition: stringdata.h:49
Definition: aeolus.cpp:26
Graphic representation of a chord.
Definition: chord.h:55
static bool bFretting
Definition: stringdata.h:41
Definition: fraction.h:46
const QList< instrString > & stringList() const
Definition: stringdata.h:59
QList< instrString > & stringList()
Definition: stringdata.h:60
int frets() const
Definition: stringdata.h:61
int _frets
Definition: stringdata.h:39