In this video, I demonstrate how a python script may be used to break down a simple tune into component parts such as beep frequencies, durations, and delays.
This is then used to replicate a tune using a piezo buzzer and an arduino.
Code is available on GitHub at felixensor/Audio-Analyser