[Csnd] Python & CsoundVST
Date | 2011-01-02 03:07 |
From | Jim Aikin |
Subject | [Csnd] Python & CsoundVST |
In taking a look at Michael Gogins's tutorial.pdf (principally because there's a link to it from the Canonical Manual), I became at least mildly curious about the status of both Python and CsoundVST. Which versions of Python are compatible with Csound 5.11.1 for Windows? 2.6? 2.7? 3.1??? According to the tutorial, I may "need to add the directory where the _CsoundVST.dll has been installed" to my PYTHONPATH environment variable. But I don't seem to have that .dll anywhere, which makes adding it to the PYTHONPATH just a tiny bit awkward. Can anyone offer a suggestion on how one might proceed? Also ... I've seen hints here and there that Csound can act as a host for VST plug-ins. Are there some good instructions somewhere on how to set that up? Thanks for any hints. --JA |
Date | 2011-01-02 03:18 |
From | Jim Aikin |
Subject | [Csnd] Re: Python & CsoundVST |
Just to make life a bit more interesting: My Csound/bin directory is clearly included in PYTHONPATH, and contains a file called _csnd.pyd (but no file called csnd.py). When I try to import this into Python 2.7, using the command provided in Michael's tutorial, I get the following output: >>> import csnd Traceback (most recent call last): File " |
Date | 2011-01-02 03:19 |
From | Jim Aikin |
Subject | [Csnd] Re: Python & CsoundVST |
(Oops ... that directory does in fact contain csnd.py. Sorry for the confusion.) --JA |
Date | 2011-01-02 08:18 |
From | francesco |
Subject | [Csnd] Re: Python & CsoundVST |
Hi Mr. Jim, Csound 5.11 and 5.12 need Python 2.6; on Windows You need to add the directory of Your csound/bin to PYTHONPATH (csnd.py and CsoundAC.py are there). After that You should be able to run Python and import csnd or CsoundAC and go with Mr. Gogins tutorial. Better explanation by the experts. Also, if You search for CsoundAC/CsoundVST (here on the forum) You will find many discussions about and something helpful. hope enough clear and helpful (i'm drinking my first coffe), ciao, francesco. |
Date | 2011-01-02 09:27 |
From | Andres Cabrera |
Subject | [Csnd] Re: Python & CsoundVST |
Hi, Csound can host vst using the vst opcodes: www.csounds.com/manual/html/vst4cs.html Due to the VST licencing, these opcodes can't be distributed together with Csound, so Michael makes them available, but I'm not sure where (he has posted the link on this list a couple of times). Cheers, Andres On Sun, Jan 2, 2011 at 3:07 AM, Jim Aikin |
Date | 2011-01-02 17:14 |
From | Michael Gogins |
Subject | [Csnd] Re: Re: Python & CsoundVST |
They are on my personal web site at http://www.michael-gogins.com. Regards, Mike On Sun, Jan 2, 2011 at 4:27 AM, Andres Cabrera |
Date | 2011-01-02 17:19 |
From | Michael Gogins |
Subject | [Csnd] Re: Python & CsoundVST |
The version of the tutorial you are looking at is probably not the latest, as _CsoundVST.dll is no longer required to be in the PYTHONPATH whereas _csnd.pyd and _CsoundAC.pyd are (if you want to use csnd and CsoundAC in Python). The current version is installed with the current Windows installer. Python 2.6 is the only supported version for the Windows Csound installer. This will have to change with the next release, as Python 2.6 is no longer available for download from obvious places. I suppose we should move to Python 3 although this will require changes to a lot of examples. Regards, Mike On Sat, Jan 1, 2011 at 10:07 PM, Jim Aikin |
Date | 2011-01-02 17:21 |
From | Jim Aikin |
Subject | [Csnd] Re: Re: Python & CsoundVST |
I'm finding a link on your site for a download of the full 5.11.1 installation. Is there a link to just the vst4cs.dll file by itself? I mean, I've already done an install. Also, as time goes on, 5.11.1 will drift out of date. I'm using that version rather than 5.12.1, as there's a bug in the latter that causes one of my pieces to crash. But wouldn't it be easier for you to maintain to provide the dll by itself? |
Date | 2011-01-02 17:40 |
From | Jim Aikin |
Subject | [Csnd] Re: Python & CsoundVST |
On 1/2/2011 9:20 AM, Michael Gogins-2 [via Csound] wrote:
> The version of the tutorial you are looking at is probably not the > latest, as _CsoundVST.dll is no longer required to be in the > PYTHONPATH whereas _csnd.pyd and _CsoundAC.pyd are (if you want to use > csnd and CsoundAC in Python). The current version is installed with > the current Windows installer. The version of the tutorial pdf that I have here is dated Dec. 28, 2006, but I downloaded it yesterday, using the link in the Canonical Manual, if there's a more recent version, then of course I'll update that page in the manual. Can you provide a link to the correct version? --JA View this message in context: Re: Python & CsoundVST Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2011-01-02 17:51 |
From | Stéphane Rollandin |
Subject | [Csnd] Re: Re: Re: Python & CsoundVST |
> But wouldn't it be easier for > you to maintain to provide the dll by itself? +1 Meanwhile I just uploaded the dll here for you: http://www.zogotounga.net/comp/vst4cs.dll Stef Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2011-01-02 18:05 |
From | Jim Aikin |
Subject | [Csnd] Re: Python & CsoundVST |
On 1/2/2011 9:52 AM, Stéphane Rollandin [via Csound] wrote:
> > But wouldn't it be easier for > > you to maintain to provide the dll by itself? > > +1 > > Meanwhile I just uploaded the dll here for you: > http://www.zogotounga.net/comp/vst4cs.dll Thanks, Stef. Got it. (Now I'll have to figure out what to do with it....) --JA View this message in context: Re: Python & CsoundVST Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2011-01-02 18:32 |
From | Michael Gogins |
Subject | [Csnd] Re: Re: Python & CsoundVST |
There might be a binary incompatibility, the complete download prevents that. Regards, Mike On Sun, Jan 2, 2011 at 1:05 PM, Jim Aikin |
Date | 2011-01-02 18:38 |
From | "Marc D. Demers" |
Subject | [Csnd] RE: Re: Python & CsoundVST |
Python 2.6 is still available and updated at the ActivePython site (http://www.activestate.com/activepython/downloads) and by the way, there is a lot of packages that only work , or work better with 2.6 (Pythonxy, Nsound, Scipy, Numpy, etc.). Marc > Date: Sun, 2 Jan 2011 12:19:52 -0500 > From: michael.gogins@gmail.com > To: csound@lists.bath.ac.uk > Subject: [Csnd] Re: Python & CsoundVST > > The version of the tutorial you are looking at is probably not the > latest, as _CsoundVST.dll is no longer required to be in the > PYTHONPATH whereas _csnd.pyd and _CsoundAC.pyd are (if you want to use > csnd and CsoundAC in Python). The current version is installed with > the current Windows installer. > > Python 2.6 is the only supported version for the Windows Csound > installer. This will have to change with the next release, as Python > 2.6 is no longer available for download from obvious places. I suppose > we should move to Python 3 although this will require changes to a lot > of examples. > > Regards, > Mike > > On Sat, Jan 1, 2011 at 10:07 PM, Jim Aikin <midiguru23@sbcglobal.net> wrote: > > > > In taking a look at Michael Gogins's tutorial.pdf (principally because > > there's a link to it from the Canonical Manual), I became at least mildly > > curious about the status of both Python and CsoundVST. > > > > Which versions of Python are compatible with Csound 5.11.1 for Windows? 2.6? > > 2.7? 3.1??? > > > > According to the tutorial, I may "need to add the directory where the > > _CsoundVST.dll has been installed" to my PYTHONPATH environment variable. > > But I don't seem to have that .dll anywhere, which makes adding it to the > > PYTHONPATH just a tiny bit awkward. Can anyone offer a suggestion on how one > > might proceed? > > > > Also ... I've seen hints here and there that Csound can act as a host for > > VST plug-ins. Are there some good instructions somewhere on how to set that > > up? > > > > Thanks for any hints. > > > > --JA > > > > -- > > View this message in context: http://csound.1045644.n5.nabble.com/Python-CsoundVST-tp3324619p3324619.html > > Sent from the Csound - General mailing list archive at Nabble.com. > > > > > > Send bugs reports to the Sourceforge bug tracker > > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > > Discussions of bugs and features can be posted here > > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > > > > > > > > -- > Michael Gogins > Irreducible Productions > http://www.michael-gogins.com > Michael dot Gogins at gmail dot com > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > |
Date | 2011-01-02 20:00 |
From | Jim Aikin |
Subject | [Csnd] Re: Python & CsoundVST |
On 1/2/2011 10:33 AM, Michael Gogins-2 [via Csound] wrote:
> There might be a binary incompatibility, the complete download > prevents that. > Please forgive me for asking dumb questions, but I'm not a computer science whiz. Are you meaning to imply that your personal compiled version of 5.11.1 is not identical to the version on Sourceforge? Because if it _is_ identical, how could there be a binary incompatibility? And if it's not identical, can you help me understand in what ways it is known to differ? --JA View this message in context: Re: Python & CsoundVST Sent from the Csound - General mailing list archive at Nabble.com. |