mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
feat(tts): Add Chinese TTS lib for ESP32-S3
This commit is contained in:
parent
56f68ced8f
commit
27d9f324c6
@ -52,6 +52,7 @@ elseif(${IDF_TARGET} STREQUAL "esp32s2")
|
||||
"-Wl,--end-group")
|
||||
elseif(${IDF_TARGET} STREQUAL "esp32s3")
|
||||
target_link_libraries(${COMPONENT_TARGET} "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32s3")
|
||||
target_link_libraries(${COMPONENT_TARGET} "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp-tts/esp_tts_chinese")
|
||||
|
||||
add_prebuilt_library(esp_audio_processor "${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32s3/libesp_audio_processor.a" PRIV_REQUIRES esp-sr)
|
||||
add_prebuilt_library(wakenet "${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32s3/libwakenet.a" PRIV_REQUIRES esp-sr)
|
||||
@ -67,6 +68,8 @@ elseif(${IDF_TARGET} STREQUAL "esp32s3")
|
||||
esp_audio_front_end
|
||||
esp_audio_processor
|
||||
multinet
|
||||
esp_tts_chinese_esp32s3
|
||||
voice_set_xiaole_esp32s3
|
||||
"-Wl,--end-group")
|
||||
|
||||
set(MVMODEL_EXE ${COMPONENT_PATH}/model/movemodel.py)
|
||||
|
||||
@ -22,3 +22,10 @@ target_link_libraries(${COMPONENT_TARGET} INTERFACE
|
||||
voice_set_template_esp32s2
|
||||
)
|
||||
endif()
|
||||
|
||||
if(IDF_TARGET STREQUAL "esp32s3")
|
||||
target_link_libraries(${COMPONENT_TARGET} INTERFACE
|
||||
esp_tts_chinese_esp32s3
|
||||
voice_set_xiaole_esp32s3
|
||||
)
|
||||
endif()
|
||||
BIN
esp-tts/esp_tts_chinese/libesp_tts_chinese_esp32s3.a
Normal file
BIN
esp-tts/esp_tts_chinese/libesp_tts_chinese_esp32s3.a
Normal file
Binary file not shown.
BIN
esp-tts/esp_tts_chinese/libvoice_set_xiaole_esp32s3.a
Normal file
BIN
esp-tts/esp_tts_chinese/libvoice_set_xiaole_esp32s3.a
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user