ncxiao / music_in_python

Sound processing in Python

Home Page:https://towardsdatascience.com/music-in-python-2f054deb41f4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Music in Python

Music theory explained using visuals and acoustics generated in Python.

More information on blog post here.

Usage

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 .

Requirements

  • numpy
  • scipy
  • matplotlib

About

Sound processing in Python

https://towardsdatascience.com/music-in-python-2f054deb41f4


Languages

Language:Python 100.0%