From 1f40f66ea696f9c1e5eb067f4327c94c8c2043ea Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sat, 17 May 2014 16:21:35 +0200 Subject: [PATCH] MOAR sounds --- data/sounds/__init__.py | 13 +++++++++++++ data/sounds/aha.ogg | Bin 0 -> 6130 bytes data/sounds/awwww.ogg | Bin 0 -> 9735 bytes data/sounds/yipee.ogg | Bin 0 -> 9265 bytes naja/actions.py | 5 +++++ 5 files changed, 18 insertions(+) create mode 100644 data/sounds/aha.ogg create mode 100644 data/sounds/awwww.ogg create mode 100644 data/sounds/yipee.ogg diff --git a/data/sounds/__init__.py b/data/sounds/__init__.py index 7794093..48f3e20 100644 --- a/data/sounds/__init__.py +++ b/data/sounds/__init__.py @@ -1,3 +1,4 @@ +import itertools import random from naja.gen_sound import Chunk, scale @@ -22,4 +23,16 @@ SOUNDS = { 'startup': scale(200, 801, 200), 'zoop': scale(500, 800, 20, length=0.01, volume=50), 'zzzzz': Chunk('sine', freq=100, length=0.5, volume=50), + 'yipee': itertools.chain( + scale(800, 1001, 50, length=0.1, volume=50), + scale(900, 1001, 50, length=0.1, volume=50), + ), + 'awwww': ( + Chunk('sine', freq=400, volume=50), + Chunk('sine', freq=250, length=0.5, volume=50), + ), + 'aha': ( + Chunk('sine', freq=1100, length=0.2, volume=50), + Chunk('sine', freq=1200, length=0.1, volume=50), + ), } diff --git a/data/sounds/aha.ogg b/data/sounds/aha.ogg new file mode 100644 index 0000000000000000000000000000000000000000..84b3d0b472fb5fd7e910c3a1ba62f9df61abd76c GIT binary patch literal 6130 zcmeHLdpwle*WY8tgwVKUFx9AW8AeeOCp0rrjD%szB}OE-E^;ZiG>6e~h8)e&=u9dV zPDCz6bck+_F7AcsM8`cU<&s?A{fy43^ZxUDKcDmd^?u&{+4IbL_TFo)y}xViwby>^ ze0?2(82D0DG(F7_GJrUAAGH#7^l-43e+bebW|4>d0l+CiiT=w_b_nO+1>r<`Q1?Bs za%KzvEKAUflJwvJXa69-wRXY2!~_0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A3Sz3qG@0AxSNqE`s4=P z31Vfe73)-ydgh8xsvs^WTM?JJa6=guL!r(f>UmEAk|noEun-l!dXFfVo{~fLk3YrE zVY1(%gdeDMWPgnX7~<`YNS-kyrowq6h4Xtdx7Qqd6ohN&L1F={!aiqj)@mp*|q#FA-BP{%%*h@5M!%0GsJgk}W zX_}v``N?TNtxen%K5aptcG^z|%71!pN}mxZV&VpeiFii9^A|EQYnCYzj|LJAE|9nYdNTh}!<#!p*8PQgiFf+9ELaf3#*6NB zjP@OKY=`BW@T8Tw-NS5?5v#2t`a)BjV^#*Ilkw_zv}qo6+vTwmqeC%%xo9I|D07PuJ~;R z&o|n(7P1V9Mb3=Fb&}wxLnn6XrZ1Y)xI!HS!Q}_4=Re?T-+cUX#`AiY3o;55&$AxA z+S57@C`G^Rx;q=@&Kjv+-4H_`zHL|C@ZFh(vE-NIW3L~-ditunbyf9F*9_VJ0lwIy ATL1t6 literal 0 HcmV?d00001 diff --git a/data/sounds/yipee.ogg b/data/sounds/yipee.ogg new file mode 100644 index 0000000000000000000000000000000000000000..4e2c4f2df82d4e16195db315a0810591d35694b4 GIT binary patch literal 9265 zcmeHMdpy)z*WYt-pBObVBt{V^6JQnEb8-x^~O-qm$0E{~*{`(%v8sYpiA)H8!zwX_YlG}Ly zn1nD(k~ClgC*OcWn%03nq{F_Rj(qu~ourLg+FIH$lT_`z4($&<=zTQU$H)5w84-^X zSYlSDZg)fh3IIw$M714xK`UeNvQ!(HemQEh|ELUgw`8>3#@#MW%0bDBx!Kfs7uD0P z$qoQvIBOD0h-I1xE5<5sb4rO(*#@b2eOTs;l;Np=Jk0bD!CDjH)v^6rdbpV1_1JQ; zX8KNeST;n8m7v~Bk15fIjg@pQY+?lUhvZ_PsH-xgpK0A&8H?3bO^p7m_55v&7&SgU zW~VM&HrB@^bmdYXN+uS`F@h$~iLpCO;0Ofu?-62~ObTUV)%1lGVo5p&q(CwN**U7r z992=gY^5l84gj8FOK3bU_u_)wiwZe0;bqPO&=^1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uqi_V>slQi%Nuh-|=E zoyi+Vf)c16YvI;5DqKMB&gX?PoeV&vVCm7sochW3p%a&`6Ux|BA|J@pD^( zWehw)ck;NrIv#Jlv*m8*(_aU_jlsXlMwMS|wilt;6M5?P~RhkYPk%BtUPb!$oMQ^zO8a zb=I-w+Td)Y{%nlEC$>N`Esyd(t4@AxQzZ_(O5mNhj+z`YBRUDf#a#J>F?-QHGEfHj F`Y*A;EUN$j literal 0 HcmV?d00001 diff --git a/naja/actions.py b/naja/actions.py index d73a66a..9f3b221 100644 --- a/naja/actions.py +++ b/naja/actions.py @@ -82,6 +82,7 @@ class LoseHealthOrMSB(LocationAction): def perform_action(self, board, location): if not self.check_and_clear_MSB(board.player): + sound.play_sound('awwww.ogg') board.lose_health() @@ -120,6 +121,7 @@ class LoseHealthOrMSBAndSetBits(LocationAction): def perform_action(self, board, location): if not self.check_and_clear_MSB(board.player): + sound.play_sound('awwww.ogg') board.lose_health() board.player.bits.set_bits(location.bitwise_operand) @@ -129,6 +131,7 @@ class AcquireWinToken(LocationAction): GLYPHS = (ACTION_GLYPHS.WINTOKEN,) def perform_action(self, board, location): + sound.play_sound('yipee.ogg') board.acquire_win_token() board.player.bits.clear_bits(set([ BITS.RED, BITS.GREEN, BITS.BLUE, @@ -140,6 +143,7 @@ class GainHealth(LocationAction): GLYPHS = (ACTION_GLYPHS.HEAL,) def perform_action(self, board, location): + sound.play_sound('aha.ogg') board.gain_health() @@ -149,6 +153,7 @@ class GainHealthAndClearBitsOrMSB(LocationAction): MSB_GLYPH = ACTION_GLYPHS.CLEAR_BITS def perform_action(self, board, location): + sound.play_sound('aha.ogg') board.gain_health() if not self.check_and_clear_MSB(board.player): board.player.bits.clear_bits(location.bitwise_operand) -- 2.34.1