MATLAB Function Reference
  Go to function:
    Search    Help Desk 
readsnd    Examples

Purpose

Read snd resources and files

Syntax

Description

[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.

Example

[y,Fs] = readsnd('gong.snd')



[ Previous | Help Desk | Next ]