This repository shows my course project in Systems Design based on Digital Signal Processors, 2022-2023, Department of Electronic Engineering by Professor Weibei Dou.
The main idea to adjustment pitch of the audio is to:
- interpolate and resample the audio
- split and overlap-add frames using a gap equals
$\frac{H_s}{H_a}$
Python
codes are used to verify the feasibility of the algorithm, which is not real-time.
$ conda create -n audioexp python=3.10 pip
$ conda activate audioexp
$ pip install numpy scipy
- Create a folder
output
inPython/
. - Modify parameters such as
wav_name
andalpha
inresample-stretch.py
. - Run
python resample-stretch.py
- Play audios generated in
Python/output/
.
C
codes are based on demo project Talk_Through_533_I2S _FIR_2MAC.rar
provided by Systems Design based on Digital Signal Processors. It aujusts pitch of the input audio in real-time.
- Open
IDDE CrossCore®Embedded Studio 2.10.1
and create a new project. - Choose
BF533
withSilicon Revision
any
selected. Do not addStartup Code/LDF
. - In
Project > properties > C/C++ Build > Settings
:CrossCore Blackfin Linker > Processor > Tool Settings > Memory usage
, selectInternal SRAM and external SDRAM
. InCrossCore Blackfin Linker > General > Tool Settings
, selectIndividually map functions and data items
.
- Rename
C
folder in this repo tosrc
to replace thescr
folder generate byIDDE
. - Build and debug the project.
Issues and PRs are welcome!
- A Review of Time-Scale Modification of Music Signals, Jonathan Driedger and Meinard Müller, International Audio Laboratories Erlangen, 91058 Erlangen, Germany
- 变声导论-变声器原理及实现(核心算法实现篇) Dbinary@知乎
- 变声导论-变声器原理及实现(基音分类与滤波系统实现) Dbinary@知乎
- 语音变调讲解PPT 潘兴 2022.10.20
- 基于数字信号处理器的系统设计 课程课件 窦维蓓
- 基于数字信号处理器的系统设计 课程设计选题指南 窦维蓓 戴喜增 周斌 余吉 张波 何以凡等
- SoundLab