Bytebeat: Music from very short programs - the 3rd iteration
HTML-код
- Опубликовано: 18 сен 2024
- Very short C programs and Javascript expressions generating musical output. This is the third video in the series.
More info: countercomplex.... and (with a more in-depth analysis) countercomplex....
You can experiment online at wurstcaptures.u... or entropedia.co.u...
You can also join the IRCnet channel #countercomplex
/ viznut
I know people have been doing this kinda stuff even back during the Atari 2600 days, but man, there _still_ is something inherently cool about doing this kinda stuff.
Right
Its like an advanced version of it
how did you reply on this vid from 2024 and how dose your comment say 9 years ago
@@GDI1210You mean this vid from 2011? Because it's from 2011.
people use this in even malware
3:26 is by far my favorite, it sounds so beautiful, it has that calm peace to it with a infectious beat, I love it
I like it too :)
listen to 6:34@@gylotip8393
@Jailrushtrue
Kinda like trichloromethane.exe sound
It's a sierpinski bytebeat
1:04 is my favorite so far
2:57 This one's probably my favorite of the bunch despite the short length, sounds like the start to an 8-bit rendition of some pop song which is pretty cool
It nearly sounds like fischerspooner's emerge
Can't believe I am only coming across this video now. This is absolutely mesmerizing!
Nice visualisation!
@Bisqwit do you remember commenting this after 11 years?
@@MerjemIsSomehowHere Not that I actively remember doing it, but upon looking here I remember what the video was about and the feeling / thought process that led to that comment.
5:14 this was EPIC!!!
btw this melody is from chaos theory demo, so that's a bytebeat cover of a demoscene art, so basically (demoscene)^2
@@alexanderbayramov2626The actual name of this is Longline Theory, used on Commodore 64 and made by mu6k.
Wow, at first I though the Sierpinski triangles appearing in the visualization were just an affectation, but now I'm realising they're a genuine artifact of the process!
2:56 - Woah, that sounds awesome!
5:14 - Wait, wait, wait! I know this one! It's used as base for the audio used in the 64k demo "Chaos Theory". There it sounds a lot better, but now I know how they made the music that small... :o
2:56 ((t*("36364689"[t>>13&7]&15))/12&128)+(((((t>>12)^(t>>12)-2)%11*t)/4|t>>13)&127)
Pitri The one from chaos theory sounds good both in the original video and this video but the one in this video sounds electronic and 8-bit I put an idea in my head for a loading screen theme
D I E !
Chaos theory one shocked me, amazing! Now i want to develop my bytebeat skills...
That's a bit interesting. It's at 2:56 .
Like a 256 bit display.
4:10 5:15 5:44 three most awesome pieces
5:44 FOOVxhhxbdhbdhsbhshshkhVOOVvdvgdbuhsbjbVAAAVbhdbhicbjodndjnkjVAAAVdoudnushusjojAABAHAHGVHDUBSUHBISNOIXNISNOIANKSNOJDNKLSJKLAML'SOKJDKOJSKOHAKKNKLSJLKDJLKSJLKAJKLJSKLDJKLSJKLJSKLJAKHJKSHLKDHJCGJHVXXBKJNZMNZKAANKANKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANBAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVAVVVVVVV
I think bytebeat is one of my favorite things. I’m getting kinda good at it and yet I’m 10 years old. I’m very young and can still do it, i’m very fascinated with this coding program!
That's genuinely so cool
10 and knowing how to use bytebeat? i have a feeling you are going to be making GDI malware at 13 lol
@@dell.dimension i’m autistic so maybe thats the reason why lol
@@plague_doctor0237 thx
What
Canon
f=t*Math.pow(2,(0x75054970>>((t>>13&7)11&3)+1),Math.abs(f%256-128)-64
duration: ~32.7875
Sample rate: 8,000
+Joe Salizani I really like this one.
very nice one modded some values
left: f=t*Math.pow(1,(0x75054970>>((t>>15&7)11&9)+1),Math.abs(f%256-128)-64
rigt: f=t*Math.pow(2,(0x75054970>>((t>>13&7)11&3)-1),Math.abs(f%256-128)-64
2:08
t%1280^t%2905*(1)^t>>12|1>>t&95^9^t%40 endless 8 bit
6:33 Every top 40 song evar! I IV V I chords.
hi
Байтбиты - истинная музыка будущего. Суровая, алгоритмическая и беспощадная.
Bytebeats are true music of the future. Harsh, algorithmic and merciless.
Probably the only video that is better in 144p.
4:19 You cannot grasp the true form of Giygas' attack!
This is amazing stuff, thanks for uploading this video. I've been playing around with bytebeat-style stuff all night.
Best simple one I've found so far is:
putchar(t>>4|(t>>7&t*8));
putchar((t*4|t>>9)|(t>>4&t>>7));
sounds best with aplay -c 2 I think.
I think the ones starting at 2:56, 5:14 and 6:30 were actually very pleasant, even if you ignore how short the source is. Quite amazing.
2:56, 5:14 and 6:30
Dantes inferno is my favorite. I can't stop listening to it .
same but mainly the beginning tbh, not a fan of a lot of the other 'phases'
Crazy to think that this was used in Pankoza's GDI Malware.
What a fantastic hobby. Thanks for sharing this with everyone.
5:44 how it feels to chew 5 gum
This is one of the best things I've ever heard.
Absolutely amazing. Mind = Blown
@jci10 The examples from kb, ryg and mu6k in this video use string and integer constants to store melodies, rhythms etc. A deterministic, constructive approach is definitely possible, however it tends to bloat up the code very quickly compared to indeterministic exploration.
Bytebeat composer lore be like:
i swear i saw you in one comment's replies
I love the visualizations.
4:11 Powerful PWM-like sound!
For anyone interested in the last one:
(3e3/(y=t&16383)&1) * 35+(x=t * "6689"[t>>16&3]/24&127)*y/4e4+((t>>8^t>>10|t>>14|x)&63)
(at sampe rate 44,100 )
Foerster44v2 You are fucking awesome.
Max Greyfeather Thank you, you too :D
hmm isnt this just speed up version? 🤔
The last one is really awesome considering how it was made. It sounds like a c-64 game actually!
What about 5:14?
I managed to find a byte-sized MONSTER song with this simple C code:
(-t%(t/1024&-t*2)>>-t/4)
No person alive could possibly hear this song in its' entirety, since the duration (after careful evaluation and calculations) is 32,768 YEARS in length... And it's only 48 bytes in size, or 384 bits.
The last formulae seems to be the best one. :)
y-values on this curve: en. wikipedia. org/ wiki/ Pulse-code_modulation#Modulation
putchar is a function that takes a value between -128 and 128. The curve is drawn from right to left. If putchar was called with 7, 9, 11, 12 ... you'd get an approximation of the sine wave pictured.
Wow I wish some of these were longer
Hero of the Beach we all know you're talking about the dante's inferno one
You can play around with them online! Here's a list of some. Play them in the HTML5 Bytebeat generator and you're set. wry.me/bytebeat/examples.html
I liked 3:27 a lot. Kb's chaotic melody is very nice in the end.
3:27
1:33 this sounds like an introducing to something that’s like about to appear on screen, and I like it!
I am sad that we never got to do this in CS classes in 80s. Computer graphics classes, but no music (though music dept did have electronic music, and I did get to tinker with SID on C64 one summer...)
I should get out more, I guess :-)
Thanks for sharing.
The second melody is a very nice basis for an intro!
5:14 Woah. Pretty fucking awesome music!
6:34 Absolute bop
I come here time after time, this stuff is amazing.
How can a human beeing just think to do something like this.
the sixth song literally is Rez by Underworld, it's mental how someone's made it with this!
That bass was tight!!
This is straight fire 🔥
That album was absolutely fire 10/10
3:26 0:11
And it respresents waveform information in sample (Information data is: wavelenght, frequency,amplitude values etc..). And sample is time/size-limited data part. For more information: Sampling_(music) and Sound in wikipedia
@ericfontainejazz The code is quite messy and not really intended for reuse, but I may consider releasing it (maybe tidying it up a little bit) if I get enough requests.
the 3rd one was the best. freakin awesome.. should have been longer..
***** Derp, screwed up there. It had the wrong link, you want entropedia.co.uk/generative_music_1.2_beta/#b6409Ao0TfS0jA0VdMwqDAyNjE1s0g0sLPTKLGzs1AzstAEghqgCoiIoaFmHIgy0tQGajM0UytRMzLRBAA%3D.
this is nostalgic seeing this as a html5 user
@ModernZeuhl You should probably ask mu6k, ryg, p01 or someone else who has been hacking with the Chaos Theory cover if you want a detailed description. I don't personally find it particularly interesting compared to the shorter formulas. I will be concentrating on the short formulas in my next post, but maybe I'll be able to explain some more "constructive" techniques as well.
Could we please get a detailed explanation of how "Covers Chaos Theory by Conspiracy" works on the Countercomplex blog ? Because the formula is hard to understand, and it would be more than interesting to see how this incredible wall of automatic music was built brick by brick. Pleaaaaaase ^^ Thank you !
This is the purest form of music. Just 1 or 2 lines of math..
0:11 my favorite,sounds like 8 bit song
Sheesh! I remember when there were like, 5 comments on this video.
discovered this site from one of my friends, now I'm here
May I ask how you generate PCM-waveforms via putchar?
(Ok, now I see, using pipe, on unix...)
5:14 fuck yeah witch house :)
6:34 Depeche Mode has joined the server.
Why i keep watching this on 2018? I found this video in 2016 too...
2022 and still going.
5:14 BY FAR THE BEST ONE OMFG
even more nice ideas \o/
Some dope ass dubstep: (t&7+t/800)%15 at 8khz
So short and sounds so cool, wow
@viznut Thank you very much !
2:23 It's just using a huge saw-tooth wave to make a beat... Cool. :D
when i saw part 1 i said 'these are cellular automata', nice to see my opinion validated :)
t * ((t>>12|t>>8)&63&t>>33) sounds really awesome.
Oh my worrrrrdddddd this sounds amazing and strange
They are! Thanks for the info!
do you have a full length album made? i would play your music at a dance party
Thought im gonna hear Salinewin virus best beat here, but i didnt. I only heard Salinewin first song and that's also was the first song in this video, and also some Salinewin song at 5:47
0:34 This is one of my favorites. :)
0:34
3:00 is so cool
awesome
Good challenge, and results!
this is beautiful
those last 2 JS ones were amazing, math music
5:14 this is Longline Theory but the actual song is Chaotic Theory Demo
I wonder what other sounds we could achieve if we used other mathematical functions like hyperbolic trig, gcd, fibonacci, collatz, or prime numbers mod something.
And I'm considering making Brainf**k programs that generate files, then use Audacity to interpret those files as PCM. The constraints of BF may spark more creativity, I guess?
2:22 this slaps
1:31 New Perturbator's song sounds pretty cool!
Hi, there is a "full version" of the song in 5:14?
i already found the music from the actual demo its based from (gargaj - rude awakening) , but i wonder if the demo got ported to javascript somewhere else (with this code as the generator).
w=t>>9,k=32,m=2048,a=1-t/m%1,d=(14*t*t^t)%m*a,y=[3,3,4.7,2][p=w/k&3]*t/4,h="IQNNNN!!]]!Q!IW]WQNN??!!W]WQNNN?".charCodeAt(w/2&15|p/37&&a*((5*t%m*a&128)*(0x53232323>>w/4&1)+(d&127)*(0xa444c444>>w/4&1)*1.5+(d*w&1)+(h%k+h*1.99%k+h*.49 here just for u
I love it
I discovered this a while ago:
(t/2*(((t>>4|t)>>8)%11)&255)/4 + (t*(((t>>5|t)>>8)%11)&100)/2 + ((t/4096+1)%21)*(rand(0, 255)*((t/16&255) < 12))/2
If you separate them by the +s, the first one is the bass, second one is the rhythm, and the last 2 are percussion.
I'm using the entropedia 8 bit generative composer
May I ask how you understand how this code work? I mean they're doing Bitshifting , putchar and some operations... it makes me confused.
Didn't work lol
@@fannybfdiaauttpazntputtd Try this section only: (t*(((t>>5|t)>>8)%11)&100)
@@Coppertiel Thanks
0:45 garbage wastes threat weird layer only, but on steroids
the formula is a function of 't' were 't' is a position in time.
I love the visualization. Is that code open-sourced?
5:13 is cool music nice work
@Odin314 actually, there is a sierpinski triangle about everywhere in this video
Are simply taking the visual output and then sidecrolling it in a video editor or is there a code for that too? I'd like to incorporate this into my next album.
they use codes like t&t>>8,
how they process it like this,
for(int t=0;; t++)
{
int u=t&t>>8;/*the output/'u' of the equation is inserted to the pcm channel to 8bits*/
soundsys(u);
}
its time inserted to an equation and used the numbers to sound
eight bit nintendo music! i use to love that mario tune from mario bros the first game edition lol. very very very cool sounding lol.
tear it up.
@micdah Sir, I've logged in just upvote your and the video. Chaos Theory is my favourite 64k and I always thought they have some kind of track file playing with generated samples. But I'd never tell that the whole music generator is so compact. greetz
I can just chill n' sleep with these 😎
viznut, very interesting topic! thanks for popularising this area of algorithmic music. (zilog, #z80:)
Bisqwit
"Making Music with one line of C code"
This is fantastic! I support ByteBeat! That bit at like 1:10!!
1:10
at 3:46 , couldnt you make the t/1024 thing into a t>>(log_2(1024)) thing?
Wouldn't that be.. longer?
Oh C Programming, you rock!
I need the full version of 5:14
Awesomeness.