Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CMU ARCTIC download script
#!/bin/bash
# This is a yet another download script for the cmu arctic speech corpus.
# The corpus will be downloaded in $HOME/data/cmu_arctic/
location=$HOME/data/cmu_arctic/
if [ ! -e $location ]
then
echo "Create " $location
mkdir -p $location
fi
root=http://festvox.org/cmu_arctic/packed/
cd $location
function download() {
identifier=$1
file=$2
echo "start downloading $identifier, $file"
mkdir -p tmp
curl -L -o tmp/${identifier}.tar.bz2 $file
tar xjvf tmp/${identifier}.tar.bz2
rm -rf tmp
}
for f in aew ahw aup awb axb bdl clb eey fem gka jmk ksp ljm lnh rms rxr slp slt
do
zipfile=${root}cmu_us_${f}_arctic.tar.bz2
download $f $zipfile
done
@r9y9

This comment has been minimized.

Copy link
Owner Author

@r9y9 r9y9 commented Nov 29, 2019

Added more speakers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.