Skip to content

Instantly share code, notes, and snippets.

@r9y9
Last active January 5, 2021 11:07
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save r9y9/ff67c05aeb87410eae2e to your computer and use it in GitHub Desktop.
Save r9y9/ff67c05aeb87410eae2e to your computer and use it in GitHub Desktop.
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
Copy link
Author

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