Nicer change menu item sound.
authorSimon Cross <hodgestar@gmail.com>
Thu, 15 May 2014 21:20:37 +0000 (23:20 +0200)
committerSimon Cross <hodgestar@gmail.com>
Thu, 15 May 2014 21:21:13 +0000 (23:21 +0200)
data/sounds/SOURCES.txt
data/sounds/change_action.ogg [deleted file]
data/sounds/zzzzz.ogg [new file with mode: 0644]
naja/widgets/selector.py

index f9c185e6a3c4269decf1e19da7f92e348f764b96..dd794d728284f8b06061631507ad963525c5cee0 100644 (file)
@@ -9,11 +9,11 @@ Notes:
     Generated by Neil Muller, Aug 2010
     Not copyrightable.
 
-change_action.ogg
------------------
+zzzzz.ogg
+---------
 
 Notes:
-   Generated by: tools/gen_sound.py 100 0.5 50 ; oggenc -o change_action.ogg -r beep100.pcm
+   Generated by: tools/gen_sound.py 100 0.5 50 ; oggenc -o zzzzz.ogg -r beep100.pcm
    Generate by Simon Cross, May 2014
    License: MIT-style permissive license - see LICENSE.txt
 
diff --git a/data/sounds/change_action.ogg b/data/sounds/change_action.ogg
deleted file mode 100644 (file)
index 026a54d..0000000
Binary files a/data/sounds/change_action.ogg and /dev/null differ
diff --git a/data/sounds/zzzzz.ogg b/data/sounds/zzzzz.ogg
new file mode 100644 (file)
index 0000000..2a185c1
Binary files /dev/null and b/data/sounds/zzzzz.ogg differ
index f4706ee096c5833f4c362f8c090bf0393fd35da9..fd304a022503b9d26b3199f91b4fbf7214cc918f 100644 (file)
@@ -30,7 +30,7 @@ class SelectorWidget(Container):
                 else:
                     self.position -= 1
                 self.position %= len(self.widgets)
-                sound.play_sound('change_action.ogg', volume=0.05)
+                sound.play_sound('zzzzz.ogg')
                 return True
             elif ev.key in KEYS.SELECT:
                 return self.widgets[self.position].callback('click')