| I have modified the Orbifold.py in Csound CVS to use the csnd module instead
of the CsoundVST module. On Windows XP, whether with MME or ASIO driver, it
works fine.
I also tried running your demix example from Python. When the FLrun opcode
is commented out, it produces sound but shows no GUI. When the FLrun opcode
is not commented out, it both produces sound and shows the GUI, and works.
The demix example produces sound but never shows the GUI in CsoundVST,
however, with or without FLrun.
Regards,
Mike
----- Original Message -----
From: "Victor Lazzarini"
To:
Sent: Saturday, February 04, 2006 5:27 AM
Subject: Threads in Python , was Re: [Cs-dev] Python wrapper and SWIG
problems
> On another matter, but related, are there any ideas as how
> to
> allow a python app run csound in a another thread without
> locking
> out?
>
> Or any suggestions as to how to implement a yield scheme in
> python
> to allow for event processing during performance in a single
> thread?
>
> I'd be most interested to learn.
>
> Victor
>
>>
>> Thanks, Istvan!
>>
>> I will give it a try. Word size and endianness are of
>> course the same. The only problem might be the __THREAD__
>> macro. Thanks for the heads-up on that one.
>>
>> Anthony
>>
>> Istvan Varga wrote on 2/4/06 5:05 AM:
>>
>> > The wrapper files generated by SWIG do not seem to be
>> > platform dependent, other than some optional thread
>> > locking stuff in python_interface_wrap.h that is enabled
>> > only if the macro __THREAD__ is defined. At least I can
>> create the wrapper sources on Linux and then compile for
>> > Win32 and the resulting modules seem to work.
>> > It is probably worth giving a try, especially if MacOS 9
>> > and X have the same word size and endianness.
>>
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc. Do you grep
>> through log files for problems? Stop! Download the new
>> AJAX search engine that makes searching your log files as
>> easy as surfing the web. DOWNLOAD SPLUNK!
>> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=103432&bid=230486&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |