Breaking A Wine Glass By Detecting Resonant Frequency in Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
images
stl
README.md
break-finally.py
voiceController.py

README.md

Break Glass with Resonant Frequency

Breaking A Wine Glass By Detecting Resonant Frequency in Python

Accompanies a blog post at Make Art with Python

Breaking

Running this Program

You'll need to have Music21, PyAudio, NumPy, Pygame, and Python 3 installed. All of these are easily installable with pip.

Once that's setup, you'll run the program, strike your wine glass, and then press spacebar to begin playing back the detected frequency. If your speakers are loud enough, your wine glass should break!