-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing files for the mdm8 experiments
- Loading branch information
1 parent
b927e6f
commit d9d2668
Showing
2 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#BeamformIt sample configuration file for AMI data (http://groups.inf.ed.ac.uk/ami/download/) | ||
|
||
# scrolling size to compute the delays | ||
scroll_size = 250 | ||
|
||
# cross correlation computation window size | ||
window_size = 500 | ||
|
||
#amount of maximum points for the xcorrelation taken into account | ||
nbest_amount = 4 | ||
|
||
#flag wether to apply an automatic noise thresholding | ||
do_noise_threshold = 1 | ||
|
||
#Percentage of frames with lower xcorr taken as noisy | ||
noise_percent = 10 | ||
|
||
######## acoustic modelling parameters | ||
|
||
#transition probabilities weight for multichannel decoding | ||
trans_weight_multi = 25 | ||
trans_weight_nbest = 25 | ||
|
||
### | ||
|
||
#flag wether to print the feaures after setting them, or not | ||
print_features = 1 | ||
|
||
#flag wether to use the bad frames in the sum process | ||
do_avoid_bad_frames = 1 | ||
|
||
#flag to use the best channel (SNR) as a reference | ||
#defined from command line | ||
do_compute_reference = 1 | ||
|
||
#flag wether to use a uem file or not(process all the file) | ||
do_use_uem_file = 0 | ||
|
||
#flag wether to use an adaptative weights scheme or fixed weights | ||
do_adapt_weights = 1 | ||
|
||
#flag wether to output the sph files or just run the system to create the auxiliary files | ||
do_write_sph_files = 1 | ||
|
||
####directories where to store/retrieve info#### | ||
#channels_file = ./cfg-files/channels | ||
|
||
#show needs to be passed as argument normally, here a default one is given just in case | ||
#show_id = Ttmp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2014, University of Edinburgh (Author: Pawel Swietojanski) | ||
|
||
. ./path.sh | ||
|
||
nj=$1 | ||
job=$2 | ||
numch=$3 | ||
meetings=$4 | ||
sdir=$5 | ||
odir=$6 | ||
wdir=data/local/beamforming | ||
|
||
set -e | ||
set -u | ||
|
||
utils/split_scp.pl -j $nj $((job-1)) $meetings $meetings.$job | ||
|
||
while read line; do | ||
|
||
mkdir -p $odir/$line | ||
BeamformIt -s $line -c $wdir/channels_$numch \ | ||
--config_file `pwd`/conf/ami_beamformit.cfg \ | ||
--source_dir $sdir \ | ||
--result_dir $odir/$line | ||
mkdir -p $odir/$line | ||
mv $odir/$line/${line}.del $odir/$line/${line}_MDM$numch.del | ||
mv $odir/$line/${line}.del2 $odir/$line/${line}_MDM$numch.del2 | ||
mv $odir/$line/${line}.info $odir/$line/${line}_MDM$numch.info | ||
mv $odir/$line/${line}.weat $odir/$line/${line}_MDM$numch.weat | ||
mv $odir/$line/${line}.wav $odir/$line/${line}_MDM$numch.wav | ||
#mv $odir/$line/${line}.ovl $odir/$line/${line}_MDM$numch.ovl # Was not created! | ||
|
||
done < $meetings.$job | ||
|