Home -> Teaching -> CSAS 3085/PSYC 3698 -> Task 1: Musik Maker
This is our first, introductory task: get your "robot" to play some music. In this case your "robot" consists of only the EV3 brick, and by "some music" I mean three notes or more.
In other words, your task consists of writing, compiling, transfering, and executing a program that plays at least three notes on your brick. For extra credit, (re)create a real tune, in other words make your brick play a recognizible song or well-known tune (at least a few notes of it). The first few notes from "twinkle twinkle little star", "Beethoven's 5th", or "Smoke on the water" are pretty popular choices for this task, but other tunes are possible as well.
Feel free to (re)create the full 10 minutes of Stairways to Heaven by Led Zeppelin, or Iron Butterfly's In-A-Gadda-Da-Vida” with 17 minutes, or even Thick as a Brick (Jethro Tull), clocking in at 43 minutes, if you feel so inclined.
Resources: In case you want to find which Hertz correspond to what note, check out this Table of Musical Notes and Their Frequencies and Wavelengths. Note that our function Sound.playTune(freq, duration) only accepts integer value, so you should take the integer portion of the frequencies listed only.
Due date: Wed, Jan 20, 2016
Bert G. Wachsmut
Last modified: 01/21/16
Archive: 2014-01 - 2009-03