| Csound can certainly be used for plugin opcodes. The fluid opcode is written
in C++. I find it much easier to use C++. You just need to declare and
export the VST main function the same way that the fluid opcode does.
----- Original Message -----
From: "Andres Cabrera"
To: "Csound Developers Discussion List"
Sent: Tuesday, June 01, 2004 9:41 PM
Subject: [CSOUND-DEV:4798] New questions for plugin development
> Hi,
>
> As I have yet to shed my newbie status in C programming, please forgive
> me if the following questions are trivial.
> The quesions are:
>
> 1. When a plugin opcode wants to display a message on the console, is
> there a more direct (and independent) way than setting a string in
> all_strings and then using something like:
> printf(Str(X_1970,"VSTinit\n"));
>
>
> 2. Is it possible to use C++ when developing a plugin opcode? From what
> I saw, only C opcodes are valid (If I use a .cpp file, the dll is built
> fine, but is not recognized by csound5). I would need this in order to
> use several C++ classes for handling VST plugs.
>
>
> Cheers,
> Andrés
> |