Merge pull request #271 from zonkmachine/chromatic-scale

Added scales (chromatic scale again)
This commit is contained in:
Tobias Doerffel
2014-02-06 20:45:19 +01:00
2 changed files with 3 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ class InstrumentFunctionNoteStacking : public Model, public JournallingObject
Q_OBJECT
public:
static const int MAX_CHORD_POLYPHONY = 10;
static const int MAX_CHORD_POLYPHONY = 13;
private:
typedef int8_t ChordSemiTones [MAX_CHORD_POLYPHONY];

View File

@@ -131,6 +131,8 @@ InstrumentFunctionNoteStacking::ChordTable::Init InstrumentFunctionNoteStacking:
{ QT_TRANSLATE_NOOP( "InstrumentFunctionNoteStacking", "Aeolian" ), { 0, 2, 3, 5, 7, 8, 10, -1 } },
{ QT_TRANSLATE_NOOP( "InstrumentFunctionNoteStacking", "Locrian" ), { 0, 1, 3, 5, 6, 8, 10, -1 } },
{ QT_TRANSLATE_NOOP( "InstrumentFunctionNoteStacking", "Minor" ), { 0, 2, 3, 5, 7, 8, 10, -1 } },
{ QT_TRANSLATE_NOOP( "InstrumentFunctionNoteStacking", "Chromatic" ), { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, -1 } },
{ QT_TRANSLATE_NOOP( "InstrumentFunctionNoteStacking", "Half-Whole Diminished" ), { 0, 1, 3, 4, 6, 7, 9, 10, -1 } },
} ;