MATLAB: How to create a program that present dichotic stimulus

stimulus

How do we write a program that would play dichotic stimulus. first I need to create input file thatwould indicates(1) the number of different sound files to read (2) the names of the soundfiles and (3) the orders of different pairs of vowels that will play out.
thanks needed help asap

Best Answer

I am guessing you want to do more than just present a dichotic stimulus and that there is a psychoacoustics experiment underlying this question. There are a number of toolboxes that you can use to do psychoacoustic experiments ...
MLP is a MATLAB toolbox for doing auditory psychophysics
Psychtoolbox is a MATLAB toolbox for doing general, including auditory, psychophysics
If you are willing to leave MATLAB, I would suggest looking at the Python package PsychoPy