Lines Matching refs:data
18 ## @deftypefn {Function File} {} sndfile_play (@var{data, fs})
19 ## Play @var{data} at sample rate @var{fs} using the sndfile-play
24 ## Description: Play the given data as a sound file
26 function sndfile_play (data, fs)
29 error ("Need two input arguments: data and fs.") ;
36 [nr nc] = size (data) ;
39 data = data' ;
43 wavedata = data ;
47 cmd = sprintf ("save -mat-binary %s fs data", filename) ;