mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-24 16:16:37 +00:00
assets/audio/roar{arab6,spoke9}.wav: added.
libroar/RoarWindowAbout.py: correctly pick random soundBitePathName.
This commit is contained in:
parent
93c05d6b09
commit
1a0e1bf2de
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