Technology and musical instrument—Air drum with Arduino Uno

来源 :留学 | 被引量 : 0次 | 上传用户:ycw
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
  How I started this project?
  As a drummer myself, I think it??s quite necessary to practice some rudiments on the drum kit. Whenever I go to places other than my home, a whole set of drum kit seems not accessible. This inconvenient situation triggered my thought. I was thinking that if I could make something portable for my daily practicing and even rehearsal.
  The whole process of updating this air drum
  Before I have decided to use any software or hardware for my project, I spent much time building the basic structure of how this ??drum machine?? work.
  *The final idea is like this:
  1.collect data.(distance, gravity, pressure light, etc.)
  2.computer read these data
  3.data changes, then program start to play sound from the computer
  After I decided to work with this basic idea, my first challenge is to find a proper way to collect data from the real world. Since I want to make a low-cost product for practicing, I looked at all the sensors that were accessible to me and had a long period experimenting with different kinds of sensors to test their sensitivity as a trigger. The first part of the drum machine is hand-triggered I took a look of all the sensors I have, and make a list of sensors which may be helpful for our project: Tracking sensor, shock sensor, avoidance sensor, ultrasonic sensor. Since I am not sure about the exact function of some sensors, so I did many experiments to test each sensor. Basically, I plugged in the sensor in my Arduino and write a brief code to get the data. The first one I have tried is tracking sensor, the problem is that it has a quite long delay. Shock sensor didn??t appear in my final project because it required an intense shock to return some data. In comparison, the ultrasonic sensor is much more responsive than those.
  I have done lots of coding in Arduino and finally succeeded in collecting the correct distance between the ultrasonic sensor and the moving object(my hands, for example). Then I wrote a program to play the sound file on my computer: if the distance between the moving object and the sensor is smaller than 12, the sound will be played. This is my first version areodrum?? a simple machine to simulate the hi-hat and snare drum.
  My next step is to work on the part for my feet. In order to make a tool that is effective for practicing drum, I should at least put 2 triggers on the ground. One acts as the pedal of the bass drum, the other one is for the pedal of the hi-hat. At first, I used two buttons which were put in the middle of a breadboard, but when I actually tested them, I found it is almost impossible to tap that with the foot while not breaking the wires and the resisters. Then I move onto the ??soft spot?? pressure sensor that I had never used before. However, I found it seems not to be so helpful. Using the distance to trigger the sound is not so difficult with a few ??if?? statement, but the detailed method to deal with the data from pressure censor took me a while to figure out.   For instance, what I got from the serial monitor is not the intensity of my force, rather, is just number represent the place of that sensor which seems not so helpful. After lots search about the mechanical of drum pedal, I realized that I have to catch the movement when my foot leaves the sensor and tap on the sensor. I changed my way to program that: one trigger is ??when the number changes from 0 to nonzero?? the other is ??from nonzero to 0??, with this new code, my final program is able to capture this move.
  What will this product be like in the future?
  I have spent more time than I expected on this project, and at the end of my making this air drum, I was actually thinking that whether I can update this simple drum machine to meet the manufacturer??s standard. Within 5 years, I think all the alternatives and calculations I??ve done on the computer would seem easy in a small chip. The materials of all the pressure sensors and the sensitivity of ultra-sonic censors will be improved a lot. That improvement may make this product meet the standard of a real concert.
其他文献
德国总理默克尔在接受采访时,被问及“德国”这个词让她想起什么时,她回答道:“精美、挡风的窗户。”德国是一个看重事实与分析、关注细节的国家。近年来,德国凭借其优质的教
对于大部分学生来说,暑假意味着2019年秋季入学的美本申请已经拉开了帷幕。正所谓知己知彼,百战不殆。平时都能在各个公众号能看到的申请技巧、干货知识,而这次通过实际的数
2018年9月6日,慧科集团与iTEP (International Test of English Proficiency,国际英语水平测试)签署独家战略合作伙伴协议,并与北京外国语大学考试中心共同建立和运营iTEP第一家高校考点。  作为iTEP在中国的独家战略合作伙伴,慧科集团一方面负责中国地区高校iTEP考点部署,以及考点相关的运营服务和推广事宜,另一方面开创性地将新工科产业学院融入中外合
目的观察头孢哌酮-舒巴坦联合左氧氟沙星治疗社区获得性肺炎(CAP)的临床疗效和不良反应。方法将60例CAP患者,随机分为两组,治疗组为头孢哌酮-舒巴坦联合左氧氟沙星组(n=30),对照
目的探讨血清游离轻链在多发性骨髓瘤(MM)患者诊疗中的意义。方法对52例MM初诊患者(25例LCMM患者,27例IIMM患者)的标本分别做血清游离轻链(sFLC)、尿游离轻链(uFLC)和血清免疫固定电
1999年1月~2005年6月,我院采用穿透性角膜移植手术治疗41例真菌性角膜溃疡,效果满意.现将护理体会报告如下.
我们对腰椎间盘突出症术后108例患者进行正确、系统的康复功能锻炼指导,效果满意,现报告如下.1临床资料本组男88例,女20例,22~69岁,平均36岁,单纯椎间盘突出87例,合并神经管狭
2002年9月~2004年7月,我院接诊口腔颌面部急症患者4132例,经精心护理,效果满意.现报告如下.
2002年3月-2004年4月,我院对20例人工全膝关节置换术(TKR)患者采取综合康复护理,效果满意。现报告如下。
Abstract  In colleges, professors usually teach classes by giving lectures. Therefore, students take notes to record the contents. Students usually employ one of these two methods for note-taking: lon