=== update === I have preferred to maintain the old behavior for `csoundCompile' (csoundStart inside) in this initial phase, so I don't have to modify the frontends. Here is an example that works in cs6 after git-20c9725ab767d41 #include int main(int argc, char **argv) { CSOUND *csound; int result; csound = csoundCreate(0); /* * TODO: a way to set the OPARMS struct. * This example uses the default. */ csoundCompileOrc(csound, "sr = 44100\n" "ksmps = 64\n" "nchnls = 1\n" "0dbfs = 1\n" "instr 1\n" "kenv oscil p5, p6/p3, 1, 0.5\n" "aout poscil3 kenv, p4, 1\n" "out aout\n" "endin\n"); csoundReadScore(csound, "f1 0 8192 10 1\n" "i1 0 .8 440 0.7 3\n" "i1 1 . 880 0.2 8\n" "i1 2 . 110 0.5 0.5\n"); if (csoundStart(csound) == CSOUND_SUCCESS) result = csoundPerform(csound); csoundDestroy(csound); return (result >= 0 ? 0 : result); } tito ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net