初始化 TTS 引擎工程:Android 系统引擎、Go 在线合成服务与测试客户端
- android-engine:TextToSpeechService 引擎,含设置页、语音包导入(SHA-256 校验)与预热 - server:Go CPU 合成服务与部署文件 - test-client:端到端验证客户端 - 模型与语音包不入库,见 models/README.md
This commit is contained in:
commit
1856de97bc
62 files changed
+3787
No files matched your search
@@ -0,0 +1,42 @@
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
}
|
||||
|
||||
android {
|
||||
namespace 'com.ttstd.tts.engine'
|
||||
compileSdk 37
|
||||
|
||||
defaultConfig {
|
||||
applicationId 'com.ttstd.tts.engine'
|
||||
minSdk 23
|
||||
targetSdk 37
|
||||
versionCode 1
|
||||
versionName '0.1.0'
|
||||
|
||||
ndk {
|
||||
abiFilters 'arm64-v8a'
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
lint {
|
||||
abortOnError false
|
||||
checkReleaseBuilds = false
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation files('libs/sherpa-onnx-2.0.1.aar')
|
||||
implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.4.21'
|
||||
}
|
||||
Reference in new issue
Block a user