Skip to content

Commit

Permalink
[egs] Fix sox command in multi-Updated sox command (#3667)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaheen A Kader authored and danpovey committed Oct 20, 2019
1 parent be88f30 commit 47d516d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egs/multi_en/s5/local/ami_ihm_data_prep.sh
Expand Up @@ -78,7 +78,7 @@ sed -e 's?.*/??' -e 's?.wav??' $dir/wav.flist | \
awk '{print $2}' $dir/segments | sort -u | join - $dir/wav1.scp > $dir/wav2.scp

#replace path with an appropriate sox command that select single channel only
awk '{print $1" sox -c 1 -t wavpcm -s "$2" -r 8000 -t wavpcm - |"}' $dir/wav2.scp > $dir/wav.scp
awk '{print $1" sox -c 1 -t wavpcm -e signed-integer "$2" -r 8000 -t wavpcm - |"}' $dir/wav2.scp > $dir/wav.scp

# (1d) reco2file_and_channel
cat $dir/wav.scp \
Expand Down

0 comments on commit 47d516d

Please sign in to comment.