svcore  1.9
Pitch.cpp File Reference
#include "Pitch.h"
#include "Preferences.h"
#include "system/System.h"
#include <cmath>
Include dependency graph for Pitch.cpp:

Go to the source code of this file.

Variables

static QString notes []
static QString flatNotes []

Variable Documentation

QString notes[] [static]
Initial value:
 {
    "C%1",  "C#%1", "D%1",  "D#%1",
    "E%1",  "F%1",  "F#%1", "G%1",
    "G#%1", "A%1",  "A#%1", "B%1"
}

Definition at line 87 of file Pitch.cpp.

Referenced by MIDIFileWriter::convert(), SparseOneDimensionalModel::getNotesWithin(), NoteModel::getNotesWithin(), FlexiNoteModel::getNotesWithin(), and Pitch::getPitchLabel().

QString flatNotes[] [static]
Initial value:
 {
    "C%1",  "Db%1", "D%1",  "Eb%1",
    "E%1",  "F%1",  "Gb%1", "G%1",
    "Ab%1", "A%1",  "Bb%1", "B%1"
}

Definition at line 93 of file Pitch.cpp.

Referenced by Pitch::getPitchLabel().