diff --git a/LICENSE.md b/LICENSE.md index 3cbfcf8..0422e75 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -41,6 +41,7 @@ - zoom.ogg: Recorded a screw thread scraping against a saxophone ligature - Other sounds: - achieve.ogg: UI Completed Status Alert Notification SFX001.wav [by Headphaze, CC BY 4.0](https://freesound.org/s/277033/) + - Takeoff.ogg: [By Serat, CC BY 4.0](https://freemusicarchive.org/music/serat/route-remastered/takeoff-remastered/) - JupiterRecording.ogg: An [actual Jupiter recording by NASA](https://archive.org/download/voyager-1-and-2-1990-jupiter-nasa-voyager-space-sounds-electronic), public domain. - Processed by cutting out min 1:47-3:47 and applying a 10s linear crossfade at the end. Exported as ogg with quality=3, see [.kdenlive file](src/audio/JupiterRecording.kdenlive). - The source file has been taken down, and generally, I can't find information on how exactly this was produced. Hoping it's not a hoax. diff --git a/assets/music/Takeoff.ogg b/assets/music/Takeoff.ogg new file mode 100644 index 0000000..c4c044d Binary files /dev/null and b/assets/music/Takeoff.ogg differ diff --git a/src/audio.rs b/src/audio.rs index 234aabb..1fa0932 100644 --- a/src/audio.rs +++ b/src/audio.rs @@ -47,6 +47,11 @@ impl Plugin for AudioPlugin { pub struct ZoomTimer(Timer); const PATHS: &[(SfxType, Sfx, &str)] = &[ + ( + SfxType::Radio, + Sfx::BGMTakeoff, + "music/Takeoff.ogg", + ), ( SfxType::Radio, Sfx::BGMActualJupiterRecording, @@ -82,6 +87,7 @@ const PATHS: &[(SfxType, Sfx, &str)] = &[ pub enum Sfx { Achieve, BGMActualJupiterRecording, + BGMTakeoff, Click, Connect, Crash, diff --git a/src/var.rs b/src/var.rs index 349a8af..96206ae 100644 --- a/src/var.rs +++ b/src/var.rs @@ -335,7 +335,8 @@ impl Settings { pub fn is_radio_playing(&self, sfx: audio::Sfx) -> Option { let radio = self.radio_mode; match sfx { - audio::Sfx::BGMActualJupiterRecording => Some(radio == 1), + audio::Sfx::BGMTakeoff => Some(radio == 1), + audio::Sfx::BGMActualJupiterRecording => Some(radio == 2), _ => None, } }