[Csnd] Csound VST and Python
Date | 2013-09-06 19:45 |
From | esnho esnho |
Subject | [Csnd] Csound VST and Python |
Hi everybody, I'm new in the list, is possible to write an independent VST in Csound with a Python interface? I mean, is it possible to create, for windows for example, a dll developed in Csound and Python? Or something similar?
/* * Luca Moroni */ |
Date | 2013-09-06 20:11 |
From | Michael Gogins |
Subject | Re: [Csnd] Csound VST and Python |
What is currently possible on Windows is the following: You can run CsoundVST, which already exists as a VST DLL, which in turn can run whatever Csound orchestra you like as a VST. The Csound orchestras, in turn, can run Python code using the Python opcodes. When you use CsoundVST, the Csound orchestra inside it is stored in the preset or patch, so in effect you can create a bunch of different VSTs using Csound.
You can use Cabbage, which already exists, to create "new" VST plugins based on Csound. The Csound orchestras in this case, also, can run Python code using the Python opcodes. I put "new" in quotes, because Cabbage uses a clever trick to run one VST plugin as if it were a bunch of different VSTs. Cabbage has the advantage that you can design custom VST GUIs with it.
What you cannot do at this time is write a VST DLL directly in Python. Whatever you can do in these cases with Python, can also be done using Lua, which runs considerably faster. The LuaJIT Lua compiler is installed along with Csound by the Windows installer.
I should also mention that, if you are a C or C++ programmer, you can rather easily embed both Csound and the Csound orchestra file in your own new VST plugins written in C++. I may write an article for the Csound journal about this. The embedded orchestra, in turn, can contain Python or Lua code.
I hope this is not too confusing... Mike ===========================
Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Fri, Sep 6, 2013 at 2:45 PM, esnho esnho <esnhoesnho@gmail.com> wrote:
|
Date | 2013-09-08 08:31 |
From | Tarmo Johannes |
Subject | Re: [Csnd] Csound VST and Python |
Dear Michael,
an article about writing a vst plugin using Csound in C++ would be really great! Please do, if your time only allows.
greetings, tarmo
On Friday 06 September 2013 15:11:12 Michael Gogins wrote: What is currently possible on Windows is the following: You can run CsoundVST, which already exists as a VST DLL, which in turn can run whatever Csound orchestra you like as a VST. The Csound orchestras, in turn, can run Python code using the Python opcodes. When you use CsoundVST, the Csound orchestra inside it is stored in the preset or patch, so in effect you can create a bunch of different VSTs using Csound. You can use Cabbage, which already exists, to create "new" VST plugins based on Csound. The Csound orchestras in this case, also, can run Python code using the Python opcodes. I put "new" in quotes, because Cabbage uses a clever trick to run one VST plugin as if it were a bunch of different VSTs. Cabbage has the advantage that you can design custom VST GUIs with it. What you cannot do at this time is write a VST DLL directly in Python. Whatever you can do in these cases with Python, can also be done using Lua, which runs considerably faster. The LuaJIT Lua compiler is installed along with Csound by the Windows installer. I should also mention that, if you are a C or C++ programmer, you can rather easily embed both Csound and the Csound orchestra file in your own new VST plugins written in C++. I may write an article for the Csound journal about this. The embedded orchestra, in turn, can contain Python or Lua code. I hope this is not too confusing... Mike =========================== Michael Gogins On Fri, Sep 6, 2013 at 2:45 PM, esnho esnho <esnhoesnho@gmail.com> wrote: Hi everybody, I'm new in the list, is possible to write an independent VST in Csound with a Python interface? I mean, is it possible to create, for windows for example, a dll developed in Csound and Python? Or something similar?
|
Date | 2013-09-08 17:44 |
From | Michael Gogins |
Subject | Re: [Csnd] Csound VST and Python |
"A Csound Tutorial", by me, describes how to use CsoundVST. It is available in the WIndows installer, and also on my Web site, or here: https://www.dropbox.com/s/0d7rxjy7pqlx5w2/tutorial.zip Hope this helps, Mike =========================== Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Sun, Sep 8, 2013 at 3:31 AM, Tarmo Johannes <tarmo.johannes@otsakool.edu.ee> wrote:
|
Date | 2013-09-09 14:52 |
From | Rory Walsh |
Subject | Re: [Csnd] Csound VST and Python |
If you wish to use Python with Cabbage VST it's pretty straight forward. Here's a thread describing how to do simple python integration with Csound. http://thecabbagefoundation.org/viewtopic.php?f=17&t=116 On 8 September 2013 17:44, Michael Gogins |