pouët.net

Experimental music from very short C programs

category: code [glöplog]
Pouet.net BBS is the most advanced compression algorithm on Earth!
added on the 2011-10-07 17:56:22 by MidKnight MidKnight
added on the 2011-10-07 18:04:38 by las las
FUCK THAT SHIT.
313b
Might sound fucked up - not sure - it all sounds the same for me now.
added on the 2011-10-07 18:05:48 by las las
311b

I guess compression got lossy on the way... ;)
added on the 2011-10-07 19:01:31 by las las
noo that's broken :/
just got up, but maybe i'll give it another shot before i go to work :)
added on the 2011-10-07 20:13:54 by ryg ryg
Yeah the last two are significantly broken. :(
added on the 2011-10-07 20:19:09 by decipher decipher
added on the 2011-10-07 20:24:17 by raer raer
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...
added on the 2011-10-07 20:26:01 by raer raer
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.
added on the 2011-10-07 20:26:58 by las las
You guys are awesome...
added on the 2011-10-07 20:28:55 by torus torus
added on the 2011-10-07 20:29:23 by raer raer
All old links should still work btw.
added on the 2011-10-07 20:30:02 by raer raer
Thanks a lot for the stereo support by the way! :)
added on the 2011-10-07 20:39:38 by decipher decipher
las: JSYK, in JS, stuff get floored to Integer when there's a binary operator ( &, |, ^, >>, <<, ). Everything else happens in Float land.
added on the 2011-10-07 20:40:45 by p01 p01
Also keep in mind that: sample=(f(t) & 0xff) * 256
We could go 16-Bit, but that would break all tunes...
added on the 2011-10-07 20:43:13 by raer raer
no stereo here. :\ ff issue?
added on the 2011-10-07 20:45:05 by yumeji yumeji
p01: EVERYTHING else? % is fmod all the time? Ouch. Let's go back to C please.
added on the 2011-10-07 20:47:04 by las las
F5 and cache. solved. :D
added on the 2011-10-07 20:48:55 by yumeji yumeji
raer: the duration box doesn't work. :(
added on the 2011-10-07 20:49:22 by decipher decipher
Decipher, try ctrl+f5 on the page, worked for me.
added on the 2011-10-07 20:53:09 by windwakr windwakr
STEEEEEeeeeeeeeeeeeeeeeREEeeeeeeeeeeOOOOOOOOOOOOOOOOOOOOoowwwwww
added on the 2011-10-07 20:53:28 by mu6k mu6k
las: yup. One of the oddities you get with weak typing.
added on the 2011-10-07 20:53:51 by p01 p01
added on the 2011-10-07 20:57:18 by raer raer
added on the 2011-10-07 20:58:24 by Tundrah Tundrah
added on the 2011-10-07 21:44:11 by harism harism

login