This commodity was originally appear on .cult by Mynah Marie. .cult is a Berlin-based association belvedere for developers. We write about all things career-related, make aboriginal documentaries and share heaps of other untold developer belief from around the world.

In 2011, a programmer going by the name of Viznut appear the afterward video on YouTube:

Accompanying the video were assorted accessories accounting by him and appear on his blog. In them, he describes how he accidentally apparent that by active a simple C affairs outputting single characters and piping them into the audio interface of a computer, it’s accessible to encode these bytes and turn them into not just sounds, but music.

The video and commodity created an uproar in the Demoscene community. People started experimenting with basic C programs and coming up with absorbing melodies. Soon, Viznut appear a more academic paper answer the theory behind how to compose busy music compositions using this technique.

A new subgenre of cyberbanking music was born: bytebeat.

Discovering the able capabilities of crack C programs

In its essence, a bytebeat affairs is a small C affairs consisting of an absolute loop, outputting to the terminal an amaranthine string of ASCII characters. These chars can then be piped to addition affairs and interpreted as raw audio output.

By influencing a capricious t through bitwise operations at each loop iteration, we assure ourselves that the output of the blueprint will always be a altered character, so altered combinations of sounds will be heard.

The beauty of a bytebeat affairs comes from its simplicity. With one line of code, the programmer has the adeptness to create circuitous audio pieces only by manipulating a single variable.

When account Viznut’s first accessories on the subject, it’s absorbing to note his own activity of admiration when advertent that article so simple never seemed to have caught anyone’s absorption before.

“A Bytebeat blueprint is a simple adjustment of digital-arithmetic operations that have been elementary to computers since the very beginning. It is allegedly article that should have been apparent decades ago, but it wasn’t. […]

It is extraordinary to think that the space of very short programs charcoal so alien that random excursions there can churn out new absorbing structures even after seventy years.” ?—?ViznutBringing magic back to technology

Bringing back a sense of “magic” in today’s fast-paced abstruse world

“One analogue of magic […] is that it breaks people’s preconceptions of what is possible. In order to claiming and badinage today’s abstruse bloat, we should decidedly aim at discoveries that are far too simple and random to work but still do,” Viznut, Bringing magic back to technology.