Experimental music from very short C programs
category: code [glöplog]
Pouet.net BBS is the most advanced compression algorithm on Earth!
noo that's broken :/
just got up, but maybe i'll give it another shot before i go to work :)
just got up, but maybe i'll give it another shot before i go to work :)
Yeah the last two are significantly broken. :(
Next round, now in Dolby Stereo: L: ((t&4096)?((t*(t^t%255)|(t>>4))>>1):(t>>3)|((t&8192)?t <<2:t)) | R: t*(((t>>9)^((t>>9)-1)^1)%13)
Sound better with less stereo separation btw: L: ((t&4096)?((t*(t^t%255)|(t>>4))>>1):(t>>3)|((t&8192)?t <<2:t)) | R: t*(((t>>9)^((t>>9)-1)^1)%13)
Will maybe fix the sample view thing some day...
Will maybe fix the sample view thing some day...
Just figure out where/when we screwed it up ;) - the iterations are here... At least in the first iterations I tried to keep it semantically "correct". Kinda hard if you never wrote something in JavaScript before - especially the way Integer/Float stuff is handled seems to be a bit strange.
I have to admit - what I do in 311b in order to make the clamping smaller is a bit of a lossy hack.
I have to admit - what I do in 311b in order to make the clamping smaller is a bit of a lossy hack.
You guys are awesome...
Meine Fresse. Jetzt aber: L: ((t&4096)?((t*(t^t%255)|(t>>4))>>1):(t>>3)|((t&8192)?t <<2:t)) | R: t*(((t>>9)^((t>>9)-1)^1)%13)
All old links should still work btw.
Thanks a lot for the stereo support by the way! :)
las: JSYK, in JS, stuff get floored to Integer when there's a binary operator ( &, |, ^, >>, <<, ). Everything else happens in Float land.
Also keep in mind that: sample=(f(t) & 0xff) * 256
We could go 16-Bit, but that would break all tunes...
We could go 16-Bit, but that would break all tunes...
no stereo here. :\ ff issue?
p01: EVERYTHING else? % is fmod all the time? Ouch. Let's go back to C please.
F5 and cache. solved. :D
raer: the duration box doesn't work. :(
Decipher, try ctrl+f5 on the page, worked for me.
STEEEEEeeeeeeeeeeeeeeeeREEeeeeeeeeeeOOOOOOOOOOOOOOOOOOOOoowwwwww
las: yup. One of the oddities you get with weak typing.
Sorry to interrupt this javascript madness :)
http://entropedia.co.uk/generative_music/#b6409Ao0QJBAz0DCDDULtFUNTQy16zRKLGzM4FQpiAKLKoN4hqaadaUAAA%3D
http://entropedia.co.uk/generative_music/#b6409Ao0QJBAz0DCDDULtFUNTQy16zRKLGzM4FQpiAKLKoN4hqaadaUAAA%3D