#define FORMULA ((t<>>7)&t>>12)) | t>>(4-(1^7&(t>>19))) | t>>7
main(t) {
for(;;t++)
putchar(FORMULA);
}
>
Basically for any given FORMULA, the song generated is a bunch of 8 bit samples played at 8000 samples / second. Sample N is the result of applying the formula to the number N and writing it out as an unsigned 8 bit number. Really is simple. The visualization in the compose tool is confusing because it looks 2 dimensional, but really it's one dimensional going top to bottom, then left to right. Each pixel is a single sample, with the value of the sample being plotted from black to red.(t < 520000) ?
(t>>6 ^ t>>12 - t |
t>>2 |
(t * ((t>>9 | t>>13) & 25 & t>>14))
- 1)
:
((t>>6 ^ t>>12 - t |
t>>2 |
(t>>t) ^
(t * ((t>>9 | t>>13) & 25 & t>>14))
- 1)
/ 4) * 5
Has someone written up a coherent explanation of how to manage large structure in the music vs. timbre of specific sounds? Obviously that t < 520000 test is a simple A/B structure, but there's a lot more complexity in timescales that t is operating at.« Older A history of "pearl clutching."... | One Hour Per Second... Newer »
posted by lubujackson at 5:26 PM on January 23 [3 favorites]