Blame view

spkDiarization/02a_RUN_spro_front-end.sh 2.42 KB
3f2992b2c   bostx   V1.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
  #!/bin/bash
  
  ####################################################################
  #	RUN Spro Front-End
  #
  #	This script is distributed in the hope that it will useful but WITHOUT ANY WARRANTY.
  #
  #	This tutorial is designed to help getting an hand on the LIA_RAL toolkit  by introducting 
  #	the main executables in context.
  #
  #	Executables used in this script are part of the ALIZE toolkit.
  #	When using ALIZE, please use the citation provided below:
  #
  #	A. Larcher, J.-F. Bonastre, B. Fauve, K.A. Lee, C. Levy, H. Li, J.S.D. Mason, J.-Y Parfait, 
  #	"ALIZE 3.0 - Open Source Toolkit for State-of-the-Art Speaker Recognition," 
  #	in Annual Conference of the International Speech Communication Association (Interspeech), 2013
  #
  #		by Anthony Larcher
  #		alarcher - at- i2r.a-star.edu.sg
  #
  #		07/06/2013
  ####################################################################
  	 
  # This script process the acoustic feature files extracted from the SPHERE files by using Spro
  # If those features have not been generated (in directory ./spkDiarization/data/prm/) you need to run 
  #
  #	01_RUN_feature_extraction.sh
  #
  # or decompress the archive SPRO_features.tar.gz located in ./spkDiarization/data/ into ./spkDiarization/data/prm/
  #
  # After this script is completed, you will get normalized feature files in ./spkDiarization/data/prm/ (extension *.norm.prm)
  # as well as label files indicating the time label of speech frames in ./spkDiarization/data/lbl/
  	 
          echo "Normalise energy : `date` "
  	CMD_NORM_E="spkDiarization/bin/NormFeat --config spkDiarization/cfg/NormFeat_energy_SPro.cfg --inputFeatureFilename spkDiarization/data/data.lst --featureFilesPath  spkDiarization/data/prm/"
  	echo $CMD_NORM_E
  	$CMD_NORM_E
          echo "End normalise energy : `date`
   "
  
          echo "Energy Detector : `date` "
          CMD_ENERGY="spkDiarization/bin/EnergyDetector --config spkDiarization/cfg/EnergyDetector_SPro.cfg --inputFeatureFilename spkDiarization/data/data.lst --featureFilesPath  spkDiarization/data/prm/ --labelFilesPath spkDiarization/data/lbl/"
  	echo $CMD_ENERGY
  	$CMD_ENERGY
          echo "End energy detector : `date`
   "
  
          echo "Normalise Features : `date`"
          CMD_NORM="spkDiarization/bin/NormFeat --config spkDiarization/cfg/NormFeat_SPro.cfg --inputFeatureFilename spkDiarization/data/data.lst --featureFilesPath spkDiarization/data/prm/ --labelFilesPath spkDiarization/data/lbl/"
  	echo $CMD_NORM
  	$CMD_NORM
          echo "End Normalise Features : `date`"