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

类别

Community Treasure Hunt

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

Start Hunting!

Translated by