read .wav file in PsychToolBox

1 次查看(过去 30 天)
Katerina Tetzloff
Katerina Tetzloff 2015-11-13
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!!!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Using audio files 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by