timing issues. help?

4 views (last 30 days)
LuS
LuS on 4 Sep 2015
Commented: LuS on 4 Sep 2015
Hi,
I created a script to read images (.eps) and I managed to solve the randomisation. However, I would like to add sounds. That is every picture is preceded by a specific sound. The Interstimulus interval should be 1 second.
Does anybody know a function that allows me to do that?
Many thanks!

Accepted Answer

Stephen23
Stephen23 on 4 Sep 2015
Edited: Stephen23 on 4 Sep 2015
One easy way is to load or define the sound, then play it using sound.
Read the documentation, it has examples and lists all of the functions that you can use:
  1 Comment
LuS
LuS on 4 Sep 2015
thank you! I will try that.

Sign in to comment.

More Answers (1)

Steven Lord
Steven Lord on 4 Sep 2015
From your description, I wonder if you're trying to perform some sort of psychological/neurological vision experiment. If so, you may find the third party Psychophysics Toolbox of interest.
  1 Comment
LuS
LuS on 4 Sep 2015
my PTB is pretty functional. thanks.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!