From 2ef8794812d26e340f50ac9e9d7bd26aaab74a80 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 15 May 2014 21:57:25 +0200 Subject: [PATCH] use zoop --- data/sounds/SOURCES.txt | 18 +++++++++++++++--- data/sounds/zoop.ogg | Bin 0 -> 5457 bytes naja/widgets/info_area.py | 2 +- 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 data/sounds/zoop.ogg 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 0000000000000000000000000000000000000000..bee8aeb41679cc60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E47=Yj|FAH?wAC`5TSt0n)JF9`87K{Bd;b zVDrSpO{oF^hDy~;yPsk@pSf8l^ivZeQuUwu|Q_0>AFJ}Xv7dNqLu9&j7x zPS-|(yvp3}^>lzALTyK7-_8axijIL=zy7wCG_!hzLwLDC`Eipha#x$}LnXmvx#gOx z8``hAm({NgzMIt~IPTbqK4pVN4Ud!stAK)shpgZ^kbTb6bal`BYjab)19p^dbetL; zn?bJA#FELe>WbTUoBM};n&@9Tw8OjLhZB}zAD$*fNI#z37;}5C#i8Q+!+{E?TN>_8 z2C4Rjj%|*Kb{x^0+%|#_QY{GbsS`Vp(HU0b6iL2-@G z0n`RJUilXIjW$F|KoQuhMnuPGJ90F!-9_*G%75H`YSrhL#!V$}vfho?3n)&0TAfR| zo0u;S_D(8PyDKYP%l6UJwPy7`&SIRa(k<;!o~b0<2> z%Lig@AUw^+Z3|9VHW^#(9IfHRzHwZZi`xf#j4Kcb+sQi ztF8M;8$DcB@+OaP|JIONCv#uX-g3dc=J?;AWIk%U*U@(2*|{|*%NH-fagz!iFR5vV ztq?qHjHUKSR%l&oe{6YfpOsV^qYXUE{%Frt3-x)kvUsR+hpQ{*Ri3T*%0mo z&im}5B&{jw!O8Zr`$T5oro9zue&hv`lwp8D&k69CvU=fyuiw(!Q&0e&y3sQvIx$Kl+!RZ#A}>c)KEIqUO?q zzNsmxbVfS*&eC}3#HVv7$M+n&V(E765c<&JtebNsxw&)u2L=X?42(sM+?=dv%k9gx zH4J~&F~shdS`wbrj_gQ?kyh_4`D1u=V&>gsAE^KxsuEfhy5qcg@4J|?6OUu3Mwir| zJY3Bj`v~rOAB`|`^S*k<{aD43wjqugK~-dy(q|iOZ?s@6>E`thTz%mF>q0kZiS<3t Fe*^gkbXNcX literal 0 HcmV?d00001 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): -- 2.34.1