The frequency of a bar on a xylophone, glockenspiel, etc., is proportional to the reciprocal of the length of the bar squared[1][2]. Thus, if you made a xylophone with bars whose lengths were all integer multiples of some number, it would sound like this:
JavaScript is required
If you have a keyboard, you can use the number keys to play notes, [-] and [+] to change which notes the number keys play. You can also click or touch the keys.
Volume: