[PD] drop out free audio on windows

Patrice Colet pat at mamalala.org
Sat Dec 8 19:02:08 CET 2007

in pd/src/pthread.h:

line 283 --> 394


maybe this could handle realtime priority?

Hans-Christoph Steiner a écrit :
> that would be good to have built-in, like it is in Mac OS X, with the  
> audio output started with a higher priority.  Any Windows people want  
> to comment on that?
> .hc
> On Dec 7, 2007, at 11:41 PM, Roman Haefeli wrote:
>> hi all
>> every now and then i hear people complaining here in the list or on
>> #dataflow in irc, that audio is affected (drop outs), when doing some
>> gui stuff in pd on windows. i don't know about osx, but on linux, i
>> never experienced, that the gui was the cause for drop-outs, even  
>> if it
>> consumes a lot of cpu power. i assume, this is because the gui-process
>> and the dsp engine are started with different priorities on linux.
>> today i wanted to test one of my patches on windows. it is part of the
>> patch, that a visible array is updated every 100ms. indeed, i got a
>> drop-out on every update, so that my patch sounded like an uzi.  
>> turning
>> the array update off removed also the drop-outs. i found out, that
>> 'pd.com' and 'wish84.exe' were running with the same priority, so i  
>> set
>> 'pd.com' in the windows task manager to 'realtime priority'. as usual,
>> windows pops-up a message saying that this is dangerous and might harm
>> the system. however, after that i could turn on the array update  
>> without
>> getting drop-outs anymore.
>> i just wanted all the windows user to let know, that there _is_ a  
>> way to
>> optimize your pd. probably someone with a deeper knowledge about  
>> windows
>> than me knows a way, how to set priorities permanently, so that it
>> doesn't need to be changed in taskmanager after each launch of pd (?).
>> i tested with:
>> windows xp home
>> pd vanilla 0.40.2
>> roman
>> ___________________________________________________________
>> Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo!  
>> Mail: http://mail.yahoo.de
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>> listinfo/pd-list
> ------------------------------------------------------------------------ 
> ----
> I spent 33 years and four months in active military service and  
> during that period I spent most of my time as a high class muscle man  
> for Big Business, for Wall Street and the bankers.      - General  
> Smedley Butler
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list