mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 15:26:37 +00:00
assets/audio/roar{arab6,spoke9}.wav: added.
libroar/RoarWindowAbout.py: correctly pick random soundBitePathName.
This commit is contained in:
parent
09c0df13cf
commit
5f3ed4347e
BIN
assets/audio/roararab6.wav
Normal file
BIN
assets/audio/roararab6.wav
Normal file
Binary file not shown.
BIN
assets/audio/roarspoke9.wav
Normal file
BIN
assets/audio/roarspoke9.wav
Normal file
Binary file not shown.
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user