blob: c75afd80397b486cb5ebf09436fa8b864aaa41eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
_ _ _
| |__ _ _| |_ ___| |_ _ _ _ __ ___ ___
| '_ \| | | | __/ _ \ __| | | | '_ \ / _ \/ __|
| |_) | |_| | || __/ |_| |_| | | | | __/\__ \
|_.__/ \__, |\__\___|\__|\__,_|_| |_|\___||___/
|___/
players for bytebeat music.
./bin/bytetunes.sh is a shell wrapper to compile C tunes (with gcc) and play
them back (with aplay)
./bytetunes.py is a python program to parse and play (to stdout/aplay) tunes in
"normal" C-syntax
./bytetunes.cpp is an interactive microcontroller program (for libmaple and ARM
Cortex-M3 controllers) with PWM audio output that parses and plays tunes in
limited S-EXPR syntax
### Example Tunes
The original (to me) UNIX one-liner:
echo "main(i){for(i=0;;i++)putchar((i*(i>>8|i>>9)&46&i>>8)^(i&i>>13|i>>6));}" | gcc -x c - && ./a.out | aplay
My favorite tune (thus far):
(t*9&t>>4|t*5&t>>7|t*3&t/1024)-1
### References
projects:
http://wurstcaptures.untergrund.net/music/
http://shackspace.de/?p=2509 (The Noiseplug)
http://hackaday.com/2011/11/01/annoy-your-sound-guy-even-more/ (Noiseplug HaD)
https://github.com/erlehmann/libglitch
opcodes: http://paste.ubuntu.com/733764/
HTTP://0Xa.kuri.mu/2011/10/09/bitop-videos/
GlitchMachine: http://www.umlautllama.com/w2/?action=view&page=GlitchMachine
listings:
http://shackspace.de/wiki/doku.php?id=project:algorithmicsoundscapes
http://pelulamu.net/countercomplex/music_formula_collection.txt
commentary, other:
http://countercomplex.blogspot.de/2011/10/algorithmic-symphonies-from-one-line-of.html
http://countercomplex.blogspot.de/2011/10/some-deep-analysis-of-one-line-music.html
http://countercomplex.blogspot.de/2011/06/16-byte-frontier-extreme-results-from.html
http://canonical.org/~kragen/bytebeat/
http://pouet.net/topic.php?which=8357
http://royal-paw.com/2012/01/bytebeats-in-c-and-python-generative-symphonies-from-extremely-small-programs/
http://www.metafilter.com/111959/Todays-formulaic-music
http://arxiv.org/abs/1112.1368 "Discovering novel computer music techniques by exploring the space of short computer programs"
similar:
http://yaxu.org/haskell-hack/
http://sunsite.univie.ac.at/Mozart/dice/
http://music.columbia.edu/~douglas/strange_things/?p=78
|