Csound Csound-dev Csound-tekno Search About

[Csnd] Setting options/orc/sco using csound.h

Date2009-04-11 11:40
FromChuckk Hubbard
Subject[Csnd] Setting options/orc/sco using csound.h
Hello.
I want to pass a string to a Csound instance using C++, either to
"setCSD" or to individually set Command, Orchestra, and Score.  It
appears the standard input arguments for the functions in csound.h and
csound.hpp expect filenames.  csnd.h, on the other hand, has the
CppSound class, which is derived from CsoundFile, which has the
'setCSD', etc. functions.  Is there a way to emulate the .setCSD()
method with the classes in csound.h/csound.hpp?

-Chuckk

-- 
http://www.badmuthahubbard.com