Navigation

Operators and Keywords

Function List:

C++ API

record.m File Reference


Functions

 elseif (nargin!=2) print_usage()
 input ("Please hit ENTER and speak afterwards!\n", 1)
 fclose (num)
unwind_protect_cleanup unlink (file)

Variables

function X
endif unwind_protect file = tmpnam ()
 cmd
 num = fopen (file, "rb")

Function Documentation

elseif ( nargin!  = 2  ) 

fclose ( num   ) 

input ( "Please hit ENTER and speak afterwards!\n"  ,
 
)

unwind_protect_cleanup unlink ( file   ) 


Variable Documentation

cmd

Initial value:

 sprintf ("dd if=/dev/dsp of=\"%s\" bs=%d count=%d",
                   file, sampling_rate, sec)

    system (cmd)

endif unwind_protect file = tmpnam ()

num = fopen (file, "rb")

Initial value:

 record (sec, sampling_rate)

  if (nargin == 1)
    sampling_rate = 8000