Topic: How to use Pianoteq as a VST pluggin

I am wondering how to use Pianoteq as a VST pluggin in Csound. I load Pianoteq.dll to csound file but I dont know how to deal with it.

Anyway who can tell me how can I transfer frequency value to MIDI note value in Csound. Many thanks.

Re: How to use Pianoteq as a VST pluggin

I think Csound is not a VST host, but rather a sound design programming language. Therefore you cannot use Pianoteq as VST in it, you need a regular VST host, like SAVIhost or something like that.

Hard work and guts!

Re: How to use Pianoteq as a VST pluggin

Hi,EvilDragon. Thank you for your reply.
But I still believe Csound could be a VST host to load vstpluggin.
I have already loaded pianoteq.dll into my csound file, I just want to know how to use it within the csound.

Re: How to use Pianoteq as a VST pluggin

CSound is setup to take VST pluggins.  There are CSound VST commands, like VST init.  So it is not a matter that CSound cant be a VST host but a matter of how to link in the pianoteq.dll into the CSound environment.  Unfortunately I dont know the answer to that question.

Re: How to use Pianoteq as a VST pluggin

Hi,

You will probably get more help from the CSound forums as your question is quite generic (using a VST synth in csound). According to csound doc you can use  http://www.csounds.com/manual/html/vstnote.html in order to send notes into the vst instrument. In order to have pianoteq generate sound for a given pitch, you should select the "flat" tuning in pianoteq , set octave stretching to 1, and then the midi note N will have a fundamental of freq 440 * 2^((N-69)/12). Using pitchbend midi messages, you can alter those frequencies, the default pitchbend range in pianoteq is +-200 cents.

Re: How to use Pianoteq as a VST pluggin

Thanks for above replies.

Admin, does it mean I need to make some configuration in pianoteq firstly according to what you mentioned and then I can use it in csound?

I try the vstnote example in the manual, but I can not successfully use vstplugg, the compiling result shows using vstplugg is invalid. however I use the newest csound to compile and vst4cs.dll has been included within the csound folder. I am so confused about that.

Re: How to use Pianoteq as a VST pluggin

LianZhang wrote:

Admin, does it mean I need to make some configuration in pianoteq firstly according to what you mentioned and then I can use it in csound?

Yes that will be required if you want to control exactly the fundamental frequency of the notes played via pianoteq. But I suggest that you do not bother with that until you get pianoteq running in csound and can trigger notes on it via the vstnote command.