Thanks so much Jeremy.
I get 2 when I run pyo.pa_get_input_max_channels. But when I run get_devices_infos I get the the mess pasted below. I want MOTU Mic/Instrument 1-2, which does not appear to be the default (0). Is there a way to specify the input device in PsychoPy?
Thanks in advance!
({0: {‘host api index’: 0, ‘latency’: 0.09000000357627869, ‘default sr’: 44100, ‘name’: ‘Microsoft Sound Mapper - Input’}, 1: {‘host api index’: 0, ‘latency’: 0.09000000357627869, ‘default sr’: 44100, ‘name’: ‘MOTU Mic/Instrument 1-2 (MOTU A’}, 2: {‘host api index’: 0, ‘latency’: 0.09000000357627869, ‘default sr’: 44100, ‘name’: ‘MOTU Mix 1 Return 1-2 (MOTU Aud’}, 3: {‘host api index’: 0, ‘latency’: 0.09000000357627869, ‘default sr’: 44100, ‘name’: ‘Microphone (Realtek High Defini’}, 4: {‘host api index’: 0, ‘latency’: 0.09000000357627869, ‘default sr’: 44100, ‘name’: ‘MOTU S/PDIF 1-2 (MOTU Audio Wav’}, 5: {‘host api index’: 0, ‘latency’: 0.09000000357627869, ‘default sr’: 44100, ‘name’: ‘MOTU Analog 1-2 (MOTU Audio Wav’}, 32: {‘host api index’: 3, ‘latency’: 0.003000000026077032, ‘default sr’: 48000, ‘name’: ‘Microphone (Realtek High Definition Audio)’}, 12: {‘host api index’: 1, ‘latency’: 0.11999999731779099, ‘default sr’: 44100, ‘name’: ‘Primary Sound Capture Driver’}, 13: {‘host api index’: 1, ‘latency’: 0.11999999731779099, ‘default sr’: 44100, ‘name’: ‘MOTU Mic/Instrument 1-2 (MOTU Audio Wave for 64 bit)’}, 14: {‘host api index’: 1, ‘latency’: 0.11999999731779099, ‘default sr’: 44100, ‘name’: ‘MOTU Mix 1 Return 1-2 (MOTU Audio Wave for 64 bit)’}, 15: {‘host api index’: 1, ‘latency’: 0.11999999731779099, ‘default sr’: 44100, ‘name’: ‘Microphone (Realtek High Definition Audio)’}, 16: {‘host api index’: 1, ‘latency’: 0.11999999731779099, ‘default sr’: 44100, ‘name’: ‘MOTU S/PDIF 1-2 (MOTU Audio Wave for 64 bit)’}, 17: {‘host api index’: 1, ‘latency’: 0.11999999731779099, ‘default sr’: 44100, ‘name’: ‘MOTU Analog 1-2 (MOTU Audio Wave for 64 bit)’}, 34: {‘host api index’: 3, ‘latency’: 0.003000000026077032, ‘default sr’: 44100, ‘name’: ‘MOTU Analog 1-2 (MOTU Audio Wave for 64 bit)’}, 24: {‘host api index’: 2, ‘latency’: 0.01160997711122036, ‘default sr’: 44100, ‘name’: ‘MOTU Audio ASIO’}, 33: {‘host api index’: 3, ‘latency’: 0.003000000026077032, ‘default sr’: 44100, ‘name’: ‘MOTU S/PDIF 1-2 (MOTU Audio Wave for 64 bit)’}, 30: {‘host api index’: 3, ‘latency’: 0.003000000026077032, ‘default sr’: 44100, ‘name’: ‘MOTU Mic/Instrument 1-2 (MOTU Audio Wave for 64 bit)’}, 31: {‘host api index’: 3, ‘latency’: 0.003000000026077032, ‘default sr’: 44100, ‘name’: ‘MOTU Mix 1 Return 1-2 (MOTU Audio Wave for 64 bit)’}}, {6: {‘host api index’: 0, ‘latency’: 0.09000000357627869, ‘default sr’: 44100, ‘name’: ‘Microsoft Sound Mapper - Output’}, 7: {‘host api index’: 0, ‘latency’: 0.09000000357627869, ‘default sr’: 44100, ‘name’: 'Speakers / Headphones (Realtek '}, 8: {‘host api index’: 0, ‘latency’: 0.09000000357627869, ‘default sr’: 44100, ‘name’: ‘MOTU Analog 1-2 (MOTU Audio Wav’}, 9: {‘host api index’: 0, ‘latency’: 0.09000000357627869, ‘default sr’: 44100, ‘name’: ‘MOTU Main Out 1-2 (MOTU Audio W’}, 10: {‘host api index’: 0, ‘latency’: 0.09000000357627869, ‘default sr’: 44100, ‘name’: ‘MOTU S/PDIF 1-2 (MOTU Audio Wav’}, 11: {‘host api index’: 0, ‘latency’: 0.09000000357627869, ‘default sr’: 44100, ‘name’: ‘MOTU Phones 1-2 (MOTU Audio Wav’}, 18: {‘host api index’: 1, ‘latency’: 0.11999999731779099, ‘default sr’: 44100, ‘name’: ‘Primary Sound Driver’}, 19: {‘host api index’: 1, ‘latency’: 0.11999999731779099, ‘default sr’: 44100, ‘name’: ‘Speakers / Headphones (Realtek High Definition Audio)’}, 20: {‘host api index’: 1, ‘latency’: 0.11999999731779099, ‘default sr’: 44100, ‘name’: ‘MOTU Analog 1-2 (MOTU Audio Wave for 64 bit)’}, 21: {‘host api index’: 1, ‘latency’: 0.11999999731779099, ‘default sr’: 44100, ‘name’: ‘MOTU Main Out 1-2 (MOTU Audio Wave for 64 bit)’}, 22: {‘host api index’: 1, ‘latency’: 0.11999999731779099, ‘default sr’: 44100, ‘name’: ‘MOTU S/PDIF 1-2 (MOTU Audio Wave for 64 bit)’}, 23: {‘host api index’: 1, ‘latency’: 0.11999999731779099, ‘default sr’: 44100, ‘name’: ‘MOTU Phones 1-2 (MOTU Audio Wave for 64 bit)’}, 24: {‘host api index’: 2, ‘latency’: 0.01160997711122036, ‘default sr’: 44100, ‘name’: ‘MOTU Audio ASIO’}, 25: {‘host api index’: 3, ‘latency’: 0.003000000026077032, ‘default sr’: 48000, ‘name’: ‘Speakers / Headphones (Realtek High Definition Audio)’}, 26: {‘host api index’: 3, ‘latency’: 0.003000000026077032, ‘default sr’: 44100, ‘name’: ‘MOTU Analog 1-2 (MOTU Audio Wave for 64 bit)’}, 27: {‘host api index’: 3, ‘latency’: 0.003000000026077032, ‘default sr’: 44100, ‘name’: ‘MOTU Main Out 1-2 (MOTU Audio Wave for 64 bit)’}, 28: {‘host api index’: 3, ‘latency’: 0.003000000026077032, ‘default sr’: 44100, ‘name’: ‘MOTU S/PDIF 1-2 (MOTU Audio Wave for 64 bit)’}, 29: {‘host api index’: 3, ‘latency’: 0.003000000026077032, ‘default sr’: 44100, ‘name’: ‘MOTU Phones 1-2 (MOTU Audio Wave for 64 bit)’}})