Compare commits

...

2 commits

Author SHA1 Message Date
yuni 0cc9c9427f phone.ogg: add sound to phone calls 2024-10-27 02:45:09 +01:00
yuni 52709dad4c better stub for luna's phone call 2024-10-27 02:21:52 +01:00
4 changed files with 11 additions and 2 deletions

View file

@ -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

BIN
assets/sounds/phone.ogg Normal file

Binary file not shown.

View file

@ -78,6 +78,7 @@ const PATHS: &[(SfxType, Sfx, &str)] = &[
"sounds/connect.ogg",
),
(SfxType::OneOff, Sfx::Ping, "sounds/connect.ogg"),
(SfxType::OneOff, Sfx::Phone, "sounds/phone.ogg"),
(SfxType::OneOff, Sfx::PowerDown, "sounds/powerdown.ogg"),
(SfxType::OneOff, Sfx::PowerUp, "sounds/spark.ogg"),
(SfxType::OneOff, Sfx::Switch, "sounds/click2.ogg"),
@ -107,6 +108,7 @@ pub enum Sfx {
IncomingChatMessage,
Ion,
Ping,
Phone,
PowerDown,
PowerUp,
Refill,
@ -132,6 +134,7 @@ pub fn str2sfx(sfx_label: &str) -> Sfx {
"cat" => Sfx::Cat,
"chat" => Sfx::IncomingChatMessage,
"ping" => Sfx::Ping,
"phone" => Sfx::Phone,
"powerdown" => Sfx::PowerDown,
"powerup" => Sfx::PowerUp,
"connect" => Sfx::Connect,

View file

@ -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
@ -78,7 +82,8 @@
- label: luna
- script: changename Luna
- Hey, time traveler, what's up?
- Just chilling:
- Cool, cool.
- How's your research coming along?:
- Great! This backup software is going to help a lot! Thanks again for this!
- "[Hang up]": []
- "[Hang up]": []
- goto: EXIT