Show HN: Using Haskell to play music on 3D printer motors (2020)
6 hours ago
- #Music Synthesis
- #G-Code
- #3D Printing
- The project uses 3D printer stepper motors to play music by converting songs into G-Code commands that control motor vibrations.
- A Haskell program parses a simplified music notation format, calculates note frequencies, and generates G-Code for linear movements.
- The method involves translating musical notes into stepper motor frequencies, then converting those into relative movements and absolute positions within the printer's limits.
- Updates include adding support for GuitarPro tabs as input and potential features like displaying lyrics or using additional printer components as extra channels.