GLOBAL SITE AUSTRALIAN SITE

EdVenture 3 – Robots play music too!

Let’s play a tune

Edison’s little piezo transducer (speaker) can produce a range of musical notes. These are easily programmed from the play music icon. Get started by creating the program below.

The tune string in the first play music icon is: c7c7g7R7f2e2d2o7o7g7R7f3e3d3o7o7

The tune string in the second play music icon is: g7R7f3e3f3d7d7

robot music program

How the program works

The play music icon contains a tune string (more on that below) and the event wait icon waits until the tune is finished. The next play music icon and event wait do the same. There are two sets of icons because a single play music icon will not fit the entire tune.

Can you guess what the tune is?

A tune string looks like this: “ndndndndndnd…” where ‘n’ is a note from the following table, and ‘d’ is the note time from 0 to 7 in 20th of a second increments. There is a limit of 16 pairs per play music icon.

Character Note
m A
M A#
n B
c C
C C#
d D
D D#
e E
Character Note
f

F

F F#
g G
G G#
a A
A A#
b B
R Rest

The characters m-n are notes in the 6th octave, all other notes are in the 7th octave

  • Keep up with Edison

    Sign up for our newsletter to get all things Edison delivered straight to your inbox.

  • This field is for validation purposes and should be left unchanged.

Heads up

The Australian Federal Parliament has passed a law that extends goods and services tax (GST) to low value imports of physical goods imported by consumers from 1 July 2018.

This means that all customers purchasing Edison robots and accessories with an Australian shipping address must now pay GST. The GST will be automatically added to your purchase and show as a line item on your invoice.

We've detected that you are in Australia, so we wanted to let you know that we have changed your settings to view our Australian site, which displays GST inclusive pricing.

You can change back to the GLOBAL SITE at any time using the link in the top left of the page.

OK got it!    Take me to the GLOBAL SITE instead

Country

Pin It on Pinterest

Share This