이슈관리
-
[이슈관리] Unity에서 Google Speech API Asset의 C# Script 고치기CS/졸업 프로젝트(Duk to Me) 2023. 6. 26. 07:04
상황 Unity와 연결하여 사용 중인 Google Speech API Asset(https://assetstore.unity.com/packages/tools/ai-integration/speech-recognition-using-google-cloud-vr-ar-mobile-desktop-pro-72625)에서 제공하는 C# Script에서 인식된 음성을 특정 텍스트와 비교하여 Matched 결과를 알 수 있도록 RecognizeSuccessEventHandler를 수정하려고 한다. private void RecognizeSuccessEventHandler(RecognitionResponse recognitionResponse) { string transcript = recognitionRespons..
-
[이슈관리] Google Cloud Text-to-Speech(TTS) API, 목소리 성별 바꾸기CS/졸업 프로젝트(Duk to Me) 2023. 6. 26. 05:58
상황 지난번에 설정했던 Google TTS Python 코드에서는 성별이 중성으로 밖에 출력이 안되었다. # Build the voice request, select the language code ("en-US") and the ssml # voice gender ("neutral") voice = texttospeech.VoiceSelectionParams( language_code="en-US", ssml_gender=texttospeech.SsmlVoiceGender.NEUTRAL 위 코드에서 'NEUTRAL'을 아무리 'FEMALE', 'MALE'로 바꾸어도 먹히지 않았다. 해결 공식문서에서 제공하는 이미 정의되어 있는 목소리 설정(https://cloud.google.com/text-to-..