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 - gasp.ogg: Gasping for air
- gasprelief.ogg: Heavy breathing - gasprelief.ogg: Heavy breathing
- growl.ogg: Growled into a Xaphoon (2024-09-13@18:21), lowered by an octave, added reverb - 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: - refill.ogg: This consists of 3 overlaid parts:
- Starting clang: Hit a fire extinguisher with a chunk of metal - 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 - 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", "sounds/connect.ogg",
), ),
(SfxType::OneOff, Sfx::Ping, "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::PowerDown, "sounds/powerdown.ogg"),
(SfxType::OneOff, Sfx::PowerUp, "sounds/spark.ogg"), (SfxType::OneOff, Sfx::PowerUp, "sounds/spark.ogg"),
(SfxType::OneOff, Sfx::Switch, "sounds/click2.ogg"), (SfxType::OneOff, Sfx::Switch, "sounds/click2.ogg"),
@ -107,6 +108,7 @@ pub enum Sfx {
IncomingChatMessage, IncomingChatMessage,
Ion, Ion,
Ping, Ping,
Phone,
PowerDown, PowerDown,
PowerUp, PowerUp,
Refill, Refill,
@ -132,6 +134,7 @@ pub fn str2sfx(sfx_label: &str) -> Sfx {
"cat" => Sfx::Cat, "cat" => Sfx::Cat,
"chat" => Sfx::IncomingChatMessage, "chat" => Sfx::IncomingChatMessage,
"ping" => Sfx::Ping, "ping" => Sfx::Ping,
"phone" => Sfx::Phone,
"powerdown" => Sfx::PowerDown, "powerdown" => Sfx::PowerDown,
"powerup" => Sfx::PowerUp, "powerup" => Sfx::PowerUp,
"connect" => Sfx::Connect, "connect" => Sfx::Connect,

View file

@ -15,9 +15,13 @@
- Select contact to call. - Select contact to call.
- if: phone$travel - if: phone$travel
FASTravel: FASTravel:
- sound: phone
msg: Dialing...
- goto: travel - goto: travel
- if: phone$luna - if: phone$luna
Luna: Luna:
- sound: phone
msg: Dialing...
- goto: luna - goto: luna
- "[Cancel]": - "[Cancel]":
- goto: EXIT - goto: EXIT
@ -78,7 +82,8 @@
- label: luna - label: luna
- script: changename Luna - script: changename Luna
- Hey, time traveler, what's up? - Hey, time traveler, what's up?
- Just chilling: - How's your research coming along?:
- Cool, cool. - Great! This backup software is going to help a lot! Thanks again for this!
- "[Hang up]": []
- "[Hang up]": [] - "[Hang up]": []
- goto: EXIT - goto: EXIT