Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] csound.exportForPerformance() python segfault

Date2005-03-18 14:34
FromMichael Gogins
SubjectRe: [Cs-dev] csound.exportForPerformance() python segfault
Did you set the OPCODEDIR and PYTHONPATH environment variables as in the manual?

-----Original Message-----
From: Jeremiah Benham 
Sent: Mar 18, 2005 1:45 AM
To: csound-devel@lists.sourceforge.net
Subject: [Cs-dev] csound.exportForPerformance() python segfault

I don't know if this is a bug in python or CsoundVST.

I typed in the follwing code into a python interpreter:

import CsoundVST
csound.setCommand('csound -RWdo ./Trapped.py.wav test.orc test.sco')

csound.setOrchestra('''

sr      =       44100
ksmps   =       4410
kr      =       10
nchnls  =       1
        
	instr    1
   a1       oscil   10000,440,1
   out     a1
   endin
''')

csound.setScore('''

f1   0  8192  10   1

i1   0.0    5

''')

csound.exportForPerformance()
csound.perform()

This segfaults when I get to:

csound.exportForPerformance()

Thanks,
Jeremiah



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-18 15:52
Fromjjbenham@chicagoguitar.com (Jeremiah Benham)
SubjectRe: [Cs-dev] csound.exportForPerformance() python segfault
AttachmentsNone