feat(mobile): redesign today home and switch mentor persona to female
- today: immersive community hero + hold-to-talk voice card, numbered schedule rows, common-functions grid (learning/report/question-board) - login: female mentor bust; sop: female mentor chat avatars - speech: raise browser-fallback mentor pitch to match female voice
This commit is contained in:
@@ -151,7 +151,7 @@ export const createSpeechPlaybackController = (
|
||||
const utterance = new window.SpeechSynthesisUtterance(value.slice(0, 600));
|
||||
utterance.lang = 'zh-CN';
|
||||
utterance.rate = profile?.speed || 0.95;
|
||||
utterance.pitch = profile?.role === 'mentor' ? 0.85 : profile?.role === 'customer' ? 1.05 : 1;
|
||||
utterance.pitch = profile?.role === 'mentor' ? 1.06 : profile?.role === 'customer' ? 1.05 : 1;
|
||||
utterance.onend = () => {
|
||||
if (currentGeneration === generation && activeKey === key) stop();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user