| Hi,
I'd like to transfer pvs bins between Csound and Python, and it seems
I can make it work by using
pvsout fsin, 0
in the Csound instrument,
then in Python:
fft_audio_in1 = csnd6.PVSDATEXT()
err = cs.PvsoutGet(fft_audio_in1, "0")
But, I'm not sure how to read the frames from the PVSDATEXT object.
fft_audio_in1.frame gives me "None"
and just to test:
fft_audio_in1.winsize gives me
swig/python detected a
memory leak of type 'int32 *', no destructor found.
Is it correct to use 0 as the channel name on the Csound side, and
then "0" as the channel name on the Python side? Seems a bit odd, but
was the only way I could seem to make it run without error.
--
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
|