feat(speech): add role-aware emotional TTS profiles
This commit is contained in:
@@ -261,7 +261,7 @@ import {
|
||||
} from '@/services/auth';
|
||||
import { resetPageScroll } from '@/services/navigation';
|
||||
import { ensureEmployeePosition } from '@/services/position';
|
||||
import { chooseSpeechAudio, createSpeechPlaybackController, measureAudioDuration, transcribeSpeechBlob, transcribeSpeechFile } from '@/services/speech';
|
||||
import { chooseSpeechAudio, createSpeechPlaybackController, measureAudioDuration, MENTOR_VOICE_PROFILE, transcribeSpeechBlob, transcribeSpeechFile } from '@/services/speech';
|
||||
import { downloadSummaryCardImage } from '@/services/summary-card-image';
|
||||
import { computed } from 'vue';
|
||||
|
||||
@@ -337,7 +337,8 @@ const defaultToolCode = computed<'MY_PRACTICE_SUMMARY' | 'TEAM_PRACTICE_SUMMARY'
|
||||
|
||||
const speechPlayback = createSpeechPlaybackController(
|
||||
(state) => { speechState.value = state; },
|
||||
(text) => { uni.showToast({ title: text, icon: 'none' }); }
|
||||
(text) => { uni.showToast({ title: text, icon: 'none' }); },
|
||||
MENTOR_VOICE_PROFILE
|
||||
);
|
||||
|
||||
const scrollToBottom = () => {
|
||||
|
||||
Reference in New Issue
Block a user