Csound Csound-dev Csound-tekno Search About

Re: Algorithmic composition with csound

Date1999-08-19 23:02
Fromumbpux@tin.it
SubjectRe: Algorithmic composition with csound
> 
> Hi all,
> 
> I was thinking about algorithmic composition within csound,
> i.e. not generating a score file that represents the composition
> but having a composer instrument in the orchestra that generates
> the composition completely with csound operators and sends events
> to sound generating instruments in the same orchestra in realtime.
> 
> I first thought the schedwhen operator might do that job, but I
> found that you can only generate one event per operator, not an
> arbitrary number of events. (Am I right, or did I miss something?)
> 
> Anyway, I found a solution that seems very simple and elegant
> to me. Here is the header from my sample algocomp.csd:

Why don't use a pipe and "-L pipename" (or "--lineeventdev=pipename" )
flag and drive Csound with an external program. I find it is much easier
to
write complex programs in C, C++, PERL, Python, basic, ... than in the
Csound orc language.