Musical Instrument

Idea
Make a real music instrument. Actions should change notes and time. I find pre-programmed musical loops frustrating for playing. Typical Lanier’s “locked-in” designs, maybe?
Push button should change some playing “mode”.
Original assignment: http://makingtoys.net/2013/09/27/1-read-and-do-exercises-pages-85-103/

Prototype 1
I first put a potentiometer to control the notes. They are playing a C Major scale, based on the frequencies I’ve found here.

Prototype 2
I added pauses between the notes so that they can articulate and I would have a tempo.

Prototype 3
I added a photo resistor to control the note value, i.e., duration. It feels more like a change in tempo, but it works.

Prototype 4
I added a push button to switch modes:
– In the first mode, potentiometer controls notes and photo resistor changes time;
– In the second mode, photo resistor controls notes and potentiometer changes time.
The second mode feels more intuitive to play.

Notes
The push button may need some adjustments to change modes properly. It may not be the best solution for a switch function.

Update
I added the bounce library and now it works perfectly!

Original post: http://makingtoys.net/2013/10/04/musical-instrument/

Advertisements

2 thoughts on “Musical Instrument

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s