Practical Exercise - Task 1
MFCCs
Speech Technology - COM4511/6511
12th March 2021
1 Introduction
The aim of this task is to learn how to use Python for speech processing. There are several online Python tutorials,
and particularly on numpy and how to use it for signal processing. In this task you will implement a Python
program to convert a speech signal to Mel Frequency Cepstral Coefficients (MFCCs).
2 Infrastructure
A speech audio file from the TIMIT corpus, a Python helper script and example output are provided. These can be
found on MOLE in the folder named task1. It is also available for download at https://www.dcs.shef.ac.uk/∼th/campus_only3 Task
To help you start the task, the provided Python script contains all the necessary steps and a few utility functions
for this task. You are asked to fill in the missing parts indicated by ####.
1. From the link above, download the audio file “SA1.wav” and the Python script “ task1_compute_mfcc.py ”
2. Take a look at the script and find out which parts need to be implemented
3. Convert the complete audio file into a sequence of MFCC vectors using the following baseline configuration.
(a) A pre-emphasis filter with coefficient 0.97
(b) 10ms frame step, 25ms frame length (Hamming window)
(c) 26 Mel-filters
(d) 12 cepstral coefficients (C1-C12, omitting C0)
(e) 22-order liftering.
(f) Cepstral mean and variance normalisation (optional)
(g) Plot different coefficients and consider the implications of what you see
(h) Adopt any good coding style with meaningful comments. Use functions when possible.
You can (and should) use NumPy and SciPy for basic numerical computing and the FFT/DCT computation, but
not any other packages (i.e. the helper script has provided all the necessary imports). If you are not sure, just raise
your hand and ask.
1
4 Assessment:
Note that for any module assignment full marks will only be obtained for outstanding performance that goes
well beyond the questions asked. The marks allocated for each assignment are 20%. The marks will be assigned according the following general criteria - for every assignment handed in:
1. Fulfilling the basic requirements (5%)
Full marks will be given to fulfilling the work as described, in source code and results given.
2. Submitting high quality documentation (5%)
Full marks will be given to a write-up that is at the highest standard of technical writing and illustration.
3. Showing good reasoning (5%)
Full marks will be given if the experiments and the outcomes are explained to the best standard.
4. Going beyond what was asked (5%)
Full marks will be given for interesting ideas on how to extend work that are well motivated and described.
In order to report this task as complete 3 elements have to be submitted, in gzup form. The file name should have
the following format:
<lastname>_<firstname>_task1.gz
1. The MFCC encoded reference audio file in text format.
Each line contains one MFCC vector, the values are separated by single space.
2. A compiled Latex document (pdf) that contains 4 plots (matplotlib) of the MFFCs in the following configurations (modification to the baseline) and detailed comments on the variation to the baseline configuration
as outlined above. Also briefly comment on the reasons for the effects.
(a) No Hamming window
(b) 40 MFCCs
(c) 80 Filterbanks, 40 MFCCs
(d) No Pre-emphasis.
3. The completed source code for the baseline configuration as outlined in 3.
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
- HGC环电强化国际业务领导架构 谭君骥及Ravindran Mahalingam分别担任专精职务
- 海伯森六维力传感器:助力人形机器人产业发展的创新力量
- 达闼董事长黄晓庆:以技术破局致胜从未止步
- 从辅助到核心,企业如何基于AI Agent升级品牌数字营销
- 国产2.5亿超高分辨率图像传感器发布,主要面向机器视觉领域
- 西部数据推出多款超高速、大容量存储解决方案
- 中关村e谷承办“科创耀未来 奋进谱新篇”企业家创新论坛圆满落幕
- 航科卫星“汕头数字一号”卫星发射成功!
- Gartner 最新魔力象限出炉!ManageEngine卓豪成功入围
- 科技重塑物流,英特尔&集和诚加速智慧物流发展!
- 数智赋能 向“新而行” 坦克与装甲车辆学术与发展论坛召开
- 赛诺威盛:大孔径专科化CT领航者
- 网易硬刚腾讯 两大游戏玩家之间的口水仗不断
- 全球“最独特”的一台华为 nova 6 5G 版手机是什么样子的?
- 拼多多抖音淘宝京东,谁是真低价?