Dear Mario,
I tried these two different setup with the PsychPortAudio with PTB 3.0.08 and win XP:
InitializePsychSound(1);
>> pahandle = PsychPortAudio('Open', 3, [], 2, 44100, 2);PTB-INFO: New audio device with handle 3 opened as PortAudio stream:
PTB-INFO: For 2 channels Playback: Audio subsystem is MME, Audio device name is ASUS Xonar DG Audio
PTB-INFO: Real samplerate 44100.000000 Hz. Input latency 0.000000 msecs, Output latency 116.099773 msecs.
InitializePsychSound(1);
PTB-INFO: For 2 channels Playback: Audio subsystem is ASIO, Audio device name is Xonar DG ASIO
PTB-INFO: Real samplerate 44100.000000 Hz. Input latency 1.451247 msecs, Output latency 2.902494 msecs.
PTB-INFO: New audio device with handle 4 opened as PortAudio stream:>> pahandle = PsychPortAudio('Open', [], [], 2, 44100, 2);
PTB-INFO: For 2 channels Playback: Audio subsystem is ASIO, Audio device name is Xonar DG ASIO
PTB-INFO: Real samplerate 44100.000000 Hz. Input latency 1.451247 msecs, Output latency 2.902494 msecs.
In the first case, with device n°3, the output latency seems very high, compared to the case default device. To what is due this big output latency difference?
Furthermore, when the device is selected by default [], there is no sound? Any suggestion?
Thank you very much!
best,
fosco