forked from marytts/voice-cmu-awb-time
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
65 lines (55 loc) · 1.38 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
plugins {
id 'de.dfki.mary.voicebuilding-legacy' version '5.4'
id 'de.dfki.mary.voicebuilding-festvox' version '5.4'
}
group 'de.dfki.mary'
version '5.3-SNAPSHOT'
marytts.voice {
name = 'cmu-awb-time'
language = 'en'
region = 'US'
gender = 'male'
type = 'unit selection'
description = 'A male Scottish English limited-domain unit selection voice, built from recordings provided by Carnegie Mellon University'
samplingRate = 16000
}
repositories {
ivy {
url 'https://dl.bintray.com/marytts/marytts'
layout 'pattern', {
artifact '[organisation]/[module]/[artifact].[ext]'
}
}
ivy {
url 'http://festvox.org/examples'
layout 'pattern', {
artifact '[module]_[classifier]/packed/[artifact].[ext]'
}
}
}
dependencies {
data group: 'org.festvox', name: 'cmu_time_awb', classifier: 'ldom', ext: 'tar.bz2'
}
text {
srcFile = file("$sourceSets.data.output.resourcesDir/time.data")
}
basenames {
textDir = text.destDir
labDir = lab.destDir
}
generateAllophones {
srcDir = text.destDir
}
processPhoneLabels {
srcDir = lab.destDir
}
alignLabelsWithPrompts {
labDir = lab.destDir
}
generateVoiceConfig {
afterEvaluate {
config.get() << [
exampleTextFile: "jar:/marytts/voice/$marytts.voice.nameCamelCase/exampleText.txt",
]
}
}