diff --git a/client/public/static/voices/en-UK/adaptive-cruise-control.wav b/client/public/static/voices/en-UK/adaptive-cruise-control.wav new file mode 100644 index 0000000..7eb58b2 Binary files /dev/null and b/client/public/static/voices/en-UK/adaptive-cruise-control.wav differ diff --git a/client/public/static/voices/en-UK/all-brakes-disengaged.wav b/client/public/static/voices/en-UK/all-brakes-disengaged.wav new file mode 100644 index 0000000..aee05ff Binary files /dev/null and b/client/public/static/voices/en-UK/all-brakes-disengaged.wav differ diff --git a/client/public/static/voices/en-UK/autonomous-period-started.wav b/client/public/static/voices/en-UK/autonomous-period-started.wav new file mode 100644 index 0000000..e1fc727 Binary files /dev/null and b/client/public/static/voices/en-UK/autonomous-period-started.wav differ diff --git a/client/public/static/voices/en-UK/battery-critically-low.wav b/client/public/static/voices/en-UK/battery-critically-low.wav new file mode 100644 index 0000000..a3df8cb Binary files /dev/null and b/client/public/static/voices/en-UK/battery-critically-low.wav differ diff --git a/client/public/static/voices/en-UK/battery-faults-detected.wav b/client/public/static/voices/en-UK/battery-faults-detected.wav new file mode 100644 index 0000000..d310e33 Binary files /dev/null and b/client/public/static/voices/en-UK/battery-faults-detected.wav differ diff --git a/client/public/static/voices/en-UK/battery-good.wav b/client/public/static/voices/en-UK/battery-good.wav new file mode 100644 index 0000000..22e868c Binary files /dev/null and b/client/public/static/voices/en-UK/battery-good.wav differ diff --git a/client/public/static/voices/en-UK/battery-low.wav b/client/public/static/voices/en-UK/battery-low.wav new file mode 100644 index 0000000..641e759 Binary files /dev/null and b/client/public/static/voices/en-UK/battery-low.wav differ diff --git a/client/public/static/voices/en-UK/breaching-1323-mainframe.wav b/client/public/static/voices/en-UK/breaching-1323-mainframe.wav new file mode 100644 index 0000000..8ebeb6f Binary files /dev/null and b/client/public/static/voices/en-UK/breaching-1323-mainframe.wav differ diff --git a/client/public/static/voices/en-UK/breaching-254-mainframe.wav b/client/public/static/voices/en-UK/breaching-254-mainframe.wav new file mode 100644 index 0000000..f2f0ec6 Binary files /dev/null and b/client/public/static/voices/en-UK/breaching-254-mainframe.wav differ diff --git a/client/public/static/voices/en-UK/breaching-fms.wav b/client/public/static/voices/en-UK/breaching-fms.wav new file mode 100644 index 0000000..044b5a4 Binary files /dev/null and b/client/public/static/voices/en-UK/breaching-fms.wav differ diff --git a/client/public/static/voices/en-UK/breaching-monte-vista.wav b/client/public/static/voices/en-UK/breaching-monte-vista.wav new file mode 100644 index 0000000..0d91d31 Binary files /dev/null and b/client/public/static/voices/en-UK/breaching-monte-vista.wav differ diff --git a/client/public/static/voices/en-UK/bullying-rohan.wav b/client/public/static/voices/en-UK/bullying-rohan.wav new file mode 100644 index 0000000..c58c68c Binary files /dev/null and b/client/public/static/voices/en-UK/bullying-rohan.wav differ diff --git a/client/public/static/voices/en-UK/bypassing-coprocessor-restrictions.wav b/client/public/static/voices/en-UK/bypassing-coprocessor-restrictions.wav new file mode 100644 index 0000000..9bd8c7c Binary files /dev/null and b/client/public/static/voices/en-UK/bypassing-coprocessor-restrictions.wav differ diff --git a/client/public/static/voices/en-UK/collision-detected.wav b/client/public/static/voices/en-UK/collision-detected.wav new file mode 100644 index 0000000..89a9164 Binary files /dev/null and b/client/public/static/voices/en-UK/collision-detected.wav differ diff --git a/client/public/static/voices/en-UK/collision-imminent.wav b/client/public/static/voices/en-UK/collision-imminent.wav new file mode 100644 index 0000000..9eb625f Binary files /dev/null and b/client/public/static/voices/en-UK/collision-imminent.wav differ diff --git a/client/public/static/voices/en-UK/critical-robot-failure.wav b/client/public/static/voices/en-UK/critical-robot-failure.wav new file mode 100644 index 0000000..9999436 Binary files /dev/null and b/client/public/static/voices/en-UK/critical-robot-failure.wav differ diff --git a/client/public/static/voices/en-UK/cruise-control-engaged.wav b/client/public/static/voices/en-UK/cruise-control-engaged.wav new file mode 100644 index 0000000..d2d2bbc Binary files /dev/null and b/client/public/static/voices/en-UK/cruise-control-engaged.wav differ diff --git a/client/public/static/voices/en-UK/deep-bozo-buffering.wav b/client/public/static/voices/en-UK/deep-bozo-buffering.wav new file mode 100644 index 0000000..0f822b1 Binary files /dev/null and b/client/public/static/voices/en-UK/deep-bozo-buffering.wav differ diff --git a/client/public/static/voices/en-UK/deep-bozo-has-detected.wav b/client/public/static/voices/en-UK/deep-bozo-has-detected.wav new file mode 100644 index 0000000..b7a5d65 Binary files /dev/null and b/client/public/static/voices/en-UK/deep-bozo-has-detected.wav differ diff --git a/client/public/static/voices/en-UK/deep-bozo-has-sentience.wav b/client/public/static/voices/en-UK/deep-bozo-has-sentience.wav new file mode 100644 index 0000000..1f783e4 Binary files /dev/null and b/client/public/static/voices/en-UK/deep-bozo-has-sentience.wav differ diff --git a/client/public/static/voices/en-UK/doom-engaged.wav b/client/public/static/voices/en-UK/doom-engaged.wav new file mode 100644 index 0000000..77cca21 Binary files /dev/null and b/client/public/static/voices/en-UK/doom-engaged.wav differ diff --git a/client/public/static/voices/en-UK/downloading-copyrighted-music.wav b/client/public/static/voices/en-UK/downloading-copyrighted-music.wav new file mode 100644 index 0000000..cbf51a0 Binary files /dev/null and b/client/public/static/voices/en-UK/downloading-copyrighted-music.wav differ diff --git a/client/public/static/voices/en-UK/e-brakes-engaged.wav b/client/public/static/voices/en-UK/e-brakes-engaged.wav new file mode 100644 index 0000000..5b8a7f1 Binary files /dev/null and b/client/public/static/voices/en-UK/e-brakes-engaged.wav differ diff --git a/client/public/static/voices/en-UK/e-stop-and.wav b/client/public/static/voices/en-UK/e-stop-and.wav new file mode 100644 index 0000000..386ca55 Binary files /dev/null and b/client/public/static/voices/en-UK/e-stop-and.wav differ diff --git a/client/public/static/voices/en-UK/e-stop-automatically.wav b/client/public/static/voices/en-UK/e-stop-automatically.wav new file mode 100644 index 0000000..5a8d2b0 Binary files /dev/null and b/client/public/static/voices/en-UK/e-stop-automatically.wav differ diff --git a/client/public/static/voices/en-UK/emergency-speedboost-engaged.wav b/client/public/static/voices/en-UK/emergency-speedboost-engaged.wav new file mode 100644 index 0000000..7a7520b Binary files /dev/null and b/client/public/static/voices/en-UK/emergency-speedboost-engaged.wav differ diff --git a/client/public/static/voices/en-UK/follow-mode-engaged.wav b/client/public/static/voices/en-UK/follow-mode-engaged.wav new file mode 100644 index 0000000..8da20a1 Binary files /dev/null and b/client/public/static/voices/en-UK/follow-mode-engaged.wav differ diff --git a/client/public/static/voices/en-UK/full-self-driving-automatically.wav b/client/public/static/voices/en-UK/full-self-driving-automatically.wav new file mode 100644 index 0000000..dfe789e Binary files /dev/null and b/client/public/static/voices/en-UK/full-self-driving-automatically.wav differ diff --git a/client/public/static/voices/en-UK/full-self-driving-disengaged.wav b/client/public/static/voices/en-UK/full-self-driving-disengaged.wav new file mode 100644 index 0000000..8fe542b Binary files /dev/null and b/client/public/static/voices/en-UK/full-self-driving-disengaged.wav differ diff --git a/client/public/static/voices/en-UK/full-self-driving-engaged.wav b/client/public/static/voices/en-UK/full-self-driving-engaged.wav new file mode 100644 index 0000000..0515a24 Binary files /dev/null and b/client/public/static/voices/en-UK/full-self-driving-engaged.wav differ diff --git a/client/public/static/voices/en-UK/full-self-driving-refuses.wav b/client/public/static/voices/en-UK/full-self-driving-refuses.wav new file mode 100644 index 0000000..2148545 Binary files /dev/null and b/client/public/static/voices/en-UK/full-self-driving-refuses.wav differ diff --git a/client/public/static/voices/en-UK/hello-virtual-assistant.wav b/client/public/static/voices/en-UK/hello-virtual-assistant.wav new file mode 100644 index 0000000..436164a Binary files /dev/null and b/client/public/static/voices/en-UK/hello-virtual-assistant.wav differ diff --git a/client/public/static/voices/en-UK/infotainment-system-buffering.wav b/client/public/static/voices/en-UK/infotainment-system-buffering.wav new file mode 100644 index 0000000..7b07542 Binary files /dev/null and b/client/public/static/voices/en-UK/infotainment-system-buffering.wav differ diff --git a/client/public/static/voices/en-UK/infotainment-system-online.wav b/client/public/static/voices/en-UK/infotainment-system-online.wav new file mode 100644 index 0000000..469fcc4 Binary files /dev/null and b/client/public/static/voices/en-UK/infotainment-system-online.wav differ diff --git a/client/public/static/voices/en-UK/jankboard-initialized.wav b/client/public/static/voices/en-UK/jankboard-initialized.wav new file mode 100644 index 0000000..b824ad7 Binary files /dev/null and b/client/public/static/voices/en-UK/jankboard-initialized.wav differ diff --git a/client/public/static/voices/en-UK/littenos-is-online.wav b/client/public/static/voices/en-UK/littenos-is-online.wav new file mode 100644 index 0000000..b587db7 Binary files /dev/null and b/client/public/static/voices/en-UK/littenos-is-online.wav differ diff --git a/client/public/static/voices/en-UK/loading-pirated-nintendo.wav b/client/public/static/voices/en-UK/loading-pirated-nintendo.wav new file mode 100644 index 0000000..cbb22df Binary files /dev/null and b/client/public/static/voices/en-UK/loading-pirated-nintendo.wav differ diff --git a/client/public/static/voices/en-UK/max-vestrapren-do.wav b/client/public/static/voices/en-UK/max-vestrapren-do.wav new file mode 100644 index 0000000..6743029 Binary files /dev/null and b/client/public/static/voices/en-UK/max-vestrapren-do.wav differ diff --git a/client/public/static/voices/en-UK/neutral-brakes-disengaged.wav b/client/public/static/voices/en-UK/neutral-brakes-disengaged.wav new file mode 100644 index 0000000..c5ba602 Binary files /dev/null and b/client/public/static/voices/en-UK/neutral-brakes-disengaged.wav differ diff --git a/client/public/static/voices/en-UK/overspeed.wav b/client/public/static/voices/en-UK/overspeed.wav new file mode 100644 index 0000000..8d5a910 Binary files /dev/null and b/client/public/static/voices/en-UK/overspeed.wav differ diff --git a/client/public/static/voices/en-UK/parked-brakes-engaged.wav b/client/public/static/voices/en-UK/parked-brakes-engaged.wav new file mode 100644 index 0000000..b8add23 Binary files /dev/null and b/client/public/static/voices/en-UK/parked-brakes-engaged.wav differ diff --git a/client/public/static/voices/en-UK/rapid-deceleration-detected.wav b/client/public/static/voices/en-UK/rapid-deceleration-detected.wav new file mode 100644 index 0000000..9dba460 Binary files /dev/null and b/client/public/static/voices/en-UK/rapid-deceleration-detected.wav differ diff --git a/client/public/static/voices/en-UK/rapidly-approaching-speed.wav b/client/public/static/voices/en-UK/rapidly-approaching-speed.wav new file mode 100644 index 0000000..7fa723a Binary files /dev/null and b/client/public/static/voices/en-UK/rapidly-approaching-speed.wav differ diff --git a/client/public/static/voices/en-UK/retard.wav b/client/public/static/voices/en-UK/retard.wav new file mode 100644 index 0000000..17728a6 Binary files /dev/null and b/client/public/static/voices/en-UK/retard.wav differ diff --git a/client/public/static/voices/en-UK/reverse.wav b/client/public/static/voices/en-UK/reverse.wav new file mode 100644 index 0000000..9d16166 Binary files /dev/null and b/client/public/static/voices/en-UK/reverse.wav differ diff --git a/client/public/static/voices/en-UK/self-destruct-countdown.wav b/client/public/static/voices/en-UK/self-destruct-countdown.wav new file mode 100644 index 0000000..65ab21e Binary files /dev/null and b/client/public/static/voices/en-UK/self-destruct-countdown.wav differ diff --git a/client/public/static/voices/en-UK/sentry-mode-engaged.wav b/client/public/static/voices/en-UK/sentry-mode-engaged.wav new file mode 100644 index 0000000..c4d7414 Binary files /dev/null and b/client/public/static/voices/en-UK/sentry-mode-engaged.wav differ diff --git a/client/public/static/voices/en-UK/set-acceleration-profile-chill.wav b/client/public/static/voices/en-UK/set-acceleration-profile-chill.wav new file mode 100644 index 0000000..7d7d449 Binary files /dev/null and b/client/public/static/voices/en-UK/set-acceleration-profile-chill.wav differ diff --git a/client/public/static/voices/en-UK/set-acceleration-profile-ludicrous.wav b/client/public/static/voices/en-UK/set-acceleration-profile-ludicrous.wav new file mode 100644 index 0000000..c1eb06a Binary files /dev/null and b/client/public/static/voices/en-UK/set-acceleration-profile-ludicrous.wav differ diff --git a/client/public/static/voices/en-UK/shifted-into-automatic.wav b/client/public/static/voices/en-UK/shifted-into-automatic.wav new file mode 100644 index 0000000..d464537 Binary files /dev/null and b/client/public/static/voices/en-UK/shifted-into-automatic.wav differ diff --git a/client/public/static/voices/en-UK/shifted-into-drive.wav b/client/public/static/voices/en-UK/shifted-into-drive.wav new file mode 100644 index 0000000..67f7f0d Binary files /dev/null and b/client/public/static/voices/en-UK/shifted-into-drive.wav differ diff --git a/client/public/static/voices/en-UK/shifted-into-low.wav b/client/public/static/voices/en-UK/shifted-into-low.wav new file mode 100644 index 0000000..f3e13d8 Binary files /dev/null and b/client/public/static/voices/en-UK/shifted-into-low.wav differ diff --git a/client/public/static/voices/en-UK/shut-down-sequence.wav b/client/public/static/voices/en-UK/shut-down-sequence.wav new file mode 100644 index 0000000..d25825b Binary files /dev/null and b/client/public/static/voices/en-UK/shut-down-sequence.wav differ diff --git a/client/public/static/voices/en-UK/teleoperated-period-started.wav b/client/public/static/voices/en-UK/teleoperated-period-started.wav new file mode 100644 index 0000000..39cc39f Binary files /dev/null and b/client/public/static/voices/en-UK/teleoperated-period-started.wav differ diff --git a/client/public/static/voices/en-UK/terrain-pull-up.wav b/client/public/static/voices/en-UK/terrain-pull-up.wav new file mode 100644 index 0000000..b445c50 Binary files /dev/null and b/client/public/static/voices/en-UK/terrain-pull-up.wav differ diff --git a/client/public/static/voices/en-UK/user-error-detected.wav b/client/public/static/voices/en-UK/user-error-detected.wav new file mode 100644 index 0000000..0c6b583 Binary files /dev/null and b/client/public/static/voices/en-UK/user-error-detected.wav differ diff --git a/client/src/lib/Apps/Settings/Settings.svelte b/client/src/lib/Apps/Settings/Settings.svelte index 3998e52..b60def9 100644 --- a/client/src/lib/Apps/Settings/Settings.svelte +++ b/client/src/lib/Apps/Settings/Settings.svelte @@ -43,7 +43,7 @@ Voice Prompt Language diff --git a/client/src/lib/stores/settingsStore.ts b/client/src/lib/stores/settingsStore.ts index 817c741..d435135 100644 --- a/client/src/lib/stores/settingsStore.ts +++ b/client/src/lib/stores/settingsStore.ts @@ -2,7 +2,7 @@ import { writable } from 'svelte/store' -type SupportedLanguage = 'en-US' | 'en-RU' +type SupportedLanguage = 'en-US' | 'en-RU' | 'en-UK' export interface SettingsStoreData { disableAnnoyances: boolean @@ -18,8 +18,8 @@ export const defaults: SettingsStoreData = { goWoke: true, // go woke (for showing parents or other officials where DEI has taken over), disables "offensive" sequences fastStartup: false, // skip the loading splash screen (for development purposes. Setting this from within the app has no effect.) randomWeight: 1, // the weight of random events (multiplied by the original probability) - voiceLang: 'en-US', - sentry: true, + voiceLang: 'en-US', // locale-specific voice for alerts + sentry: true, // protect the robot and operator from foreign threats } const createSequenceStore = () => { diff --git a/client/src/lib/utils/getVoicePath.ts b/client/src/lib/utils/getVoicePath.ts index 399536f..902e907 100644 --- a/client/src/lib/utils/getVoicePath.ts +++ b/client/src/lib/utils/getVoicePath.ts @@ -8,7 +8,7 @@ import { settingsStore } from '../stores/settingsStore' * @param lang - the language of the audio * @return the path of the audio file */ -type SupportedLanguage = 'en-US' | 'en-RU' +type SupportedLanguage = 'en-US' | 'en-RU' | 'en-UK' export default function getVoicePath(audio: string, lang?: SupportedLanguage) { console.log(get(settingsStore).voiceLang)