>> PTB-INFO: Using specially modified PortAudio engine, based on offical version: PortAudio V19-devel WITH-DIM
PTB-INFO: New audio device with handle 0 opened as PortAudio stream:
PTB-INFO: For 1 channels Capture: Audio subsystem is ASIO, Audio device name is ASIO4ALL v2
PTB-INFO: Real samplerate 44100.000000 Hz. Input latency 10.068027 msecs, Output latency 10.068027 msecs.
The default device used for reqlatencyclass = 0 is indeed MNE, Microsoft Sound Mapper - Input. If I open specifically this one, it does record something for any reqlatencyclass, and I can get the input latency down to 116ms for reqlatencyclass
>=1.
-> Note that if you don't use a native ASIO card on Windows, none of the timing information is guaranteed to be correct. Just because it says 116 msecs doesn't mean it is even close to that.
pahandle = PsychPortAudio('Open', 0, 2, 3, 44100, 1);
>> PTB-INFO: Using specially modified PortAudio engine, based on offical version: PortAudio V19-devel WITH-DIM
PTB-INFO: New audio device with handle 0 opened as PortAudio stream:
PTB-INFO: For 1 channels Capture: Audio subsystem is MME, Audio device name is Microsoft Sound Mapper - Input
PTB-INFO: Real samplerate 44100.000000 Hz. Input latency 116.099773 msecs, Output latency 0.000000 msecs.
However, the ASIO device works perfectly well for playback.
pahandle = PsychPortAudio('Open', 8, 1, 0, 44100, 1);
>> PTB-INFO: Using specially modified PortAudio engine, based on offical version: PortAudio V19-devel WITH-DIM
PTB-INFO: New audio device with handle 0 opened as PortAudio stream:
PTB-INFO: For 1 channels Playback: Audio subsystem is ASIO, Audio device name is ASIO4ALL v2
PTB-INFO: Real samplerate 44100.000000 Hz. Input latency 39.818594 msecs, Output latency 39.818594 msecs.
Is there any reason the ASIO device would not be able to access the microphone to record?
-> Apparently yes ;-). But you'd have to ask the makers of ASIO4ALL about that and any advice related to it. It's not the "real thing" just an emulation, it is not guaranteed to work well with any specific sound card or device driver. In general sound capture with properly configured real ASIO cards works as well as it can on Windows.
If I use MNE, is the sound recording going to be distorded or is it just going to impact the start of recording?
-> I don't know. Does it sound distorted?
I will try to convince my colleagues to at least get an ASIO sound card if I can't convince them to switch to Linux. ;-)
-> Those are the only two good options. Everything else is up to luck.
Good luck,
-mario
Thanks for your help,
Svetlana