extended the start sound with a bit of silence to prevent the end being cut of

This commit is contained in:
Dorian Zedler 2020-06-18 12:13:39 +02:00
parent 2aaaf92964
commit 549edda9b0
Signed by: dorian
GPG key ID: 989DE36109AFA354
3 changed files with 2 additions and 1 deletions

View file

@ -5,5 +5,6 @@
<file>sound/ReadySound.wav</file> <file>sound/ReadySound.wav</file>
<file>sound/FalseStartSound.wav</file> <file>sound/FalseStartSound.wav</file>
<file>sound/StartsignalSound.wav</file> <file>sound/StartsignalSound.wav</file>
<file>sound/StartsignalSoundExtended.wav</file>
</qresource> </qresource>
</RCC> </RCC>

View file

@ -25,7 +25,7 @@ ScStwSoundPlayer::ScStwSoundPlayer(QObject *parent) : QObject(parent)
this->soundFiles.insert(0, {{"path","qrc:/sound/AtYourMarksSound.wav"}, {"duration", 1000}}); this->soundFiles.insert(0, {{"path","qrc:/sound/AtYourMarksSound.wav"}, {"duration", 1000}});
this->soundFiles.insert(1, {{"path","qrc:/sound/ReadySound.wav"}, {"duration", 570}}); this->soundFiles.insert(1, {{"path","qrc:/sound/ReadySound.wav"}, {"duration", 570}});
this->soundFiles.insert(2, {{"path","qrc:/sound/StartsignalSound.wav"}, {"duration", 3100}}); this->soundFiles.insert(2, {{"path","qrc:/sound/StartsignalSoundExtended.wav"}, {"duration", 3200}});
this->soundFiles.insert(3, {{"path","qrc:/sound/FalseStartSound.wav"}, {"duration", 2000}}); this->soundFiles.insert(3, {{"path","qrc:/sound/FalseStartSound.wav"}, {"duration", 2000}});
this->soundEffect = new QSoundEffect(this); this->soundEffect = new QSoundEffect(this);