seberm

seberm

Nov 15th, 2009
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.77 KB | None | 0 0
  1. [seberm@katie fake]$ fakeroot make    
  2. cc -O2 -s -c dtmf2num.c              
  3. dtmf2num.c: In function ‘do_8000’:    
  4. dtmf2num.c:350: warning: assignment makes pointer from integer without a cast
  5. cc -O2 -s -c dsp.c                                                          
  6. cc -O2 -s -c resample2.c                                                    
  7. resample2.c: In function ‘av_resample_close’:                                
  8. resample2.c:224: warning: attempt to free a non-heap object ‘c’              
  9. cc -O2 -s -o dtmf2num -lm dtmf2num.o dsp.o resample2.o                      
  10. [seberm@katie fake]$ ./dtmf2num
  11.  
  12. DTMF2NUM 0.1c
  13. by Luigi Auriemma
  14. e-mail: aluigi@autistici.org
  15. web:    aluigi.org          
  16.  
  17.  
  18. Usage: ./dtmf2num [options] <file.WAV>
  19.  
  20. Options:
  21. -r F C B  consider the file as raw headerless PCM data, you must specify the
  22.           Frequency, Channels and Bits like -r 44100 2 16                  
  23. -o        disable the automatic optimizations: DC bias adjust and normalize.
  24.           use this option only if your file is already clean and normalized
  25. -w FILE   debug option for dumping the handled samples from the memory to FILE
  26.  
  27. [seberm@katie fake]$ ./dtmf2num /home/seberm/nahravka.wav
  28.  
  29. DTMF2NUM 0.1c                                                                                                                                                                                                    
  30. by Luigi Auriemma                                                                                                                                                                                                
  31. e-mail: aluigi@autistici.org                                                                                                                                                                                      
  32. web:    aluigi.org                                                                                                                                                                                                
  33.                                                                                                                                                                                                                  
  34. - open /home/seberm/nahravka.wav                                                                                                                                                                                  
  35.   wave size      168160                                                                                                                                                                                          
  36.   format tag     1                                                                                                                                                                                                
  37.   channels:      1                                                                                                                                                                                                
  38.   samples/sec:   8000                                                                                                                                                                                            
  39.   avg/bytes/sec: 16000                                                                                                                                                                                            
  40.   block align:   2                                                                                                                                                                                                
  41.   bits:          16                                                                                                                                                                                              
  42.   samples:       84080                                                                                                                                                                                            
  43.   bias adjust:   -95                                                                                                                                                                                              
  44.   volume peaks:  -28855 28855                                                                                                                                                                                    
  45.   normalize:     3912                                                                                                                                                                                            
  46.  
  47. - MF numbers:    47477444
  48.  
  49. - DTMF numbers:  5A64652063746574652074616A656D737476693A206B61726269646B610A
  50. [seberm@katie fake]$ hexdump                                                
  51. Makefile      dsp.c         dsp.o         dtmf2num      dtmf2num.c    dtmf2num.exe  dtmf2num.o    dtmf2num.zip  mywav.h       resample2.c   resample2.o  
  52. [seberm@katie fake]$ hexdump --help                                                                                                                      
  53. hexdump: invalid option -- '-'
  54. hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]
  55. [seberm@katie fake]$ hexdump -help
  56. hexdump: invalid option -- 'h'
  57. hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]
  58. [seberm@katie fake]$ echo 5A64652063746574652074616A656D737476693A206B61726269646B610A | hexdump
  59. 0000000 4135 3436 3536 3032 3336 3437 3536 3437
  60. 0000010 3536 3032 3437 3136 4136 3536 4436 3337
  61. 0000020 3437 3637 3936 4133 3032 4236 3136 3237
  62. 0000030 3236 3936 3436 4236 3136 4130 000a
  63. 000003d
  64. [seberm@katie fake]$
Add Comment
Please, Sign In to add comment