Prerequisites
Installs
Before we begin hearing about all things audio, there are a few packages that you will need to install to complete the exercises for this week. It is strongly recommended that you set up a new conda environment with Python 3.7 or higher. You can create a new conda environment with many of the needed packaged by running
conda create -n week1 python=3.8 ipython jupyter notebook numpy scipy matplotlib pyaudio numba
conda install -n week1 -c conda-forge librosa ffmpeg
Make sure to activate this conda environment by running
conda activate week1
Once the new environment is activated, install
the Microphone package, following the installation instructions detailed on GitHub.
MyGrad, by running
pip install mygrad
If you choose not to create a new conda environment, make sure that the following packages are properly installed:
ipython
jupyter
notebook
numpy
scipy
matplotlib
numba
librosa
andffmpeg
, which must be installed from the conda-forge channelmygrad
, which can be installed via pip
Math Supplements
Before continuing in this module, it will be important to have a good understanding of the following material:
Note that, while the Complex Numbers references material in the Fundamentals of Linear Algebra section due to parallels in the material, the Audio module only requires knowledge of content presented in the sections listed above.
It is strongly recommended reading through these sections and completing the reading comprehension questions before proceeding.