Weekend project: making music with a laser cutter

I realized I could use my Grbl laser cutter to produce sounds. G-Code controls two stepper motors, that when spinning at the right speeds, can produce musical notes. The first step was to find the frequency constant for my particular machine. I did this by moving an axis at a set speed and using a spectrum analyzer (in this case the Spectroid app for Android) to find the frequency it produces. I…