Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Problems with API (for QuteCsound)

Date2008-05-18 07:58
Fromvictor
SubjectRe: [Cs-dev] Problems with API (for QuteCsound)
AttachmentsNone  None  
AFAIK, no comments are allowed in the CsOptions section.
----- 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=227265

It 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



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2008-05-18 13:14
From"Andres Cabrera"
SubjectRe: [Cs-dev] Problems with API (for QuteCsound)
AttachmentsNone  None  None  None