Tryag File Manager
Home
-
Turbo Force
Current Path :
/
home
/
cluster1
/
data
/
bu01
/
1121861
/
html
/
poser
/
Foley programs and data
/
Upload File :
New :
File
Dir
/home/cluster1/data/bu01/1121861/html/poser/Foley programs and data/README-segmentation
o Go to the session's directory created as described in README-upload: e.g., ./createCDdir tapeN_SS cd /pkg/ldc/talkbank/nahuatl/DAT/tapeN_SS o Create two mono sound files, and put them in the directory. e.g., cd /pkg/ldc/talkbank/nahuatl/tapeN-SS /pkg/ldc/talkbank/nahuatl/stereo-to-mono.sh ../tapeN-S/tapeN-S.wav This will create two files: tapeN-SL.wav and tapeN-SR.wav in /pkg/ldc/talkbank/nahuatl/DAT/tapeN_SS. o Run the automatic segmentation program. e.g., For tapeN-SL.wav file: cd /pkg/ldc/talkbank/nahuatl/DAT/tapeN_SS /pkg/ldc/fieldwork/bin/filecutter -s 44100 -p tapeN-SL tapeN-SL.wav > tapeN-SL.log For tapeN-SR.wav file: /pkg/ldc/fieldwork/bin/filecutter -s 44100 -p tapeN-SR tapeN-SR.wav > tapeN-SR.log If the computer complains that it cannot overwrite the log file, you can rename the log file as below, and run the program again: mv tapeN-SL.log tapeN-SL.log.old2 o Copy the time-stamp files for the tape: e.g., cp /pkg/ldc/talkbank/nahuatl/tapeLog/tapeN-S.time /pkg/ldc/talkbank/nahuatl/DAT/tapeN_SS/ o Make a list for all male utterances. grep OM tapeN-S.time > tapeN-SM.time And for all female utterances. grep OF tapeN-S.time > tapeN-SF.time o Run the file matching program to check the sound files. e.g., /pkg/ldc/talkbank/nahuatl/newmatchfiles tapeN-SM.time tapeN-SL and /pkg/ldc/talkbank/nahuatl/newmatchfiles tapeN-SF.time tapeN-SR o Copy individual files and reneme them. mkdir FINAL chgrp ldc FINAL chmod 775 FINAL /pkg/ldc/talkbank/nahuatl/copyFiles.perl tapeN-SF.time /pkg/ldc/talkbank/nahuatl/copyFiles.perl tapeN-SM.time This will create files: 00001_f.wav 00001_m.wav 00002_f.wav 00002_f.wav ... in the FINAL subdirectory.