phone.ogg: add sound to phone calls
This commit is contained in:
parent
52709dad4c
commit
0cc9c9427f
|
@ -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
BIN
assets/sounds/phone.ogg
Normal file
Binary file not shown.
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue