Name: Anonymous 2010-12-03 8:11
Without throwing too much logic and efficiency my way, how are some ways i can use both these languages on one project?
I am new to csound but i love it.
there is a sort of API that reads:
#include "csound.h"
int main(int argc, char **argv)
{
// Create Csound.
void *csound = csoundCreate(0);
// One complete compile/perform cycle.
int result = csoundCompile(csound, argc, argv);
if(!result) {
while(csoundPerformKsmps(csound) == 0){}
csoundCleanup(csound);
}
// Destroy Csound.
csoundDestroy(csound);
return result;
}
Any other ways? tags/parsers?
I am new to csound but i love it.
there is a sort of API that reads:
#include "csound.h"
int main(int argc, char **argv)
{
// Create Csound.
void *csound = csoundCreate(0);
// One complete compile/perform cycle.
int result = csoundCompile(csound, argc, argv);
if(!result) {
while(csoundPerformKsmps(csound) == 0){}
csoundCleanup(csound);
}
// Destroy Csound.
csoundDestroy(csound);
return result;
}
Any other ways? tags/parsers?