News for hackers. Stuff that matters.
Re:PHP in a Tweet by crucialfelix on Tuesday October 08, 2013 @03:29PM (#6517250)
people have been creating 140 character music pieces in the supercollider music language for a while. its very tricky to make something that lasts and evolves and has structure and keeps your interest.

here are some great ones:

http://fredrikolofsson.com/f0blog/?q=node/478

play{a=SinOscFB;sum({|i|a.ar(a.ar(a.ar(a.ar(i+1,1/9,999),1/9,a.ar(1/9,1,1/9)),a.ar(0.1,3),i+2999),a.ar(1/9,1/9),1/9)}!9)!2}//#SuperCollider

r{loop{x={GVerb.ar(MoogFF.ar(ClipNoise.ar0.4,LFPar.kr({0.3.rand}!2,0,600,990)),9,9,1)}.play(s,0,19);3.wait;x.release}}.play//#SuperCollider

audio examples on the page above

Re:PHP in a Tweet by crucialfelix on Tuesday October 08, 2013 @03:32PM (#6517262)
this one is amazing:

play{a=LFPulse;b=(1..4);Mix(a.ar(a.ar(a.ar(a.ar(b/32)+1/8)+1b)+(Mix(a.ar(b/64))+a.ar(4/b)(a.ar(a.ar(b/8))2+b))100))/8!2}//#SuperCollider

audio:

http://fredrikolofsson.com/f0blog/files/audio/tweet0020.mp3

"this tweet is also totally deterministic and without any randomness. here a lot of nested square wave oscillators creates the complexity. basically there are 4 channels/voices mixed down to one and then duplicated in left and right channel. there are three levels deep nesting of frequency modulation with another set of square waves mixed and added."

Re:PHP in a Tweet by crucialfelix on Tuesday October 08, 2013 @07:43PM (#6518606)
Yeah I remember those ! In fact I did some bit shift melody stuff myself in supercollider based on those and some other code.

One of the sc people released an iPhone app that let's you write bitshift based melodies.

The early stuff that supercolliders creator James McCartney did really set the style for short, mathematically elegant music. It's really a great language for it. You can do operations on arrays, and do interesting multichannel expansion.