#! /bin/sh

# 8kHz mode

# Version without XAFE 
# Compute only BOPS
bin/AdvFrontEnd -F RAW -fs 8 -swap  v10770c7.it1.08 v10770c7.it1_08.NOXAFE.cep
bin/coder v10770c7.it1_08.NOXAFE.cep  v10770c7.it1_08.NOXAFE.bs  v10770c7.it1_08.NOXAFE.txt -freq 8 -VAD
bin/decoder v10770c7.it1_08.NOXAFE.bs   v10770c7.it1_08.NOXAFE_quant.cep -VAD


# Version with XAFE 
# Compute only BOPS
bin/ExtAdvFrontEnd -F RAW -fs 8 -swap  v10770c7.it1.08 v10770c7.it1_08.XAFE.cep v10770c7.it1_08.XAFE.pitch v10770c7.it1_08.XAFE.class
bin/ExtCoder v10770c7.it1_08.XAFE.cep v10770c7.it1_08.XAFE.pitch v10770c7.it1_08.XAFE.class v10770c7.it1_08.XAFE.bs  v10770c7.it1_08.XAFE.txt v10770c7.it1_08.XAFE.pitch_o -freq 8 -VAD
bin/ExtDecoder v10770c7.it1_08.XAFE.bs   v10770c7.it1_08.XAFE_quant.cep v10770c7.it1_08.XAFE.pitch_do v10770c7.it1_08.XAFE.class_do v10770c7.it1_08.XAFE.error -VAD

# 16kHz mode

# Version without XAFE 
# Compute only BOPS
bin/AdvFrontEnd -F RAW -fs 16 -swap  v10770c7.it1.16 v10770c7.it1_16.NOXAFE.cep
bin/coder v10770c7.it1_16.NOXAFE.cep  v10770c7.it1_16.NOXAFE.bs  v10770c7.it1_16.NOXAFE.txt -freq 16 -VAD
bin/decoder v10770c7.it1_16.NOXAFE.bs   v10770c7.it1_16.NOXAFE_quant.cep -VAD


# Version with XAFE 
# Compute only BOPS
bin/ExtAdvFrontEnd -F RAW -fs 16 -swap  v10770c7.it1.16 v10770c7.it1_16.XAFE.cep v10770c7.it1_16.XAFE.pitch v10770c7.it1_16.XAFE.class
bin/ExtCoder v10770c7.it1_16.XAFE.cep v10770c7.it1_16.XAFE.pitch v10770c7.it1_16.XAFE.class v10770c7.it1_16.XAFE.bs  v10770c7.it1_16.XAFE.txt v10770c7.it1_16.XAFE.pitch_o -freq 16 -VAD
bin/ExtDecoder v10770c7.it1_16.XAFE.bs   v10770c7.it1_16.XAFE_quant.cep v10770c7.it1_16.XAFE.pitch_do v10770c7.it1_16.XAFE.class_do v10770c7.it1_16.XAFE.error -VAD


#Second test file


 
# 8kHz mode

# Version without XAFE 
# Compute only BOPS
bin/AdvFrontEnd -F RAW -fs 8 -swap  v10800c4.sf1.08 v10800c4.sf1_08.NOXAFE.cep
bin/coder v10800c4.sf1_08.NOXAFE.cep  v10800c4.sf1_08.NOXAFE.bs  v10800c4.sf1_08.NOXAFE.txt -freq 8 -VAD
bin/decoder v10800c4.sf1_08.NOXAFE.bs   v10800c4.sf1_08.NOXAFE_quant.cep -VAD


# Version with XAFE 
# Compute only BOPS
bin/ExtAdvFrontEnd -F RAW -fs 8 -swap  v10800c4.sf1.08 v10800c4.sf1_08.XAFE.cep v10800c4.sf1_08.XAFE.pitch v10800c4.sf1_08.XAFE.class
bin/ExtCoder v10800c4.sf1_08.XAFE.cep v10800c4.sf1_08.XAFE.pitch v10800c4.sf1_08.XAFE.class v10800c4.sf1_08.XAFE.bs  v10800c4.sf1_08.XAFE.txt v10800c4.sf1_08.XAFE.pitch_o -freq 8 -VAD
bin/ExtDecoder v10800c4.sf1_08.XAFE.bs   v10800c4.sf1_08.XAFE_quant.cep v10800c4.sf1_08.XAFE.pitch_do v10800c4.sf1_08.XAFE.class_do v10800c4.sf1_08.XAFE.error -VAD

# 16kHz mode

# Version without XAFE 
# Compute only BOPS
bin/AdvFrontEnd -F RAW -fs 16 -swap  v10800c4.sf1.16 v10800c4.sf1_16.NOXAFE.cep
bin/coder v10800c4.sf1_16.NOXAFE.cep  v10800c4.sf1_16.NOXAFE.bs  v10800c4.sf1_16.NOXAFE.txt -freq 16 -VAD
bin/decoder v10800c4.sf1_16.NOXAFE.bs   v10800c4.sf1_16.NOXAFE_quant.cep -VAD


# Version with XAFE 
# Compute only BOPS
bin/ExtAdvFrontEnd -F RAW -fs 16 -swap  v10800c4.sf1.16 v10800c4.sf1_16.XAFE.cep v10800c4.sf1_16.XAFE.pitch v10800c4.sf1_16.XAFE.class
bin/ExtCoder v10800c4.sf1_16.XAFE.cep v10800c4.sf1_16.XAFE.pitch v10800c4.sf1_16.XAFE.class v10800c4.sf1_16.XAFE.bs  v10800c4.sf1_16.XAFE.txt v10800c4.sf1_16.XAFE.pitch_o -freq 16 -VAD
bin/ExtDecoder v10800c4.sf1_16.XAFE.bs   v10800c4.sf1_16.XAFE_quant.cep v10800c4.sf1_16.XAFE.pitch_do v10800c4.sf1_16.XAFE.class_do v10800c4.sf1_16.XAFE.error -VAD

