From c7e7748bc3bef0ece230e0dd8fd8daac8b335ded Mon Sep 17 00:00:00 2001 From: Oskar Wallgren Date: Tue, 4 Feb 2014 20:12:46 +0100 Subject: [PATCH] Added scales --- include/InstrumentFunctions.h | 2 +- src/core/InstrumentFunctions.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/InstrumentFunctions.h b/include/InstrumentFunctions.h index c8981f04d..345221979 100644 --- a/include/InstrumentFunctions.h +++ b/include/InstrumentFunctions.h @@ -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]; diff --git a/src/core/InstrumentFunctions.cpp b/src/core/InstrumentFunctions.cpp index 9be1ba39a..abf6131af 100644 --- a/src/core/InstrumentFunctions.cpp +++ b/src/core/InstrumentFunctions.cpp @@ -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 } }, } ;