Dear Mario and list!
We have the following problem in our setup (WinXP 32 bit, Matlab 7.10, latest PTB beta, Creative X-Fi Xtreme ASIO enabled sound card with most recent drivers and "bit-accurate playback"-option enabled/effects disabled):
When using PsychPortAudio in combination with Priority(1) almost any load on the CPU likely causes audible artifacts. E.g. when waiting for subject's response in a while loop (even when mitigated by WaitSecs('YieldSecs', 0.001)) sound is distorted, mainly by irregular click sounds. This happens also on a second machine with a dual core CPU (other core is idle).
Sound playback is fine with Priority(0) but then we are afraid of timing problems.
I have tested suggestedLatency: with Priority(0) it works well with the automatically adjusted 1msec output latency, with Priority(1), ~50msec latency are needed for artifact free playback. Sampling rate and requested latency class seem not to matter.
Is there anything obvious we missed? Is it possible to adjust the priority of the PortAudio thread/background process? We would be grateful for any hint!
Thank you!, Best,
Andreas
We have the following problem in our setup (WinXP 32 bit, Matlab 7.10, latest PTB beta, Creative X-Fi Xtreme ASIO enabled sound card with most recent drivers and "bit-accurate playback"-option enabled/effects disabled):
When using PsychPortAudio in combination with Priority(1) almost any load on the CPU likely causes audible artifacts. E.g. when waiting for subject's response in a while loop (even when mitigated by WaitSecs('YieldSecs', 0.001)) sound is distorted, mainly by irregular click sounds. This happens also on a second machine with a dual core CPU (other core is idle).
Sound playback is fine with Priority(0) but then we are afraid of timing problems.
I have tested suggestedLatency: with Priority(0) it works well with the automatically adjusted 1msec output latency, with Priority(1), ~50msec latency are needed for artifact free playback. Sampling rate and requested latency class seem not to matter.
Is there anything obvious we missed? Is it possible to adjust the priority of the PortAudio thread/background process? We would be grateful for any hint!
Thank you!, Best,
Andreas