comparison experiments/scripts/master.sh @ 59:b990812568d2

- AWS scripts update (path 2)
author tomwalters
date Wed, 11 Aug 2010 09:09:38 +0000
parents 8be2b22a6593
children 5292b8a7ae4b
comparison
equal deleted inserted replaced
58:8be2b22a6593 59:b990812568d2
34 tar -x -C $SOUNDS_ROOT -f $SYLLABLES_DATABASE_TAR 34 tar -x -C $SOUNDS_ROOT -f $SYLLABLES_DATABASE_TAR
35 touch $SOUNDS_ROOT/.untar_db_success 35 touch $SOUNDS_ROOT/.untar_db_success
36 fi 36 fi
37 37
38 # Convert the database to .WAV format and place it in $SOUNDS_ROOT/clean 38 # Convert the database to .WAV format and place it in $SOUNDS_ROOT/clean
39 ./cnbh-syllables/convert_flac_to_wave.sh $SOUNDS_ROOT 39 ./cnbh-syllables/feature_generation/convert_flac_to_wave.sh $SOUNDS_ROOT
40 40
41 # Generate versions of the CNBH syllables spoke pattern with a range of 41 # Generate versions of the CNBH syllables spoke pattern with a range of
42 # signal-to-noise ratios (SNRs). The versions are put in the directory 42 # signal-to-noise ratios (SNRs). The versions are put in the directory
43 # ${SOUNDS_ROOT}/${SNR}_dB/ for each SNR in $SNRS. 43 # ${SOUNDS_ROOT}/${SNR}_dB/ for each SNR in $SNRS.
44 SNRS="30 27 24 21 18 15 12 9 6 3 0" 44 SNRS="30 27 24 21 18 15 12 9 6 3 0"
45 ./cnbh-syllables/pink_noise.sh $SOUNDS_ROOT/clean/ $SNRS 45 ./cnbh-syllables/feature_generation/pink_noise.sh $SOUNDS_ROOT/clean/ $SNRS
46 46
47 # Make the list of all feature drectories 47 # Make the list of all feature drectories
48 FEATURE_DIRS="clean" 48 FEATURE_DIRS="clean"
49 for SNR in $SNRS; do 49 for SNR in $SNRS; do
50 FEATURE_DIRS="$FEATURE_DIRS snr_${SNR}dB" 50 FEATURE_DIRS="$FEATURE_DIRS snr_${SNR}dB"