├── .gitignore ├── MANIFEST.in ├── README.md ├── conf ├── fbank.conf ├── mfcc.conf └── vad.conf ├── doc ├── README.md ├── developer_guide.md ├── img │ ├── DCT.png │ ├── DFT.png │ ├── MFCC.png │ ├── MelBank.png │ ├── Mel_filter.png │ ├── amplitude_spectrum.png │ ├── audio_data.png │ ├── delta.png │ ├── fbank.png │ ├── hamming.png │ ├── logMel.png │ ├── logpower_spectrum.png │ ├── mel_freq.png │ ├── melbanks.png │ ├── phase_spectrum.png │ ├── power_spectrum.png │ ├── spectrum.png │ ├── spectrum_emph.png │ └── spectrum_orig.png ├── speech_feature.md ├── transform.pptx └── user_manual.md ├── elevate └── cr.yml ├── examples ├── conf │ ├── fbank.conf │ ├── mfcc.conf │ └── vad.conf ├── sm1_cln.wav └── test_speech_feature.py ├── pack.sh ├── setup.py ├── transform ├── README.md ├── __init__.py ├── audio_featurizer.py ├── feats │ ├── __init__.py │ ├── base_frontend.py │ ├── cmvn.py │ ├── cmvn_test.py │ ├── fbank.py │ ├── fbank_pitch.py │ ├── fbank_pitch_test.py │ ├── fbank_test.py │ ├── framepow.py │ ├── framepow_test.py │ ├── mfcc.py │ ├── mfcc_test.py │ ├── ops │ │ ├── Makefile │ │ ├── __init__.py │ │ ├── kernels │ │ │ ├── complex_defines.h │ │ │ ├── delta_delta.cc │ │ │ ├── delta_delta.h │ │ │ ├── delta_delta_op.cc │ │ │ ├── fbank.cc │ │ │ ├── fbank.h │ │ │ ├── fbank_op.cc │ │ │ ├── framepow.cc │ │ │ ├── framepow.h │ │ │ ├── framepow_op.cc │ │ │ ├── mfcc_dct.cc │ │ │ ├── mfcc_dct.h │ │ │ ├── mfcc_dct_op.cc │ │ │ ├── mfcc_mel_filterbank.cc │ │ │ ├── mfcc_mel_filterbank.h │ │ │ ├── pitch.cc │ │ │ ├── pitch.h │ │ │ ├── pitch_op.cc │ │ │ ├── resample.cc │ │ │ ├── resample.h │ │ │ ├── spectrum.cc │ │ │ ├── spectrum.h │ │ │ ├── spectrum_op.cc │ │ │ ├── speed_op.cc │ │ │ ├── support_functions.cc │ │ │ ├── support_functions.h │ │ │ └── x_ops.cc │ │ └── py_x_ops.py │ ├── pitch.py │ ├── pitch_test.py │ ├── read_wav.py │ ├── read_wav_test.py │ ├── spectrum.py │ ├── spectrum_test.py │ ├── write_wav.py │ └── write_wav_test.py └── utils │ ├── __init__.py │ ├── hparam.py │ └── hparam_test.py └── upload.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/.gitignore -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | README.md 2 | include transform/feats/ops/kernels/*.h 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/README.md -------------------------------------------------------------------------------- /conf/fbank.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/conf/fbank.conf -------------------------------------------------------------------------------- /conf/mfcc.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/conf/mfcc.conf -------------------------------------------------------------------------------- /conf/vad.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/conf/vad.conf -------------------------------------------------------------------------------- /doc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/README.md -------------------------------------------------------------------------------- /doc/developer_guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/developer_guide.md -------------------------------------------------------------------------------- /doc/img/DCT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/DCT.png -------------------------------------------------------------------------------- /doc/img/DFT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/DFT.png -------------------------------------------------------------------------------- /doc/img/MFCC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/MFCC.png -------------------------------------------------------------------------------- /doc/img/MelBank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/MelBank.png -------------------------------------------------------------------------------- /doc/img/Mel_filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/Mel_filter.png -------------------------------------------------------------------------------- /doc/img/amplitude_spectrum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/amplitude_spectrum.png -------------------------------------------------------------------------------- /doc/img/audio_data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/audio_data.png -------------------------------------------------------------------------------- /doc/img/delta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/delta.png -------------------------------------------------------------------------------- /doc/img/fbank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/fbank.png -------------------------------------------------------------------------------- /doc/img/hamming.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/hamming.png -------------------------------------------------------------------------------- /doc/img/logMel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/logMel.png -------------------------------------------------------------------------------- /doc/img/logpower_spectrum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/logpower_spectrum.png -------------------------------------------------------------------------------- /doc/img/mel_freq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/mel_freq.png -------------------------------------------------------------------------------- /doc/img/melbanks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/melbanks.png -------------------------------------------------------------------------------- /doc/img/phase_spectrum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/phase_spectrum.png -------------------------------------------------------------------------------- /doc/img/power_spectrum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/power_spectrum.png -------------------------------------------------------------------------------- /doc/img/spectrum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/spectrum.png -------------------------------------------------------------------------------- /doc/img/spectrum_emph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/spectrum_emph.png -------------------------------------------------------------------------------- /doc/img/spectrum_orig.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/img/spectrum_orig.png -------------------------------------------------------------------------------- /doc/speech_feature.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/speech_feature.md -------------------------------------------------------------------------------- /doc/transform.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/transform.pptx -------------------------------------------------------------------------------- /doc/user_manual.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/doc/user_manual.md -------------------------------------------------------------------------------- /elevate/cr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/elevate/cr.yml -------------------------------------------------------------------------------- /examples/conf/fbank.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/examples/conf/fbank.conf -------------------------------------------------------------------------------- /examples/conf/mfcc.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/examples/conf/mfcc.conf -------------------------------------------------------------------------------- /examples/conf/vad.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/examples/conf/vad.conf -------------------------------------------------------------------------------- /examples/sm1_cln.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/examples/sm1_cln.wav -------------------------------------------------------------------------------- /examples/test_speech_feature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/examples/test_speech_feature.py -------------------------------------------------------------------------------- /pack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/pack.sh -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/setup.py -------------------------------------------------------------------------------- /transform/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/README.md -------------------------------------------------------------------------------- /transform/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/__init__.py -------------------------------------------------------------------------------- /transform/audio_featurizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/audio_featurizer.py -------------------------------------------------------------------------------- /transform/feats/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/__init__.py -------------------------------------------------------------------------------- /transform/feats/base_frontend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/base_frontend.py -------------------------------------------------------------------------------- /transform/feats/cmvn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/cmvn.py -------------------------------------------------------------------------------- /transform/feats/cmvn_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/cmvn_test.py -------------------------------------------------------------------------------- /transform/feats/fbank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/fbank.py -------------------------------------------------------------------------------- /transform/feats/fbank_pitch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/fbank_pitch.py -------------------------------------------------------------------------------- /transform/feats/fbank_pitch_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/fbank_pitch_test.py -------------------------------------------------------------------------------- /transform/feats/fbank_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/fbank_test.py -------------------------------------------------------------------------------- /transform/feats/framepow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/framepow.py -------------------------------------------------------------------------------- /transform/feats/framepow_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/framepow_test.py -------------------------------------------------------------------------------- /transform/feats/mfcc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/mfcc.py -------------------------------------------------------------------------------- /transform/feats/mfcc_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/mfcc_test.py -------------------------------------------------------------------------------- /transform/feats/ops/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/Makefile -------------------------------------------------------------------------------- /transform/feats/ops/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/__init__.py -------------------------------------------------------------------------------- /transform/feats/ops/kernels/complex_defines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/complex_defines.h -------------------------------------------------------------------------------- /transform/feats/ops/kernels/delta_delta.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/delta_delta.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/delta_delta.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/delta_delta.h -------------------------------------------------------------------------------- /transform/feats/ops/kernels/delta_delta_op.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/delta_delta_op.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/fbank.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/fbank.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/fbank.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/fbank.h -------------------------------------------------------------------------------- /transform/feats/ops/kernels/fbank_op.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/fbank_op.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/framepow.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/framepow.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/framepow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/framepow.h -------------------------------------------------------------------------------- /transform/feats/ops/kernels/framepow_op.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/framepow_op.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/mfcc_dct.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/mfcc_dct.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/mfcc_dct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/mfcc_dct.h -------------------------------------------------------------------------------- /transform/feats/ops/kernels/mfcc_dct_op.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/mfcc_dct_op.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/mfcc_mel_filterbank.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/mfcc_mel_filterbank.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/mfcc_mel_filterbank.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/mfcc_mel_filterbank.h -------------------------------------------------------------------------------- /transform/feats/ops/kernels/pitch.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/pitch.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/pitch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/pitch.h -------------------------------------------------------------------------------- /transform/feats/ops/kernels/pitch_op.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/pitch_op.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/resample.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/resample.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/resample.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/resample.h -------------------------------------------------------------------------------- /transform/feats/ops/kernels/spectrum.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/spectrum.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/spectrum.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/spectrum.h -------------------------------------------------------------------------------- /transform/feats/ops/kernels/spectrum_op.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/spectrum_op.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/speed_op.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/speed_op.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/support_functions.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/support_functions.cc -------------------------------------------------------------------------------- /transform/feats/ops/kernels/support_functions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/support_functions.h -------------------------------------------------------------------------------- /transform/feats/ops/kernels/x_ops.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/kernels/x_ops.cc -------------------------------------------------------------------------------- /transform/feats/ops/py_x_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/ops/py_x_ops.py -------------------------------------------------------------------------------- /transform/feats/pitch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/pitch.py -------------------------------------------------------------------------------- /transform/feats/pitch_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/pitch_test.py -------------------------------------------------------------------------------- /transform/feats/read_wav.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/read_wav.py -------------------------------------------------------------------------------- /transform/feats/read_wav_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/read_wav_test.py -------------------------------------------------------------------------------- /transform/feats/spectrum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/spectrum.py -------------------------------------------------------------------------------- /transform/feats/spectrum_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/spectrum_test.py -------------------------------------------------------------------------------- /transform/feats/write_wav.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/write_wav.py -------------------------------------------------------------------------------- /transform/feats/write_wav_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/feats/write_wav_test.py -------------------------------------------------------------------------------- /transform/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/utils/__init__.py -------------------------------------------------------------------------------- /transform/utils/hparam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/utils/hparam.py -------------------------------------------------------------------------------- /transform/utils/hparam_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/transform/utils/hparam_test.py -------------------------------------------------------------------------------- /upload.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/athena-team/athena-transform/HEAD/upload.sh --------------------------------------------------------------------------------