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!

 Respuesta aceptada

Stephen23
Stephen23 el 4 de Sept. de 2015
Editada: Stephen23 el 4 de Sept. de 2015

0 votos

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:

Más respuestas (1)

Steven Lord
Steven Lord el 4 de Sept. de 2015

0 votos

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 comentario

LuS
LuS el 4 de Sept. de 2015
my PTB is pretty functional. thanks.

Iniciar sesión para comentar.

Etiquetas

Preguntada:

LuS
el 4 de Sept. de 2015

Comentada:

LuS
el 4 de Sept. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by