Csound Csound-dev Csound-tekno Search About

[Cs-dev] Re: Updated Csound5 Windows installer

Date2006-01-11 02:29
From"Michael Gogins"
Subject[Cs-dev] Re: Updated Csound5 Windows installer
I've once again updated the Csound5, release candidate 2, 64 bit samples, 
Windows
installer on SourceForge. This fix this time is to include mingwm10.dll.

CSOUNDRC is set, Rawwaves are in place, csound.hpp is included, latest
libsndfile is used (pre6), the Python version is 2.4, all DLLs are stripped.

Includes all opcodes of Istvan Varga zip plus Loris, vst4cs, FluidSynth, and
STK C++ opcodes, as well as tclcsound and csoundapi~.


Although I am using Victor Lazzarini's PortAudio DLL, I experience dropouts 
on my Windows XP Home Edition/M-Audio Duo system. This happens on all 
combinations of settings I have tried. I would be interested if others have 
similar problems. The same thing happens with my own build of the PortAudio 
DLL.

I am not sure I have the very latest Lazzarini DLL, as I simply an unable to 
access his web site at any time.

Regards,
Mike




-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2006-01-11 02:31
FromSteven Yi
SubjectRe: [Cs-dev] Re: Updated Csound5 Windows installer
AttachmentsNone  

Date2006-01-11 10:40
FromOeyvind Brandtsegg
SubjectRe: Updated Csound5 Windows installer
Yes, I also have occational dropouts when using your RC2 as a module in Python.
The CPU meter in the task manager reads about 20%, so it does not seem to be because of heavy load on csound.

When using csound as "standalone" with midi in and realtime audio out, I don't seem to have any dropouts. 

This may or may not be because your RC2 performs differently than the Varga RC2,
but it is hard to compare directly. For example, the change to Python 2.4 did require some slight changes to my py files to make it run. I used to have a wxYieldIfNeeded() inside my csound.PerformKsmps() loop, now changed to wxYield(), also I used to have a wxYieldIfNeeded() inside another thread's runloop and this had to be changed to time.sleep(0). These changes was made to make it run at all, and I do not know if it's the best way to do it. So the dropouts might be caused by my python programming rather than the differences in RC2 versions.

system:
Dell Latitude D800, WinXP, RME Hammerfall DSP on pcmcia.
command line:
-odac16 -b64 -B256 -M0 -m0 -+rtaudio=pa --expression-opt -d -+raw_controller_mode=1

Oeyvind

best
Oeyvind





> From: Michael Gogins [gogins@pipeline.com]
> 
> Although I am using Victor Lazzarini's PortAudio DLL, I experience dropouts 
> on my Windows XP Home Edition/M-Audio Duo system. This happens on all 
> combinations of settings I have tried. I would be interested if others have 
> similar problems. The same thing happens with my own build of the PortAudio 
> DLL.
> 

Date2006-01-11 11:42
FromVictor Lazzarini
Subject[Cs-dev] wxYield() etc
Is it possible to create a single-threaded python app that has interactive
GUI controls, with wxYield()? Since multiple threads don't work well on
Python, if you run a performance loop with a wxYield(), does the app process
events/messages, such as button clicks and sliders?

Is that what you are doing, Oeyvind?

Victor

At 10:40 11/01/2006, you wrote:
>Yes, I also have occational dropouts when using your RC2 as a module in 
>Python.
>The CPU meter in the task manager reads about 20%, so it does not seem to 
>be because of heavy load on csound.
>
>When using csound as "standalone" with midi in and realtime audio out, I 
>don't seem to have any dropouts.
>
>This may or may not be because your RC2 performs differently than the 
>Varga RC2,
>but it is hard to compare directly. For example, the change to Python 2.4 
>did require some slight changes to my py files to make it run. I used to 
>have a wxYieldIfNeeded() inside my csound.PerformKsmps() loop, now changed 
>to wxYield(), also I used to have a wxYieldIfNeeded() inside another 
>thread's runloop and this had to be changed to time.sleep(0). These 
>changes was made to make it run at all, and I do not know if it's the best 
>way to do it. So the dropouts might be caused by my python programming 
>rather than the differences in RC2 versions.
>
>system:
>Dell Latitude D800, WinXP, RME Hammerfall DSP on pcmcia.
>command line:
>-odac16 -b64 -B256 -M0 -m0 -+rtaudio=pa --expression-opt -d 
>-+raw_controller_mode=1
>
>Oeyvind
>
>best
>Oeyvind
>
>
>
>
>
> > From: Michael Gogins [gogins@pipeline.com]
> >
> > Although I am using Victor Lazzarini's PortAudio DLL, I experience 
> dropouts
> > on my Windows XP Home Edition/M-Audio Duo system. This happens on all
> > combinations of settings I have tried. I would be interested if others 
> have
> > similar problems. The same thing happens with my own build of the 
> PortAudio
> > DLL.
> >

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-01-11 12:04
FromIstvan Varga
SubjectRe: [Cs-dev] wxYield() etc
AttachmentsNone  

