| MATLAB Function Reference | Search  Help Desk |
| readsnd | Examples |
snd resources and files
[y,Fs] = readsnd(filename)
[y,Fs] = readsnd(filename)
reads the sound data from the first 'snd' resource in the file filename. The sampled sound data is returned in y, while the frequency of the sampled sound is placed in Fs.
[y,Fs] = readsnd('gong.snd')