For my midterm, I want to build a device that could read some special pattern and play the music.
First, I’m going to use brass tube to build a percussion instrument. After search online, here is the formula to calculate the length:
Length= 4*Speed/frequency (For closed tube)
And refer the relationship between frequency and music pitch to calculate the length of tubes I need.
Here is the brass tube I cut.
Next step is to build box for tubes and servos. I am going to use servos to hit each tube.
Second, I need to find a pattern that could be read and transformed into specific pitchs. (Still not sure if I have enough time to finish this part.)
Here is the possible solutions:
- I might use several light sensors to sense black line on paper.
- I could use camera to analysis pattern or color on black or white paper.