[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microsound] Max/MSP
On Fri, 1 Jun 2001, Jeremy Tolsma wrote:
> Ok, if you're a C coder you may have trouble getting your brain around the
> concepts of object oriented programming.
it might be worth noting that you can write object oriented C. many
people do that rather than use C++, because of the design flaws they see
in it, and the massive investment required to learn the language and its
idioms.
personally i find it hard to be expressive with C or C++; it takes too
long to hack up an idea. with Perl i can get music playing in a fraction
of the time. it's such a rich language that you can use a subset of it
that suits how you want to work.
open(F,'>/dev/audio');$m='ub . . quicksort techo . . sl';
while(){@d=sort{push@o,$a,$b;$a<=>$b}map{512-rand(1023)}0..
1023;for(0..3){map{print F pack'C',$_;$m=~s{^(.)(.*)}{$2$1}
;printf"\e[%d;%dH$1",13.5-25*($_/1024),++$f%80+1}@o}}# yaxu
alex
--
To prevent reflections from the ends of the bus, you need a device
which makes the transmission line appear to be of infinite length