Csound Csound-dev Csound-tekno Search About

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

Date2008-05-18 16:21
Fromvictor
SubjectRe: [Cs-dev] Problems with API (for QuteCsound)
AttachmentsNone  None  
you're right, and it works, sorry, I had the impression I could not
get comments there to work.
----- Original Message -----
Sent: Sunday, May 18, 2008 1:14 PM
Subject: Re: [Cs-dev] Problems with API (for QuteCsound)

Hi Victor,
All the examples in the manual have comments in the CsOptions section and this is handled correctly by Csound. Is this a feature or a bug? =)

Cheers,
Andrés

On Sun, May 18, 2008 at 1:58 AM, victor <Victor.Lazzarini@nuim.ie> wrote:
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

-------------------------------------------------------------------------
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



-------------------------------------------------------------------------
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