Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:5016] Re: vst4cs

Date2004-07-18 16:25
From"gogins@pipeline.com"
Subject[CSOUND-DEV:5016] Re: vst4cs
I have just now committed fxbank.h and .cpp -- sorry about the omission.
The VST SDK is not required, as I uncommented the vstfxstore.h code in
fxbank.h. vstnote is working for me, why not for you? I will look into the
idle call.

Your vst4cs project has inspired me to attempt a PD proxy opcode for
Csound, pd4cs. It will enable PD patches to run as opcodes in Csound. I
have only just begun working on this.


Original Message:
-----------------
From: Andres Cabrera acabrera@teleset.com.co
Date: Sun, 18 Jul 2004 09:23:43 -0500
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:5015] Re: vst4cs


Excellent, the vst editor window opens for all plugins I've tried!

All plugins I've tried have loaded fine, (even blockfish now, which 
didn't load before), except Absynth 2, which crashes when calling 
audioMasterNeedIdle. The problem can be solved by commenting out the 
effIldle dispatch on line 774. Probably not the right solution, but 
works. This probably shows that some of the more complex plugins will 
require a little tweaking to work fine...
        //effect->dispatcher(effect, effIdle, 0, 0, NULL, 0.0f);


The only problem I have right now is the silent output from vstnote. But 
plugin processing is working fine. I can even manipulate plugin 
parameters in the gui without breaking up the audio!
This opens a nice possibility I'd thought of which is building cross 
platform control interfaces for csound using the vstsdk and vstgui.

One more thing Michael, please check in fxbank.h and fxbank.cpp which 
are required for bank loading. They're already included in Sconstruct. 
The path to the vstsdk should also be included to build vst4cs, since 
the bank loading routine needs vstfxstore.h which is not in  
frontends/CsoundVST .




 gogins@pipeline.com wrote:

>Progress with vst4cs (all booked into CVS):
>
>Incorporated Andres Cabrera's bank loading opcode, not tested yet.
>
>Added simple program select opcode, not tested yet.
>
>Implemented simple plugin edit dialog (seems to work).
>
>Changed all memory management in VSTPlugin class (audio buffers, event
>arrays, etc.) to std:: collections for simplicity and safety.
>
>Updated HTML documentation with Andres' contributions.
>
>Thanks, Andres.
>
>This project needs testers!
>
>I will prepare a new file release package for CsoundVST/mingw tonight or
>tomorrow, including vst4cs.
>
>
>
>
>--------------------------------------------------------------------
>mail2web - Check your email from the web at
>http://mail2web.com/ .
>
>
>  
>


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Date2004-07-18 17:25
FromAndres Cabrera
Subject[CSOUND-DEV:5017] Re: vst4cs
Thanks Michael. Uncommenting the code is a good idea, less files to 
distribute. I'll update my cvs just in case, and try vstnote again.
PD inside Csound! Amazing if it can be done!

gogins@pipeline.com wrote:

>I have just now committed fxbank.h and .cpp -- sorry about the omission.
>The VST SDK is not required, as I uncommented the vstfxstore.h code in
>fxbank.h. vstnote is working for me, why not for you? I will look into the
>idle call.
>
>Your vst4cs project has inspired me to attempt a PD proxy opcode for
>Csound, pd4cs. It will enable PD patches to run as opcodes in Csound. I
>have only just begun working on this.
>
>  
>

Date2004-07-18 22:50
Fromiain duncan
Subject[CSOUND-DEV:5031] Re: vst4cs
> I have just now committed fxbank.h and .cpp -- sorry about the omission.
> The VST SDK is not required, as I uncommented the vstfxstore.h code in
> fxbank.h. vstnote is working for me, why not for you? I will look into the
> idle call.
> 
> Your vst4cs project has inspired me to attempt a PD proxy opcode for
> Csound, pd4cs. It will enable PD patches to run as opcodes in Csound. I
> have only just begun working on this.

That sounds great. Any chance that either of you will do a similar thing 
for LADSPA plugins on linux? Is there a way to use vst plugins on linux 
through csound or are they just incompatible?

Thanks
Iain

Date2004-07-19 04:39
FromAndres Cabrera
Subject[CSOUND-DEV:5028] Re: vst4cs
I have ssh working with wincvs, but something's apparently wrong with my 
permissions. Can you check my karma John?

Michael, I did a fresh checkout of all the sources and vstnote is not 
producing output. This is the csd I'm using:




-o dac3 -B4096 -b 1024




    sr     = 44100
    kr     = 4410
    ksmps  = 10
    nchnls = 2

ga1 init 0
ga2 init 0
gihandle5 vstinit "c:/vstplugins/cheeze/cheeze machine.dll",1

instr 3
ain1 = 0
ab1, ab2 vstplug gihandle5, ain1, ain1
outs ab1, ab2
endin

instr 4
vstnote gihandle5, 1, p4, p5, p3
;vstout gihandle5,144,1, p4, p5
endin





i3 0 21

i4 1 3 57 32
i4 3 3 60 100

i4 5 3 62 100
i4 7 3 64 100
i4 9 2 65 100

i4 11 1 67 100
i4 13 1 69 100
i4 15 3 71 100
i4 18 3 72 100





Date2004-07-19 13:32
Fromacabrera@teleset.com.co
Subject[CSOUND-DEV:5034] Re: vst4cs
>That sounds great. Any chance that either of you will do a similar thing
>for LADSPA plugins on linux? Is there a way to use vst plugins on linux
>through csound or are they just incompatible?

I've heard many vstplugins (mostly those without copy protection) are running on
linux using wine, but I'm not sure if it's through a VST-LADSPA adapter or with
a special vst host for linux. Am I right in thinking that 'wrapping' the dll
with wine might make it work with vst4cs if it builds on linux(which it should)?
When I really get into linux, I'll have a look at ladspa4cs. What's stopping me
right now, is *time* and drivers for my laptop card not working. I already dived
into planet CCRMA, though...

Andres