read .wav file in PsychToolBox

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 件)

カテゴリ

質問済み:

2015 年 11 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by