-----
Original Message -----
Sent:
Sunday, May 18, 2008 3:30 AM
Subject:
[Cs-dev] Problems with API (for QuteCsound)
Hi all,
I'm nearing completion of my csound editor,
which I've called QuteCsound. You can find the sources here:
https://sourceforge.net/svn/?group_id=227265It
requires Qt4 and csound to build, comments very welcome. To build, go to
the src directory and do:
qmake
make
(or if on OS X, open the
Xcode project created by qmake)
.....
But I've run into a
couple of problems using the API:
First, it seems that if there are
comments in the CsOptions section and the csd is passed using setCSD(),
these are inserted in the command line, which causes an
error.
Second, I can't figure out why csound fails to produce
results... The way I'm using the API, on src/qutecsound.cpp:221
:
CppSound csound;
csound.setCSD(csdText);
csound.exportForPerformance();
csound.compile();
csound.perform();
produces:
BEGAN
CppSound::compile()...
No Csound command.
BEGAN CppSound::perform(0,
(nil))...
ENDED CppSound::perform without compiling or
performing.
What am I missing? (the file csdText is an std::string
which contains a valid csd and I'm using Felipe's Debian packages-
5.08)
Cheers,
Andrés