home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3593 / tests < prev    next >
Encoding:
Text File  |  1991-07-08  |  1.0 KB  |  30 lines

  1. # test files
  2. # AUX Test script.  This should run without core-dumping or printing any
  3. # messages.
  4. file=monkey
  5.  
  6. # verbose options
  7. # noise=-V
  8.  
  9. rm -f out.raw out2.raw in.raw 
  10. aux $noise -i $file.voc -o ub.raw 
  11. aux $noise -i ub.raw -t raw -r 13157 -u -b -o sb.raw -r 13157 -s -b
  12. aux $noise -i sb.raw -t raw -r 13157 -s -b -o ub2.raw -r 13157 -u -b
  13. aux $noise -i ub2.raw -r 13157 -u -b -o ub2.voc 
  14. cmp -l ub.raw ub2.raw
  15. cmp -l $file.voc ub2.voc | grep -v '^    2[3456]' 
  16. rm -f ub.raw sb.raw ub2.raw ub2.voc
  17. aux $noise -i $file.au -o ub.raw -u -r 8192 -u -b
  18. aux $noise -i ub.raw -r 8192 -u -b -o ub.au 
  19. aux $noise -i ub.au -o ub2.raw -u
  20. aux $noise -i ub.au -o ub2.sf -w
  21. rm -f ub.raw ub.au ub2.raw ub.sf
  22. #
  23. # Cmp -l of stop.raw and stop2.raw will show that most of the 
  24. # bytes are 1 apart.  This is quantization error.
  25. #
  26. # rm -f stop.raw stop2.raw stop2.au
  27. # Bytes 23 - 26 are the revision level of VOC file utilities and checksum.
  28. # We may use different ones than Sound Blaster utilities do.
  29. # We use 0/1 for the major/minor, SB uses that on the 1.15 utility disk.
  30.