What is 1-bit music?
(since I've originally posted this on an arduino forum, I made an introduction to 1-bit music, I assume most people here knows about this, but I've kept the introduction anyway, "just in case"...)
It's music made from the speaker of a computer (no dedicated sound card), the state of the speaker can be 0 or 1. Generally it sounds very crude, like this: https://www.youtube.com/watch?v=1IOL4q5tDDQ (which can be cool too, this tune is so great)
But since the 80's it was possible to get a better sound through dedicated sound engines, made in assembly code, especially on the ZX Spectrum beeper (intro music for some game, it used so much CPU that is was not possible to have in-game music, remember, on ZX 48 there was no sound card):
https://www.youtube.com/watch?v=GRUQr457zkw (game is from 1987)
I've seen some 1-bit music project on Arduino, but none had gone very far. Until now!
Shiru, the grand-master of 1-bit music on ZX Spectrum, has ported two of his engines on Arduino, from z80 ASM to Arduino in C. And it sounds pretty cool!
Here are the links to these 2 threads on our 1-bit music forum:
http://randomflux.info/1bit/viewtopic.php?pid=1154
http://randomflux.info/1bit/viewtopic.php?pid=1155
you can just download the arduino code, plug an old PC speaker or buzzer on PIN7 and GND of your Arduino, and you'll get great music!
You can of course make your own music with some dedicated trackers, and convert it to play on your arduino!
Here is a link to a quick recording I made with one of the engine:
http://picosong.com/GFmm/
remember, it's not sampled music, it's generated in 1-bit from the arduino itself!
Last edited by garvalf (Feb 14, 2017 2:26 pm)