summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/tonleiter/tonleiterdata.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/multimedia/tonleiter/tonleiterdata.cpp b/noncore/multimedia/tonleiter/tonleiterdata.cpp
index bf7b32c..33b3c49 100644
--- a/noncore/multimedia/tonleiter/tonleiterdata.cpp
+++ b/noncore/multimedia/tonleiter/tonleiterdata.cpp
@@ -45,38 +45,38 @@ void TonleiterData::setCurrentNote(int id)
}
//****************************************************************************
void TonleiterData::setDrawNames(bool dn)
{
drawnames=dn;
emit dataChange();
}
//****************************************************************************
void TonleiterData::loadData()
{
Config load("Tonleiter");
if(!load.isValid())
{
//write some default values
load.setGroup("General");
load.writeEntry("currentInstrumentID",1);
- load.writeEntry("currentNote",0);
- load.writeEntry("currentScaleID",1);
+ load.writeEntry("currentNote",3);
+ load.writeEntry("currentScaleID",0);
load.writeEntry("drawnames",1);
load.setGroup("Instrument");
- load.writeEntry("Inst0","Thumb6;26;11;16;21;26;31;36;");
- load.writeEntry("Inst1","Bass 4;12;16;21;26;31;");
+ load.writeEntry("Inst0","Thumb6;26;14;19;24;29;34;39;");
+ load.writeEntry("Inst1","Bass 4;12;19;24;29;34;");
load.writeEntry("noOfInstruments",2);
load.setGroup("Scale");
load.writeEntry("Scale0","ionian;0;2;4;5;7;9;11;");
load.writeEntry("Scale1","aeolian;0;2;3;5;7;8;10;");
load.writeEntry("Scale2","dorian;0;2;3;5;7;9;10;");
load.writeEntry("Scale3","phrygian;0;1;3;5;7;8;10;");
load.writeEntry("Scale4","lydian;0;2;4;6;7;9;11;");
load.writeEntry("Scale5","mixolydian;0;2;4;5;7;9;10;");
load.writeEntry("noOfScales",6);
}
load.setGroup("General");
currentNote=load.readNumEntry("currentNote");
drawnames=load.readBoolEntry("drawnames");
currentInstrumentID=load.readNumEntry("currentInstrumentID");