coding19-imdea.github.io

Does It Ring a Bell?

Preamble

This problem could be either of the two:

It’s up to you how you decide to approach it. We suggest you go for the former (most likely we will follow up on music-related languages later and there will be a good deal of programming there).

The Problem

Here are three pieces of music expressed in some notation (we won’t say more). Figure out their titles.

X:1
T: Name 1
K:G
z4z2z/2^D/2|E2 z/2F/2 G2z/2^D/2|E>F G>E B>E G>B|_B4 (3zAG (3ED(E|E4)z4|| 

X:2
T: Name 2 
K:C
z2(GGG) G2 B2| BA z2 z4|z2(GGG) G2 B2| A4 z4| z2 G2 G2 B2 | BA z2 z4| z2 G2 GGBB| A2 z2 z4|
z2 (3AcA c2 e2 | ed z2 z4 | B2 B2 B2 c2 | d4|| 

X:3
T: Name 3 
K:C
A2 A2 A2 A2 | A2 F2 G2 A2 | A2 _B2 z4| G2 G2 G2 G2 | G2 G2 c2 G2 | A2 z2 z4|
A2 A2 A2 A2 | A2 F2 G2 A2 | A2 _B2 z4| A2 A2 A2 A2 | A2 E2 F2 E2 | D2 z2 z4|
z2 d2 d2 d2 | d2 z2 z2 d2 | d2 d2 d2 d2 | c2 _B2 z4| z2 c2 c2 c2 | c2 z4 c2 | 
c2 c2 d2 c2 | _B2 A2 A2 G2||