From fbe71dd6427cde1ab5d3089dea306e7fde35b30b Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Thu, 15 May 2014 23:20:37 +0200 Subject: [PATCH] Nicer change menu item sound. --- data/sounds/SOURCES.txt | 6 +++--- data/sounds/{change_action.ogg => zzzzz.ogg} | Bin 8192 -> 8662 bytes naja/widgets/selector.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename data/sounds/{change_action.ogg => zzzzz.ogg} (91%) diff --git a/data/sounds/SOURCES.txt b/data/sounds/SOURCES.txt index f9c185e..dd794d7 100644 --- a/data/sounds/SOURCES.txt +++ b/data/sounds/SOURCES.txt @@ -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/zzzzz.ogg similarity index 91% rename from data/sounds/change_action.ogg rename to data/sounds/zzzzz.ogg index 026a54d3dc3c5c0a336fc557138cbb207e2c9cff..2a185c1494d4ec8d64c4a2a233d8282a6a76372a 100644 GIT binary patch delta 569 zcmZp0xaKV7pPnAfz{CIr1(P4xf|(xN!V{(RctCtcpn%s&9odZ`q5NP0kZRTY`;Tqj z%5Nx84^qMm6tN3&y~X^W|B@ZgJ(Jsec|$pO#e3u)Z{7H0{o608S_#bZAAaWBzR%sr zC|7%Kl4NSqyfYjJcKF_X<_Ub!WJs)U_znypW{DFFHoc8YG;i=S^BKi0zR%ElydWpDmg@q;zZrjO<4Pkg zIQ;%SH!E%Nl(`dUhGe;c0=b3@L^|C5a6(^S@85s@YxU(HPb~jC`QJxwJm=FM!+TsHIF!uENY z%YMJDt4x!-_ij3n&G=$w+N|xrm$s)rOPuvmF0Os|_VulnG0E|-->tR0lX~{yySLe~ z#%D|TZEcMC^S_@q{(R>5m)k%NNa*tQ2!;k;w{N#*yH|V>uKUSt_qWAezeH0qk&yua DcAgIq delta 96 zcmccS+~6SPpPnAfz{CIr8hsYBAm#$c#AOqu^mssgMj(IL>Y|E`A))+W0g!5AJGZ}^ hxAGebNP(0v14Z5?uCZbM&wt5|=bp*!y}Y5Ey8uRG8O{Iz diff --git a/naja/widgets/selector.py b/naja/widgets/selector.py index f4706ee..fd304a0 100644 --- a/naja/widgets/selector.py +++ b/naja/widgets/selector.py @@ -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') -- 2.34.1