Date2006-01-11 20:45
From"okchoir (sent by Nabble.com)"
SubjectRe: [Cs-dev] [Csnd] Updated Csound5 Windows installer
OK.  I hope this is the relevant thread to respond to.  I have tested the latest RC2 (for win32 as of 10Jan06, ~20:28CST) and find no problem using the same conditions as I reported yesterday; that is, for the specific conditions of my csound unified file which contains this command line:

csound -TW -F jacknight-06.mid -o jacknight-06.wav temp.orc temp.sco

I'll keep running this one until a newer build is available.

-Jack (okchoir)

View this message in context: Re: [Csnd] Updated Csound5 Windows installer
Sent from the Csound - Dev forum at Nabble.com.

Date2006-01-11 21:40
FromOeyvind Brandtsegg
Subjectre: [Cs-dev] wxYield() etc
I'm not sure if it is possible to create a single threaded app in Python with both csound and GUI responding nicely.
What I'm doing is one thread for csound, one for GUI, and one for a sort of scheduler (a timed queue where events are put for execution at a specified time). It works ok actually, and the need for thread priority is not pressing at the moment.
I've been thinking about looking into "microthreads" to implement a sort of threading behaviour with priority. This is actually just a way of doing conditional branching, where it is somewhat easy to control how much time or attention each branch gets. In effect it is single threaded but it might actually work well for the purpose of running csound and other processes simultaneously.

Oeyvind



> From: Victor Lazzarini [Victor.Lazzarini@nuim.ie]
> Sent: 2006-01-11 12:42:48 CET
> To: csound-devel@lists.sourceforge.net
> Subject: [Cs-dev] wxYield() etc
> 
> Is it possible to create a single-threaded python app that has interactive
> GUI controls, with wxYield()? Since multiple threads don't work well on
> Python, if you run a performance loop with a wxYield(), does the app process
> events/messages, such as button clicks and sliders?
> 
> Is that what you are doing, Oeyvind?
> 
> Victor
> 
> At 10:40 11/01/2006, you wrote:
> >Yes, I also have occational dropouts when using your RC2 as a module in 
> >Python.
> >The CPU meter in the task manager reads about 20%, so it does not seem to 
> >be because of heavy load on csound.
> >
> >When using csound as "standalone" with midi in and realtime audio out, I 
> >don't seem to have any dropouts.
> >
> >This may or may not be because your RC2 performs differently than the 
> >Varga RC2,
> >but it is hard to compare directly. For example, the change to Python 2.4 
> >did require some slight changes to my py files to make it run. I used to 
> >have a wxYieldIfNeeded() inside my csound.PerformKsmps() loop, now changed 
> >to wxYield(), also I used to have a wxYieldIfNeeded() inside another 
> >thread's runloop and this had to be changed to time.sleep(0). These 
> >changes was made to make it run at all, and I do not know if it's the best 
> >way to do it. So the dropouts might be caused by my python programming 
> >rather than the differences in RC2 versions.
> >
> >system:
> >Dell Latitude D800, WinXP, RME Hammerfall DSP on pcmcia.
> >command line:
> >-odac16 -b64 -B256 -M0 -m0 -+rtaudio=pa --expression-opt -d 
> >-+raw_controller_mode=1
> >
> >Oeyvind
> >
> >best
> >Oeyvind
> >
> >
> >
> >
> >
> > > From: Michael Gogins [gogins@pipeline.com]
> > >
> > > Although I am using Victor Lazzarini's PortAudio DLL, I experience 
> > dropouts
> > > on my Windows XP Home Edition/M-Audio Duo system. This happens on all
> > > combinations of settings I have tried. I would be interested if others 
> > have
> > > similar problems. The same thing happens with my own build of the 
> > PortAudio
> > > DLL.
> > >
> 
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth 
> 
> 
> 
> -------------------------------------------------------
> 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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>