Music theory explained using visuals and acoustics generated in Python.
More information on blog post here.
The repo contains sample audio files as well as the following scripts:
- utils.py: functions to generate sine wave, harmonic series, and ADSR model.
- middle_c.py: Fourier analysis of a middle C played on the piano.
- twinkle.py: example on how to write Twinkle Twinkle Little Star .
- numpy
- scipy
- matplotlib