-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
44 lines (38 loc) · 1.04 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
plugins {
id 'base'
id 'de.undercouch.download' version '3.0.0'
}
group 'de.dfki.mary'
version '0.2-SNAPSHOT'
description 'The PAVOQUE corpus of expressive speech'
ext {
styles = ['angry', 'happy', 'neutral', 'poker', 'sad']
yamlFiles = styles.collect { file("pavoque-${it}.yaml") }
}
task download {
group 'Build'
description 'Download audio files'
doLast {
download {
src styles.collect { style ->
"https://github.com/marytts/pavoque-data/releases/download/v0.2/pavoque-${style}.flac"
}
dest projectDir
overwrite false
compress false
acceptAnyCertificate true
}
}
}
task text(type: ExtractTextTask) {
description "Extract utterance text as text files into $destDir"
group 'Build'
}
task lab(type: ExtractLabTask) {
description "Extract segments as Xwaves label files into $destDir"
group 'Build'
}
task wav(type: ExtractWavTask) {
description "Extract audio as WAV files into $destDir"
group 'Build'
}