read .wav file in PsychToolBox

1 view (last 30 days)
Katerina Tetzloff
Katerina Tetzloff on 13 Nov 2015
Hi.. I know in the PTB to show an image onscreen you must enter im=imread(photo.jpg); Screen('PutImage', winID, im); Screen('Flip', winID);
How do I play a .wav file? I assume it's something similar to this where I have to "read" the file.. Thank you!!!

Answers (0)

Community Treasure Hunt

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

Start Hunting!