diff --git a/app/pages/classroom-introduction.vue b/app/pages/classroom-introduction.vue index 3d0f809..fe5f7fb 100644 --- a/app/pages/classroom-introduction.vue +++ b/app/pages/classroom-introduction.vue @@ -511,7 +511,7 @@ function handleClassroomEntry() { } const voiceMode = ref('text') -const radioLevel = ref(4) +const radioLevel = ref(5) const hasCompletedRadioCheck = ref(false) const tourStarted = ref(false) const stageIndex = ref(0) diff --git a/app/pages/classroom.vue b/app/pages/classroom.vue index 924b1b1..e18411c 100644 --- a/app/pages/classroom.vue +++ b/app/pages/classroom.vue @@ -4035,7 +4035,7 @@ async function playAudioSource(source: CachedAudio, targetRate: number, token: n audioElement.value = null - const readability = Math.max(1, Math.min(5, cfg.value.radioLevel || 3)) + const readability = Math.max(1, Math.min(5, cfg.value.radioLevel || 5)) const mime = source.mime || 'audio/wav' const dataUrl = `data:${mime};base64,${source.base64}` diff --git a/app/pages/pm.vue b/app/pages/pm.vue index 2243821..bf80f91 100644 --- a/app/pages/pm.vue +++ b/app/pages/pm.vue @@ -1333,7 +1333,7 @@ const radioMode = ref<'atc' | 'intercom'>('atc') const isRecording = ref(false) const micPermission = ref(false) const swapAnimation = ref(false) -const signalStrength = ref(4) +const signalStrength = ref(5) const speechSpeed = ref(0.95) const radioCheckLoading = ref(false) const radioEffectsEnabled = ref(true) diff --git a/server/models/LearnProfile.ts b/server/models/LearnProfile.ts index 0aa3312..91e5705 100644 --- a/server/models/LearnProfile.ts +++ b/server/models/LearnProfile.ts @@ -19,7 +19,7 @@ const learnProfileSchema = new mongoose.Schema( unlockedModules: { type: [String], default: () => [] }, config: { tts: { type: Boolean, default: false }, - radioLevel: { type: Number, default: 4, min: 1, max: 5 }, + radioLevel: { type: Number, default: 5, min: 1, max: 5 }, voice: { type: String, default: '', trim: true }, audioChallenge: { type: Boolean, default: false }, audioSpeed: { type: Number, default: 1, min: 0.5, max: 2 }, diff --git a/shared/learn/config.ts b/shared/learn/config.ts index 3f4f2fe..68096e0 100644 --- a/shared/learn/config.ts +++ b/shared/learn/config.ts @@ -22,7 +22,7 @@ export interface LearnState { export const LEARN_CONFIG_DEFAULTS: LearnConfig = { tts: false, - radioLevel: 4, + radioLevel: 5, voice: '', audioChallenge: true, audioSpeed: 1, diff --git a/shared/utils/radioEffects.ts b/shared/utils/radioEffects.ts index 83ad3e7..c78c4db 100644 --- a/shared/utils/radioEffects.ts +++ b/shared/utils/radioEffects.ts @@ -50,22 +50,22 @@ const readabilityProfiles: Record = { noise: { amplitude: 0.055, bandFrequency: 1950, bandQ: 1.2 } }, 4: { - eq: { highpass: 280, highpassQ: 0.65, lowpass: 3600, lowpassQ: 0.8, bandpass: { frequency: 2200, q: 1.15 } }, - presence: { frequency: 2500, q: 1.25, gain: 2.2 }, - distortions: [90], - tremolos: [{ depth: 0.06, speed: 2.9, type: 'sine' }], - gain: 0.97, - compressor: { threshold: -26, ratio: 9.5, attack: 0.0025, release: 0.2 }, - noise: { amplitude: 0.024, bandFrequency: 2100, bandQ: 1.05 } + eq: { highpass: 250, highpassQ: 0.6, lowpass: 4200, lowpassQ: 0.78, bandpass: { frequency: 2400, q: 1.05 } }, + presence: { frequency: 2700, q: 1.18, gain: 2.6 }, + distortions: [60], + tremolos: [{ depth: 0.05, speed: 2.6, type: 'sine' }], + gain: 0.99, + compressor: { threshold: -25, ratio: 9, attack: 0.0024, release: 0.19 }, + noise: { amplitude: 0.018, bandFrequency: 2150, bandQ: 1 } }, 5: { - eq: { highpass: 240, highpassQ: 0.6, lowpass: 4100, lowpassQ: 0.76, bandpass: { frequency: 2350, q: 1 } }, - presence: { frequency: 2750, q: 1.1, gain: 2 }, - distortions: [45], - tremolos: [{ depth: 0.03, speed: 2.1, type: 'sine' }], - gain: 1.02, - compressor: { threshold: -24, ratio: 8.5, attack: 0.0023, release: 0.17 }, - noise: { amplitude: 0.012, bandFrequency: 2200, bandQ: 0.95 } + eq: { highpass: 220, highpassQ: 0.5, lowpass: 4800, lowpassQ: 0.72, bandpass: { frequency: 2550, q: 0.95 } }, + presence: { frequency: 3000, q: 1.05, gain: 2.4 }, + distortions: [35], + tremolos: [{ depth: 0.025, speed: 1.9, type: 'sine' }], + gain: 1.04, + compressor: { threshold: -23, ratio: 8, attack: 0.0022, release: 0.16 }, + noise: { amplitude: 0.009, bandFrequency: 2250, bandQ: 0.9 } } }