I was also in San Francisco for the day and saw these musical stairs... There is a light beam across each step and as you break the beam with your step it sounds a musical note. Kind of fun.
There was something similar to this here at the Odenplan subway station. It seemed to have elicited some quite entertaining results!