From 04490a36c7f89eeb9acb1e6a2825fd0ef8dbbbf5 Mon Sep 17 00:00:00 2001 From: acastro Date: Mon, 19 Nov 2018 16:36:17 +0000 Subject: [PATCH] small detail changes --- announcements.py | 5 ++--- guru-pirate.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/announcements.py b/announcements.py index 1757768..3e8ab83 100755 --- a/announcements.py +++ b/announcements.py @@ -22,6 +22,5 @@ print(intro_sf, msg_sf) #play audio -os.system('play -q "{}" gain 10 '.format(intro_sf) ) -sleep(random.randint(1,3)) -os.system('play -q "{}" gain 10 '.format(msg_sf) ) +os.system('play -q "{}" gain 5'.format(intro_sf) ) +os.system('play -q "{}" gain 10'.format(msg_sf) ) diff --git a/guru-pirate.py b/guru-pirate.py index 6054470..be4b4f5 100755 --- a/guru-pirate.py +++ b/guru-pirate.py @@ -33,7 +33,7 @@ if rebel_run is True: # play msg for i in range( random.randint(1,4) ): - sleep( random.randint(2,5) ) + sleep( random.randint(1,3) ) msg = random.choice(oracle[part]['messages']) msg_txt = msg[0] msg_sound = sound_dir + msg[1]