weeping-angel / Mathematics-of-Music

In this project, I generated waves with different frequencies, built my own virtual piano, and synthesized & played a song. All of this was done from scratch using Numpy and Scipy packages in Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mathematics-of-Music

Full explaination of the code is at TowardsDataScience - Medium

Usage

  1. Create a virtual environment

# virtualenv --no-site-packages env

  1. Activate the environment

# source ./env/bin/activate

  1. Install all the requirements

# pip install -r requirements.txt

  1. Run the program

# python3 main.py

  1. Play the generated wav file

# aplay twinkle-twinkle.wav

About

In this project, I generated waves with different frequencies, built my own virtual piano, and synthesized & played a song. All of this was done from scratch using Numpy and Scipy packages in Python.


Languages

Language:Python 100.0%