Functions | |
function | wavwrite (y, varargin) BYTEORDER |
if (nargin< 2||nargin > 4) print_usage() | |
if (ischar(y)) filename | |
if (nargin > 2) samples_per_sec | |
if (nargin > 3) bits_per_sample | |
Variables | |
endif | samples_per_sec = 8000 |
bits_per_sample = 16 | |
y = varargin{1} | |
endif endif else | filename = varargin{end} |
if | ( | nargin | , | |
3 | ||||
) |
if | ( | nargin | , | |
2 | ||||
) |
if | ( | ischar(y) | ) |
function wavwrite | ( | y | , | |
varargin | ||||
) |
bits_per_sample = 16 |
endif samples_per_sec = 8000 |
y = varargin{1} |