SuperCollider

diversion from a bored day

Just some silliness to remind myself that I haven’t yet completely forgotten everything:

{
	f=SinOsc.kr(1/60, 0, 300, 440);
	SinOsc.ar([SinOsc.kr(2,0,100,f), SinOsc.kr(2,pi,100,f)]) 
}.play

coming full circle, back to SuperCollider

I was wondering if there’s a way to do timbre in WebAudioAPI (actually, in retrospect I now remember there’s a way) and what did Google find? It found mohayonao’s timbre.js.

What’s bizarre about this piece of code is that to use it, you use a syntax that’s clearly derived from SuperCollider.

I won’t have enough time to learn to use this right away, but I’m now seeing myself make what’s essentially a U-turn, back to what I explored a year and a half ago.

That is why they do it in SuperCollider

So this is why they use SuperCollider for sonification, I think. First a lot of things like metronome beats are just one line of code. And second how do you record something written in WebAudioAPI? If I did this in SC that would be one line of code (I have already forgotten what that one line was but I remember it was just one line), but since I did this in WebAudioAPI I’m still scratching my head.

And I don’t even have a lot of time left. I basically have to get up at 5am tomorrow, which means I have to sleep at 9pm or something today…

Syndicate content