X-Git-Url: https://code.delx.au/virtualtones/blobdiff_plain/a132d76b55c3c8f89ad79e7a70d9983ad12021fc..e0efeea407809897396731f760ff60e361351d83:/stringinstrument.cpp?ds=sidebyside
diff --git a/stringinstrument.cpp b/stringinstrument.cpp
index b9ba392..8d369a1 100644
--- a/stringinstrument.cpp
+++ b/stringinstrument.cpp
@@ -156,7 +156,7 @@ QString StringInstrument::generateHelp()
"
The row 'q' 'w' 'e' 'r' is the A string"
"The row 'a' 's' 'd' 'f' is the D string"
"The row 'z' 'x' 'c' 'v' is the G string"
-"The further right the key is, the higher the note"
+"The further to the right the key is, the higher the note"
"Try pressing multiple keys on the same string to get sharp notes. On the A,D,G strings try the Tab, Caps and Shift keys for sharp notes"
""
@@ -332,7 +332,7 @@ void StringInstrument::keyPressEvent(QKeyEvent *e)
return;
}
e->accept();
- emitSounds();
+ QTimer::singleShot(50, this, SLOT(emitSounds()));
}
void StringInstrument::keyReleaseEvent(QKeyEvent *e)
@@ -480,7 +480,7 @@ void StringInstrument::keyReleaseEvent(QKeyEvent *e)
return;
}
e->accept();
- emitSounds();
+ QTimer::singleShot(50, this, SLOT(emitSounds()));
}
void StringInstrument::zeroArray(bool array[4][4])