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

2011/10/31 Epic Jefferson <[email protected]>

> 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)) }.play
>
> in CSound, we could have a better idea of the different coding
> perspectives.
>
>
> 2011/10/31 Jonathan Wilkes <[email protected]>
>
>> >________________________________
>> >From: Michal Seta <[email protected]>
>> >To: yvan volochine <[email protected]>
>> >Cc: pd-list <[email protected]>; João Pais <[email protected]>
>> >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 <[email protected]>
>> wrote:
>> >
>> >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?
>>
>>
>> Could you give a csound example?  It's been awhile since I've played with
>> Supercollider, but
>>
>> 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.)
>>
>> >
>> >- 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.
>>
>> Interesting, I've never looked at that one.  Thanks.
>>
>> -Jonathan
>>
>>
>> >
>> >
>> > Cheers,
>> >
>> >
>> >./MiS
>> >_______________________________________________
>> >[email protected] mailing list
>> >UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>> >
>> >
>> >
>>
>> _______________________________________________
>> [email protected] mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>
>
>
> --
> www.epicjefferson.com
> www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org
>
> _______________________________________________
> [email protected] 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

 <[email protected]>tél. 514-343-2172 | téléc. 514-343-5727

http://www.iact.umontreal.ca

http://www.jmdumas.org

http://magasin.bandcamp.com
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to