assets/audio/roar{arab6,spoke9}.wav: added.

libroar/RoarWindowAbout.py: correctly pick random soundBitePathName.
This commit is contained in:
Lucio Andrés Illanes Albornoz 2019-09-17 08:50:33 +02:00
parent 09c0df13cf
commit 5f3ed4347e
3 changed files with 1 additions and 1 deletions

BIN
assets/audio/roararab6.wav Normal file

Binary file not shown.

BIN
assets/audio/roarspoke9.wav Normal file

Binary file not shown.

View File

@ -39,7 +39,7 @@ class RoarWindowAbout(wx.Dialog):
self.SetTitle(title)
soundBitePathNames = glob(os.path.join("assets", "audio", "roar*.wav"))
soundBitePathName = soundBitePathNames[random.randint(0, len(logoPathNames) - 1)]
soundBitePathName = soundBitePathNames[random.randint(0, len(soundBitePathNames) - 1)]
self.soundBite = wx.adv.Sound(soundBitePathName)
if self.soundBite.IsOk():
self.soundBite.Play(wx.adv.SOUND_ASYNC)