I am trying to make a piano that will play a song by itself, and the keys will go down to correspond with the note being played. I am trying to name the key so that I can call on it when the song is being played, so that it will go down when needed. Does anyone know how?
the segment of code I am trying to name is:
addObject (new Key("a", "3c.wav"), 53, 108);

