We are the Music makers.
Circ - 06 was nice and easy to set up, which was refreshing after the polava of the motor (which turned out to be a broken transistor). The first think I noticed was how annoying it was to listen to twinkle twinkle little star over and over again, so I endeavoured to create a drum beat.
The way the tuning works from the Arduino interface to Piezo Element is through the current going through it and making a little element inside the object vibrate. The faster it vibrates the higher the sound the slower it vibrates the lower the sound. This is how I created my drum beats.
Timing was really tricky as we put a dial into the mix and created a make shift for loop to control the speed of the instrument. We also had to make sure we stayed to a generic 4/4 timing so that if we did sync up that we didn't then play extra bars and fall out of sync again!
Interestingly I learnt that the Piezo element can work as an input also, as when it is reversed it will detect vibration. The principle is: as an output it has a current sent through it and it makes noise, as and input it is moved which creates a current which is read by the Arduino software.
No comments:
Post a Comment