The technical details are on his page, and they are worth reading. Unlike previous attempts at algorithmic or “genetic” music, the songs produced by viznut’s one-line programs actually sound like electronic or dubstep songs. An online sandbox allows you to experiment with your own. Here’s another one).
The ability to generate recognizable music with math raises an interesting question: would it be possible to condense traditional music that sounds “mathematical”, like Bach’s inventions, to formulas like these? Would it them be possible to exchange or share music simply by trading formulas?