Thanks Mike. I have finished an implementation in python which was quite simple. However, when I try to create an instance of CppSound in C++ I get an 'undefined reference to CppSound::CppSound()' error.
Does anyone have any sample code showing the proper way to use CppSound in C++? I'm pretty keen on figuring this out.
Thanks,
Balan
No.
If you want to build a score before performance, use
CppSound.setScore(score)
or CppSound.addScoreLine(string) or CppSound.addNote(p1, p2, p3, p4...p11).
Then you must use CppSound.exportForPerformance() before compiling, and in
the Csouned command specify an orc filename and sco filename.
See examples/koch.py.
Regards,
Mike
----- Original Message -----
From: "Rory Walsh" <rorywalsh@ear.ie>
To: "Developer discussions" <csound-devel@lists.sourceforge.net>
Sent: Saturday, March 15, 2008 6:25 PM
Subject: Re: [Cs-dev] matlab interface
> Balan posted the code at the end of his email. I had a quick look but
> couldn't spot anything obvious. Is it Ok to call csoundScoreEvent()
> before a performance has started?
>
> Rory.
>
>
> victor wrote:
>> That seems correct. Can you quote your code?
>>
>> ----- Original Message -----
>> *From:* Balan Clockfactory <mailto:balanclock@gmail.com>
>> *To:* Developer discussions
>> <mailto:csound-devel@lists.sourceforge.net>
>> *Sent:* Saturday, March 15, 2008 10:03 PM
>> *Subject:* Re: [Cs-dev] matlab interface
>>
>> I hope I'm not being a nuisance but I am currently getting an error
>> when I call csoundScoreEvent(). The error is "invalid instrument
>> number or name". I am testing with a very simple instrument so I'm
>> no
>
> -------------------------------------------------------------------------
> 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