From 0cc9c9427fc06a889fb34e263664aa0a047531a3 Mon Sep 17 00:00:00 2001 From: yuni Date: Sun, 27 Oct 2024 02:40:45 +0100 Subject: [PATCH] phone.ogg: add sound to phone calls --- LICENSE.md | 1 + assets/sounds/phone.ogg | Bin 0 -> 6095 bytes src/audio.rs | 3 +++ src/chats/phone.yaml | 4 ++++ 4 files changed, 8 insertions(+) create mode 100644 assets/sounds/phone.ogg diff --git a/LICENSE.md b/LICENSE.md index fb06108..5fae811 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -48,6 +48,7 @@ - gasp.ogg: Gasping for air - gasprelief.ogg: Heavy breathing - growl.ogg: Growled into a Xaphoon (2024-09-13@18:21), lowered by an octave, added reverb + - phone.ogg: 2 sine waves (440Hz+480Hz) at 0.2 amplitude, -3dB amplification, with some fade in and fade out - refill.ogg: This consists of 3 overlaid parts: - Starting clang: Hit a fire extinguisher with a chunk of metal - Main hiss: Sprayed a can of WD-40, applied high pass filter (1khz, 36db roll-off per octave), fade out diff --git a/assets/sounds/phone.ogg b/assets/sounds/phone.ogg new file mode 100644 index 0000000000000000000000000000000000000000..7469996f135c933d797d04ff5f30286dcb0bdc23 GIT binary patch literal 6095 zcmb7I3p~`@_TM9UCq+_6-SMi%p^!)8rW}tjQ5nXw5yo73Ov;!_;wX=UBUc)Zn3Qu+ zQz<$PQAy>Mm|~idS8|l8oJvQfZk_!1{tYua|NHsh```WS*}uKlZ>_!7cdfP8ZfkhB z7mx$fjeqXvxoD_pI?oZe9Je_h(Mt40&5QX? zQ?uLAITAjWaM>?n_s-Q@W5e;$5urX9cf1?k!py?V%*MgZh2x!f?Tv_y z*~OsmiX$KyxVaJ@D;yksa6k!wWPNv?rsVs%6aX{;ICb8pAffI0iX%W33uTf6K@%|2mpDIOi(I{eeCe!`sDH@qYFHj8n>cRTBaF$Nt#`L zU%;5&u>pq{cH-qq^ZcPf*+0@pcw^Q+z2@>OO{WFGEz92la=*;n= zXWSAMj0E5y32Kk`XNmXcgvaM$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I3ZjWE-f` zEZeliOsIn@eZBe1K84Md?$-jUBvZR2rbG?glow3BTursbLA5a)imHBTQ|y-b8UXt% zyw~88wJyaL{C!RR44*3N;ii*vQkpAC-MfL=(M6Z$ZMq^*KtvMILtKu|ml|jHpXrJq z_^@)N;+G`vxoFo&S`+6huxcK$<$x05=i5P_J#C~0G7k|a;bbN}XypNve9Tl;sNrLn z`ykhFimGC6geIEacT;V=B2?{j$-ce-WW`%opJ1RPlIgZ1%gYetI&6vDSX;YXBI|#F zo_+c(0{!<7G#fjqUgG2vSLaCe8t1Hshh+Q3?FruBNU?x;Mae*4zh>Ps0NC@_e>toz zQTzdN_t|j$%UKAyv>i0y-=8N%JsNV6Idah52!#4&)?2e3m~Alkf~X^%UaiIXPtg@R-^5*TKQs;Q`#2V~bF!IxUrObl09 zKYo%V^PQlnHhJJ~R{C*rXzNZCpKEQPD2tHRAs|I+`^I=BkR5X@ka49DQ~XyO!lwna z+x$OeH0!+{XaRdy&lAiOdG92AU`U`X%R+Dc(C&putErFi9NQTi&j2n_9HhjI;6Stn zcmBW@WvKxn46~v<>5**oR31_2&m zLzu`A1dDgc&^$Qs2P`<=j$I7&oP+5NnGm6e&f2fw{NJEU*j;<q|!U@cr$x;`sS<5v@W5w6(nooFCUpyy1V*;wqzo##EJ7yl%Hchx@l5{HXC=TF+Sk1~!t0wcO%ud?R`TEQh>VhUtbKL6E9N=~ za+GmqrN0f6TF`pkFUpJ0VQTl;5XLe@!L751i0n@~VSph2V@c1B3b`4@ zAm$@mWxjKvn1}iGs!_?9W3^doe$R@T?&$GbSj7zUE5c*8kDpRrtc$& ztBBB Sfx { "cat" => Sfx::Cat, "chat" => Sfx::IncomingChatMessage, "ping" => Sfx::Ping, + "phone" => Sfx::Phone, "powerdown" => Sfx::PowerDown, "powerup" => Sfx::PowerUp, "connect" => Sfx::Connect, diff --git a/src/chats/phone.yaml b/src/chats/phone.yaml index fef3f41..d12fda2 100644 --- a/src/chats/phone.yaml +++ b/src/chats/phone.yaml @@ -15,9 +15,13 @@ - Select contact to call. - if: phone$travel FASTravel: + - sound: phone + msg: Dialing... - goto: travel - if: phone$luna Luna: + - sound: phone + msg: Dialing... - goto: luna - "[Cancel]": - goto: EXIT