From: Neil Date: Thu, 15 May 2014 19:57:25 +0000 (+0200) Subject: use zoop X-Git-Tag: 0.1~260 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=2ef8794812d26e340f50ac9e9d7bd26aaab74a80;p=naja.git use zoop --- diff --git a/data/sounds/SOURCES.txt b/data/sounds/SOURCES.txt index 76ac231..028701b 100644 --- a/data/sounds/SOURCES.txt +++ b/data/sounds/SOURCES.txt @@ -14,7 +14,7 @@ change_action.ogg Notes: Generated by: tools/gen_sound.py 400 0.25 ; oggenc -o change_action.ogg -r beep1000.pcm - Generate by Neil Muller, May 2014 + Generated by Neil Muller, May 2014 License: MIT-style permissive license - see LICENSE.txt error.ogg @@ -22,7 +22,7 @@ error.ogg Notes: Generated by: tools/gen_sound.py 1000 0.25 ; oggenc -o error.ogg -r beep1000.pcm - Generate by Neil Muller, May 2014 + Generated by Neil Muller, May 2014 License: MIT-style permissive license - see LICENSE.txt startup.ogg @@ -32,5 +32,17 @@ Notes: Generated by: tools/gen_sound.py 200 0.25 ; tools/gen_sound.py 400 0.25 ; tools/gen_sound.py 600 0.25 ; tools/gen_sound.py 800 0.25 ; cat beep200.pcm beep400.pcm beep600.pcm beep800.pcm > startup.pcm ; oggenc -o startup.ogg -r startup.pcm - Generate by Neil Muller, May 2014 + Generated by Neil Muller, May 2014 + License: MIT-style permissive license - see LICENSE.txt + + +zoop.ogg +-------- + +Notes: + Generated by: + for ((j=500; $j < 800; j= $j+20 )); do python ../../tools/gen_sound.py $j 0.01 50; done + cat beep5??.pcm beep6??.pcm beep7??.pcm > zoop.pcm + oggenc -o zoop.ogg -r zoop.pcm + Generated by Neil Muller, May 2014 License: MIT-style permissive license - see LICENSE.txt diff --git a/data/sounds/zoop.ogg b/data/sounds/zoop.ogg new file mode 100644 index 0000000..bee8aeb Binary files /dev/null and b/data/sounds/zoop.ogg differ diff --git a/naja/widgets/info_area.py b/naja/widgets/info_area.py index 934bbc8..2f59c75 100644 --- a/naja/widgets/info_area.py +++ b/naja/widgets/info_area.py @@ -124,7 +124,7 @@ class InfoAreaWidget(Widget): chosen = (chosen + step) % num_actions action = self.card.actions[chosen] if not viable_only or action.check_available(player): - sound.play_sound('change_action.ogg', volume=0.05) + sound.play_sound('zoop.ogg', volume=0.05) self.chosen = chosen def prev_action(self, viable_only=False):