cortex-lab / Rigbox

A MATLAB toolbox for running behavioral neuroscience experiments and managing data
GNU General Public License v3.0
33 stars 16 forks source link

Audio device dropdown in eui.SignalsTest #280

Open k1o0 opened 4 years ago

k1o0 commented 4 years ago

A solution for making testing easier would be to add a button in SignalsTest which opens a panel where you can change which device is set to be the default audio channel? This way a user doesn't need to set up a hardware.mat file ahead of time, e.g. in this case I was just trying to plug in a speaker to quickly test it on my desktop before setting it up in a rig. To make things simple it could default to only showing the WASAPI devices when they are available, following the suggestion from the psychtoolbox api (http://psychtoolbox.org/docs/PsychPortAudio-GetDevices).

Originally posted by @dbirman in https://github.com/cortex-lab/Rigbox/issues/278#issuecomment-591565281