| 2014-02-26 15:59 GMT+01:00 Andres Cabrera :
> IIRC this was a bug fixed after the latest release.
>
> Cheers,
> Andrés
>
>
> On Wed, Feb 26, 2014 at 4:06 AM, Oeyvind Brandtsegg
> wrote:
>>
>> Hi,
>>
>> Is GetPvsChannel available in the Csound API under Python?
>> I get a crash when trying to use it, but it might be that I'm using it
>> incorrectly (?) as I've just tried to translate the info in the
>> apidocs to how it could apply to Python.
>>
>> cs = csnd6.Csound()
>> cs.Compile("self_audio_csnd.csd")
>> stopflag = 0
>> fft_audio_in1 = numpy.zeros(1024)
>> fft_audio_in2 = numpy.zeros(1024)
>> while not stopflag:
>> stopflag = cs.PerformKsmps()
>> test1 = cs.GetPvsChannel(fft_audio_in1, 0)
>> test2 = cs.GetPvsChannel(fft_audio_in2, 1)
>> cs.Reset()
>>
>> any hints appreciated
>> best
>> Oeyvind
>>
>>
>> --
>>
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>>
>> http://flyndresang.no/
>> http://www.partikkelaudio.com/
>> http://soundcloud.com/brandtsegg
>> http://soundcloud.com/t-emp
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>> https://sourceforge.net/p/csound/tickets/
>> csound5:
>> https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
--
Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205
http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |