[Cs-dev] [Cs-Dev] pvsout with Python
Date | 2010-05-25 13:05 |
From | Chuckk Hubbard |
Subject | [Cs-dev] [Cs-Dev] pvsout with Python |
Attachments | pvsdisp.py None None |
Hi. I'm trying to pass pvs data to a Python host, for display (pvsdisp is working okay for me, but I want more control over display). I'm afraid I'm completely stumped after what's in this script. The important part: cs.exportForPerformance() cs.compile() perf = csnd.CsoundPerformanceThread(cs) perf.Play() frecv = csnd.PVSDATEXT() If I call cs.PvsoutGet(frecv, 1) Python crashes. I'm sure I'm once again completely misunderstanding how it should work, but I can't get started. As crazy as it sounds, what I am after is to send audio signals from a main CppSound instance running a .csd; then the user can select which of those audio channels to view using a drop-down menu; then that signal is pushed through another CppSound instance running one generic instrument that runs pvsanal on the audio signal and returns the data. I'm not sure if fsig data will be in a form I can use, but I can't get past the part with retrieving the data. Thanks. -Chuckk -- http://www.badmuthahubbard.com |
Date | 2010-05-25 13:09 |
From | Victor.Lazzarini@nuim.ie |
Subject | Re: [Cs-dev] [Cs-Dev] pvsout with Python |
Attachments | None None None None |
Date | 2010-05-25 13:15 |
From | Chuckk Hubbard |
Subject | Re: [Cs-dev] [Cs-Dev] pvsout with Python |
Attachments | None None |
Thanks for the quick response. I saw a discussion on the Tcl version while looking around. I'll wait, take your time. -Chuckk On Tue, May 25, 2010 at 3:09 PM, <Victor.Lazzarini@nuim.ie> wrote: Never tried this with Python, but I suspect it will need further wrapping before it's usable in that language. I have wrapped in Tcl and it's possible to use that. -- http://www.badmuthahubbard.com |