-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
da2eee2
commit 0114d30
Showing
36 changed files
with
185 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
export const OPENAI_BASE_URL = 'https://api.openai.com/v1'; | ||
export const OPENAI_TTS_API = '/api/openai-tts'; | ||
export const OPENAI_STT_API = '/api/openai-stt'; | ||
export const EDGE_SPEECH_API = '/api/edge-speech'; | ||
export const MICROSOFT_SPEECH_API = '/api/microsoft-speech'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export default [ | ||
'affectionate', | ||
'angry', | ||
'calm', | ||
'cheerful', | ||
'disgruntled', | ||
'embarrassed', | ||
'fearful', | ||
'general', | ||
'gentle', | ||
'sad', | ||
'serious', | ||
] as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
export { type EdgeSpeechPayload, EdgeSpeechTTS } from '@/core/EdgeSpeechTTS'; | ||
export { type MicrosoftSpeechPayload, MicrosoftSpeechTTS } from '@/core/MicrosoftSpeechTTS'; | ||
export { OpenaiSTT, type OpenAISTTPayload } from '@/core/OpenAISTT'; | ||
export type { OpenAITTSPayload, OpenaiVoice } from '@/core/OpenAITTS'; | ||
export { OpenAITTS } from '@/core/OpenAITTS'; | ||
export { type EdgeSpeechAPI, type EdgeSpeechPayload, EdgeSpeechTTS } from '@/core/EdgeSpeechTTS'; | ||
export { | ||
type MicrosoftSpeechAPI, | ||
type MicrosoftSpeechPayload, | ||
MicrosoftSpeechTTS, | ||
} from '@/core/MicrosoftSpeechTTS'; | ||
export { OpenaiSTT, type OpenAISTTAPI, type OpenAISTTPayload } from '@/core/OpenAISTT'; | ||
export { | ||
OpenAITTS, | ||
type OpenAITTSAPI, | ||
type OpenAITTSPayload, | ||
type OpenaiVoice, | ||
} from '@/core/OpenAITTS'; | ||
export { SpeechSynthesisTTS } from '@/core/SpeechSynthesisTTS'; | ||
export { type RecordMineType } from '@/core/utils/getRecordMineType'; | ||
export { getRecordMineType, type RecordMineType } from '@/core/utils/getRecordMineType'; | ||
export { VoiceList } from '@/core/VoiceList'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export const MICROSOFT_SPEECH_API_URL = '/api/microsoft-speech'; | ||
export const EDGE_SPEECH_API_URL = '/api/edge-speech'; | ||
export const MICROSOFT_SPEECH_BACKEND_URL = '/api/microsoft-speech'; | ||
export const EDGE_SPEECH_BACKEND_URL = '/api/edge-speech'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.