entrainement hts [closed]

asked 2012-10-20 00:22:55 -0600

krichi gravatar image

i do a small database to running HTS, fichier .raw and mono.lab and full.lab and folder gen without folder .utt becaouse i don't have it.after configuration i write make **mohamed@mohamed-Inspiron-1545:~$ cd HTS-demo_CMU-ARCTIC-SLT mohamed@mohamed-Inspiron-1545:~/HTS-demo_CMU-ARCTIC-SLT$ make make[1]: entrant dans le répertoire « /home/mohamed/HTS-demo_CMU-ARCTIC-SLT/data »

Extracting MGC or MGC-LSP coefficients from raw audio

mkdir -p mgc for raw in raw/cmu_us_arctic_slt_*.raw; do \ base=basename ${raw} .raw; \ min=/usr/local/SPTK/bin/x2x +sf ${raw} | /usr/local/SPTK/bin/minmax | /usr/local/SPTK/bin/x2x +fa | head -n 1; \ max=/usr/local/SPTK/bin/x2x +sf ${raw} | /usr/local/SPTK/bin/minmax | /usr/local/SPTK/bin/x2x +fa | tail -n 1; \ if [ -s ${raw} -a ${min} -gt -32768 -a ${max} -lt 32767 ]; then \ /usr/local/SPTK/bin/x2x +sf ${raw} > tmp; \ if [ 0 -eq 0 ]; then \ echo "Extracting MGC coefficients from ${raw}"; \ /usr/local/SPTK/bin/frame -l 400 -p 80 tmp | \ /usr/local/SPTK/bin/window -l 400 -L 2048 -w 1 -n 1 | \ /usr/local/SPTK/bin/mcep -a 0.42 -m 34 -l 2048 -e 1.0E-08 > mgc/${base}.mgc; \ else \ echo "Extracting MGC-LSP coefficients from ${raw}"; \ SAMPKHZ=expr 16000 / 1000; \ if [ 1 -eq 1 ]; then \ GAINOPT="-l"; \ fi; \ /usr/local/SPTK/bin/frame -l 400 -p 80 tmp | \ /usr/local/SPTK/bin/window -l 400 -L 2048 -w 1 -n 1 | \ /usr/local/SPTK/bin/mcep -a 0.42 -c 0 -m 34 -l 2048 -e 1.0E-08 -o 4 | \ /usr/local/SPTK/bin/lpc2lsp -m 34 -s ${SAMPKHZ} ${GAINOPT} -n 2048 -p 8 -d 1.0E-08 > mgc/${base}.mgc; \ fi; \ if [ -n "/usr/local/SPTK/bin/nan mgc/${base}.mgc" ]; then \ echo " Failed to extract MGC coefficients from ${raw}"; \ rm -f mgc/${base}.mgc; \ fi; \ fi; \ done Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0001.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0002.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0003.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0004.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0005.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0006.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0007.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0008.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0009.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0010.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0011.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0012.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0013.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0014.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0015.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0016.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0017.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0018.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0019.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0020.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0021.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0022.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0023.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0024.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0025.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0026.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0027.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0028.raw Extracting MGC coefficients from raw/cmu_us_arctic_slt_a0029 ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by Kevin
close date 2012-10-20 02:08:46

Comments

Does this have anything to do with ROS?

Kevin gravatar image Kevin  ( 2012-10-20 02:05:11 -0600 )edit