It's great to see pyo make an appearance in this discussion. For completion's sake, here's the "128 sine waves with random freq mixed down to stereo" example written in pyo. I find it much more readable than either SC or cSound, but that's only a matter of taste i guess.
Sine([random.uniform(20,20000) for i in range(128)]).mix(2)
Since pyo is just another python module, all you have to do is import it in a python script. You also get the power of all those other python modules in your scripts.. very very fun.
For those who missed Michal's link the first time around: http://code.google.com/p/pyo/ . Try it, you'll love it!™.
Cheers,
jm
Thanks guys, those are all great suggestions. And pyo looks interesting as well. I agree with jonathan. perhaps with a code example equivalent to SuperCollider's>>// 128 sine waves with random freq mixed down to stereo:
>>{ Splay.ar(SinOsc.ar({ExpRand(100, 5e3)} ! 128)) }.playin CSound, we could have a better idea of the different coding perspectives.2011/10/31 Jonathan Wilkes <jancsika@yahoo.com>
>________________________________
>From: Michal Seta <mis@artengine.ca>
>To: yvan volochine <yvan.pd@gmail.com>
>Cc: pd-list <Pd-list@iem.at>; João Pais <jmmmpais@googlemail.com>
>Sent: Monday, October 31, 2011 5:10 PM
>Subject: Re: [PD] OT: Poll: Csounds or SuperCollider or Chuck
>
>
>On Wed, Oct 26, 2011 at 2:45 PM, yvan volochine <yvan.pd@gmail.com> wrote:Could you give a csound example? It's been awhile since I've played with Supercollider, but
>
>1. How do they compare against each other?
>>>>
>>
I only know a bit csound and am an everyday sc user.
>>- I find csound oldschool syntax pretty boring but maybe that's just me.
>>
>
>
>I find SC syntax pretty ugly, so I guess it is all a matter of taste.
>
>- sc is a killer for realtime dsp.
>>
>
>
>So is CSound, no?
its realtime strengths were immediately apparent early on in the tutorials. Things like creating
hundreds/thousands of sinewave oscillators that fade out over time and get garbage collected
when each envelope hits zero. (All without audio dropouts, of course.)
Interesting, I've never looked at that one. Thanks.
>
>- sc-list is *extremely* active and helpful.
>>
>
>
>polyphony in pd is a nightmare, you get it for free in sc:
>>
>>// 128 sine waves with random freq mixed down to stereo:
>>{ Splay.ar(SinOsc.ar({ExpRand(100, 5e3)} ! 128)) }.play
>
>
>You get it for free in CSOund.
>
>(advertising-mode off) best is of course to try them all and see for yourself !
>
>
>I agree. And to add to the choices, I suggest you all take a look at http://code.google.com/p/pyo/
>You program it in python so its syntax is prettier than CS and SC and modules are coded in C so it is fast.
-Jonathan
>
>
> Cheers,
>
>
>./MiS
>_______________________________________________
>Pd-list@iem.at mailing list
>UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
>
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Jean-Michel Dumas, Directeur Technique
Université de Montréal, iACT / Faculté de Musique