Musikalisches Würfelspiel
A Musikalisches Würfelspiel (German for "musical dice game") was a system for using dice to randomly generate music from precomposed options. These games were quite popular throughout Western Europe in the 18th century.
Source: Wikipedia — Musikalisches Würfelspiel (CC BY-SA 4.0)