From 2dc5f787dbb38ebaefbe4c93a0b706c98c2574a9 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Fri, 16 May 2014 19:55:16 +0200 Subject: [PATCH] Reverse beep on shutdown --- data/sounds/SOURCES.txt | 11 +++++++++++ data/sounds/shutdown.ogg | Bin 0 -> 10665 bytes naja/engine.py | 2 ++ naja/sound.py | 6 +++++- 4 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 data/sounds/shutdown.ogg diff --git a/data/sounds/SOURCES.txt b/data/sounds/SOURCES.txt index 220eb4d..e4c8d02 100644 --- a/data/sounds/SOURCES.txt +++ b/data/sounds/SOURCES.txt @@ -41,6 +41,17 @@ Notes: License: MIT-style permissive license - see LICENSE.txt +shutdown.ogg +------------ + +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 beep800.pcm beep600.pcm beep400.pcm beep200.pcm > shutdown.pcm ; + oggenc -o shutdown.ogg -r shutdown.pcm + Generated by Stefano Rivera, May 2014 + License: MIT-style permissive license - see LICENSE.txt + + zoop.ogg -------- diff --git a/data/sounds/shutdown.ogg b/data/sounds/shutdown.ogg new file mode 100644 index 0000000000000000000000000000000000000000..c7048900120a16c8878ef7477a68d37d3915a240 GIT binary patch literal 10665 zcmeHtc{tST+xR`kGS;j$B!6vH0*XLdyIe2?Jfe`#zX6IBd zAe(W&ihoknD0_D9+Uy%h4hUIaCVv2kQi|ZWoZ>+4{8u4&k~5WKCXI3n`Tt(Ts1qj{ z;sRG+f1jBSySy3OeK)TboX=R!n8h?^8so>%b@KGt6tvar_aJX?uibj&@f4AX&DvIr zS5trmpcP2hUy>U*IZ9T=%2ByP)vC^~TiMD^E<$yd-TEimfe9KpSynOYbq_WqxB$7~ zuw}4fRIDXUBT9RrYht9%LTtsD;g~NuCTsOqWn<=pvzD}JQ60>AQjs6$4XH-in7PX0 z*e6ERB&+hY$jfH9SZnq&$4F7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