home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / sound / nh10src / nogr.sam (.txt) < prev    next >
Encoding:
Ami Pro/Word Pro document  |  1991-12-15  |  33.1 KB  |  843 lines

  1. [ver]
  2. [sty]
  3.     ~letter1.sty
  4. [files]
  5. [charset]
  6.     ANSI (Windows, IBM CP 1252)
  7. [revisions]
  8. [prn]
  9.     HP LaserJet IIISi PostScript
  10. [lang]
  11. [desc]
  12.     693847618
  13.     693749870
  14. [fopts]
  15.     2880
  16. [lnopts]
  17.     Body Text
  18. [docopts]
  19. [tag]
  20.     Body Text
  21.     [fnt]
  22.         Arial
  23.         240
  24.         16384
  25.     [algn]
  26.     [spc]
  27.         273
  28.         100
  29.     [brk]
  30.     [line]
  31.     [spec]
  32.     [nfmt]
  33.         272
  34.     Body Text
  35. [tag]
  36.     Bullet 1
  37.     [fnt]
  38.         Arial
  39.         280
  40.         16384
  41.     [algn]
  42.         1785
  43.         504
  44.         432
  45.     [spc]
  46.         273
  47.         144
  48.         100
  49.     [brk]
  50.     [line]
  51.     [spec]
  52.         <*.>
  53.     [nfmt]
  54.         272
  55.     Bullet 1
  56.     27030
  57.     1425
  58. [tag]
  59.     left
  60.     [fnt]
  61.         Arial
  62.         280
  63.         16384
  64.     [algn]
  65.     [spc]
  66.         273
  67.         100
  68.     [brk]
  69.     [line]
  70.     [spec]
  71.     [nfmt]
  72.         272
  73.     left
  74. [tag]
  75.     right
  76.     [fnt]
  77.         Arial
  78.         240
  79.         16384
  80.     [algn]
  81.     [spc]
  82.         273
  83.         100
  84.     [brk]
  85.     [line]
  86.         8421504
  87.     [spec]
  88.     [nfmt]
  89.         272
  90.     right
  91. [tag]
  92.     [fnt]
  93.         Arial
  94.         240
  95.         16384
  96.     [algn]
  97.     [spc]
  98.         273
  99.         100
  100.     [brk]
  101.     [line]
  102.     [spec]
  103.     [nfmt]
  104.         272
  105. [tag]
  106.     Indent
  107.     [fnt]
  108.         Arial
  109.         240
  110.         16384
  111.     [algn]
  112.         792
  113.     [spc]
  114.         273
  115.         100
  116.     [brk]
  117.     [line]
  118.     [spec]
  119.     [nfmt]
  120.         272
  121.     Indent
  122. [tag]
  123.     Indenall
  124.     [fnt]
  125.         Arial
  126.         240
  127.         16384
  128.     [algn]
  129.         720
  130.         720
  131.     [spc]
  132.         273
  133.         100
  134.     [brk]
  135.     [line]
  136.     [spec]
  137.     [nfmt]
  138.         272
  139.     Indenall
  140. [tag]
  141.     Line
  142.     [fnt]
  143.         Arial
  144.         240
  145.         16384
  146.     [algn]
  147.     [spc]
  148.         273
  149.         100
  150.     [brk]
  151.     [line]
  152.         255
  153.     [spec]
  154.     [nfmt]
  155.         272
  156.     Line
  157. [frm]
  158.     66240
  159.     2295
  160.     4905
  161.     9855
  162.     7785
  163.     1 0 0 100 100 18 0
  164.     16777215
  165.     [frmlay]
  166.         7785
  167.         7560
  168.         144
  169.         144
  170.         5049
  171.         144
  172.         2516
  173.         9634
  174.     [txt]
  175. [frm]
  176.     66240
  177.     2460
  178.     3345
  179.     10020
  180.     6225
  181.     1 0 0 100 100 18 0
  182.     16777215
  183.     [frmlay]
  184.         6225
  185.         7560
  186.         144
  187.         144
  188.         3489
  189.         144
  190.         2681
  191.         9799
  192.     [txt]
  193. [frm]
  194.     66240
  195.     2415
  196.     10830
  197.     9975
  198.     13710
  199.     1 0 0 100 100 18 0
  200.     16777215
  201.     [frmlay]
  202.         13710
  203.         7560
  204.         144
  205.         144
  206.         10974
  207.         144
  208.         2636
  209.         9754
  210.     [txt]
  211. [lay]
  212.     Standard
  213.     2561
  214.     [rght]
  215.         15840
  216.         12240
  217.         1440
  218.         1440
  219.         1872
  220.         1440
  221.         1440
  222.         10800
  223.         720
  224.         1440
  225.         2880
  226.         4320
  227.         5760
  228.     [hrght]
  229.     [lyfrm]
  230.         11200
  231.         12240
  232.         1872
  233.         1 0 0 0 0 0 0
  234.     [frmlay]
  235.         1872
  236.         12240
  237.         1440
  238.         720
  239.         1440
  240.         1440
  241.         10800
  242.     [txt]
  243.     [frght]
  244.     [lyfrm]
  245.         13248
  246.         14400
  247.         12240
  248.         15840
  249.         1 0 0 0 0 0 0
  250.     [frmlay]
  251.         15840
  252.         12240
  253.         1440
  254.         360
  255.         14472
  256.         1440
  257.         1440
  258.         10800
  259.     [txt]
  260. [elay]
  261.     43 0 0 2048 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  262.     84 0 141 2560 0 0 0 65535 119 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  263.     110 0 24 2560 0 0 0 65535 2 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  264.     132 0 5 512 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  265.     174 0 0 32 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  266.     209 0 0 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  267.     242 0 0 64 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  268.     263 857 79 32 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  269.     311 0 0 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  270.     340 0 0 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  271.     370 0 0 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  272.     410 0 0 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  273.     449 0 0 64 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  274.     488 0 0 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  275.     521 0 0 64 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  276.     544 88 40 1025 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 1 0 0 0
  277. [edoc]
  278. <:s><:H<*->
  279. <+!><+"><-!><-"><+!><+"><-!><-"><+"><-">
  280. <+!><+">
  281. <+@><:s>
  282. <+@><:s>
  283. <+@><:s>
  284. <+@><:s>
  285. <+@><:s>
  286. <+@><:s>
  287. <+@><:s>
  288. <+@><:s>
  289. <+@><:s>
  290. <+B><:s>
  291. <+B><:s>
  292. <+B><:f360,FArial,0,0,0><+!>Digital Noise Reduction<-!><-!><-"><:f>
  293. <+B><:s>
  294. <+B><:s><:f,FArial,>
  295. <+B><:s>Version 1.0
  296. <+B><:s>
  297. <+B><:s>
  298. <+B><:s>                     
  299. <+B>(C) Copyright 1991 by Andy Hakim
  300. <+B><:s>All Rights Reserved
  301. <+B><:s>
  302. <+B><:s>
  303. <+B><:s>
  304. <+B><:s><:f280,FArial,0,0,0>R E F E R E N C E    M A N U A L<:f>
  305. <+B><:s>
  306. <+@><:s>
  307. <+@><:s>
  308. <+@><:s>
  309. <+@><:s>
  310. <+@><:s>
  311. <+@><:s>
  312. <+@><:s>
  313. <+@><:s>
  314. <+@><:s>
  315. <+@><:s>
  316. <+@><:s>
  317. <+@><:s>
  318. <+@><:s>
  319. <+B><:f160,FArial,0,0,0>For a quick summary of options, type NOHISS at the dos prompt<:f>.
  320. <+B><:s>
  321. <+B><:s>
  322. <+B><:s>
  323. <+B><:s><:f360,FArial,0,0,0><:H<*->
  324. <+!>TABLE OF CONTENTS<-!><:f>
  325. <+@><:s>
  326. <+@><:s>
  327. <+A><:s>ADDRESSES ..............................................................................................................1
  328. <+A><:s>
  329. <+A><:s>SOFTWARE LICENSE ............................................................................................... 2
  330. <+A><:s>
  331. <+A>WHAT IS NOHISS ................... ................................................................................. 3
  332. <+A><:s>
  333. <+A><:s>FILE FORMATS ......................................................................................................... 4
  334. <+A><:s>
  335. <+A><:s>COMMAND LINE SYNTAX ........................................................................................ 6
  336. <+A><:s>
  337. @toc@<+A><:s>COMMAND LINE OPTIONS ...................................................................................... 6
  338. @toc@<+A><:s>/? ......................................................................................................................... 6
  339. @toc@<+A><:s>/HELP .................................................................................................................. 6
  340. @toc@<+A>/NR=# .................................................................................................................. 6
  341. @toc@<+A><:s>/SIZE=# ................................................................................................................ 7
  342. @toc@<+A><:s>/RANGE=# ........................................................................................................... 8
  343. @toc@<+A>/MIN=# ................................................................................................................. 8
  344. @toc@<+A><:s>/MAX=# ................................................................................................................ 8
  345. @toc@<+A>/<[>NO]FANCY ........................................................................................................ 8
  346. @toc@<+A>/<[>NO]OVER .......................................................................................................... 8
  347. @toc@<+A>/<[>NO]PROCESS ................................................................................................... 8
  348. <+A>/<[>NO]PAUSE ........................................................................................................ 8
  349. <+A>/<[>NO]PLAY<[>I]<[>O] ................................................................................................... 8
  350. <+A><:s>/TIME=# ............................................................................................................... 8
  351. <+A><:s>/PORT=# .............................................................................................................. 9
  352. <+A><:s>/SAVE .................................................................................................................. 9
  353. <+A><:s>/RESET ............................................................................................................... 9
  354. <+A><;> NUL .................................................................................................................. 9
  355. <+A><:s>
  356. @toc@<+A><:s>COMMAND LINE EXAMPLES ................................................................................... 10
  357. @toc@<+A><:s>
  358. @toc@<+A><:s>ERROR MESSAGES ................................................................................................. 12
  359. @toc@<+A><:s>
  360. @toc@<+A><:s>SOURCE CODE ........................................................................................................ 13
  361. @toc@<+A><:s>
  362. <+A><:s>TRADEMARKS .......................................................................................................... 13
  363. @toc@<+A><:s>
  364. @toc@<+A><:s>REVISION HISTORY ................................................................................................. 14<:f400,FArial,0,0,0><:p<* >>
  365. @toc@<+@><:s><:f360,FArial,0,0,0><:H<*->
  366. @right@<+@><+!>Digital Noise Reduction v1.0<-!>                                                                            Page: 
  367. <:P13,1,>
  368. <+!>ADDRESSES<-!><:f>
  369. <+@><:s>
  370. <+@><:s>Comments, suggestions, or questions?  You can contact me via:
  371. <+@><:s>
  372. <+@><:s>
  373. <+@><:s><+!>US Mail<-!><+!>    <-!>    Software Development
  374. <+@><:s>            P.O. Box 70392
  375. <+@><:s>             Houston, TX 77270-0392
  376. <+@><:s>
  377. <+@><:s><+!>Telephone<-!><+!>  <-!>        (713) 880-3059
  378. <+@><:s>
  379. <+@><:s>                           
  380. <+@><+!>Electronic Mail<-!>    st144@menudo.uh.edu
  381. <+@>(Internet addresses)    cosc12r2@jetson.uh.edu
  382. <+@><:s>
  383. <+@><:s>                           
  384. <+@><+!>Bulletin Board<-!>    Sand's BBS
  385. <+@><:s>            (713) 961-1604
  386. <+@>            2400/9600/14400 baud, HST/v.32
  387. <+@>            Username: Andy Hakim
  388. <+@><:s>
  389. <+@><:s>
  390. <+@><:s>
  391. <+@><:s>
  392. <+@><:s>
  393. <:s><:f400,FArial,0,0,0><:p<* >><:f360,FArial,0,0,0><+!>SOFTWARE LICENSE<-!><:f>
  394. <+@><:s>
  395. <+@><:s>
  396. <+C>NOHISS version 1.0 is a FREE, public domain program.  There is no registration process or monetary fee required to use it.
  397. <+@><:s>
  398. <+@>You may freely distribute NOHISS to others as long as:
  399. <+@><:s>
  400. @Bullet 1@<+@><:s><+(>only the original files are distributed<-(>
  401. @Bullet 1@<+@><:s><+(>no changes are made to any files<-(>
  402. @Bullet 1@<+@><:s><+(>no money is charged for the program<-(>
  403. <+@><:s>
  404. <+@><:s>
  405. <+C>NOHISS and this documentation are (C) Copyright 1991 by Andy Hakim. All Rights Reserved.  The author of this program is not liable for any  damage caused by its use.  By using this program, you agree to the above conditions.
  406. <+C><:s>
  407. <+@><:s>
  408. <+@><:s>
  409. <+@><:s>
  410. <+@><:s>
  411. <+@><:s>
  412. <+@><:s>
  413. <+@><:s>
  414. <+@><:s>
  415. <+@><:s><:p<* >>
  416. <+@><:f360,FArial,0,0,0><+!>What is Nohiss<:f360,FArial,0,0,0>?<-!><:f480,FArial,0,0,0>             
  417. <+@><:s>
  418. <:s>Nohiss reduces or removes background "noise" that is almost always present  when a recording is made on a digital sound card.  Background noise is most  apparent when using a microphone, but is also present to some degree if you use a direct input connectio
  419. <+@><:s>
  420. <+@>Graphically, "hisssssss" looks like this:
  421. <+@><:s>
  422. <+@><:s>
  423. <+@><:s>
  424. <+@><:s>
  425. <+@><:s>
  426. <+@><:s>
  427. <+@><:s>
  428. <+@><:s>
  429. <+@><:s>
  430. <+@><:s>
  431. <+@><:s>
  432. <+@><:s>
  433. <+@><:s>
  434. <+@><:s>
  435. <+@><:s>
  436. <+@><:s>
  437. <+@><:s>
  438. <+@><:s>
  439. <+@><:s>
  440. <+@><:s>
  441. <+@><:s>
  442. <+@><:s>
  443. <+@><:s>
  444. <+@><:s>
  445. <+@><:s>
  446. <+@><:s>
  447. NOHISS was designed to work on speech recordings.  If you run NOHISS on a digitized music (ie: rock and roll song) file, there will probably be no improvement in quality.  There is no fixed level of reduction that works for all speech samples but by adjusti
  448. ng the command line parameters you will generally end up with a better sounding sample. One of the (good) side effects of NOHISS is that the output file will  probably compress (using a file compression program) tighter than the original.  Run DEMO.BAT to h
  449. ear a sample of the before and after versions of a speech sample.
  450. <+@><:s>
  451. <:s><:#1132,9360>Certainly, removing hiss from sound files is probably not going to appeal to everyone... but there might be certain multimedia and presentation applications where this could prove useful.  This project started out merely as an experiment, but after doing so
  452. me tests I heard some dramatic improvements in speech samples.
  453. <+@><:s><:#283,9360>
  454. <:#566,9360>If you find nohiss useful, I would appreciate some feedback.  This will encourage me to continue supporting and enhancing this utility.
  455. <+@><:s><:#283,9360>
  456. <+@><:s><:#283,9360>
  457. <+@><:s><:#283,9360>
  458. <+@><:s><:#283,9360>
  459. <+@><:s><:#283,9360> 
  460. <+@><:s><:#283,9360>
  461. <+@><:#423,9360><:f360,FArial,0,0,0><+!>FILE FORMATS<-!><:f>
  462. <+@><:s><:#283,9360>
  463. <+@><:s><:#283,9360>
  464. <+@><:#283,9360>NOHISS supports the following digitized file formats:
  465. <+@><:s><:#283,9360>
  466. <+@><:s><:#283,9360>
  467. @Indent@<:#1420,9360><+!>.VOC<-!> Soundblaster 8-bit VOICE format.  Currently, only the unpacked format is supported.  Normally when you record a sound, it is stored in an unpacked state.  The Soundblaster/PRO Stereo sound format it not supported at this time.  If the VOC file 
  468. contains special blocks such as markers, text information, they will automatically be copied without change.
  469. <+@><:s><:#283,9360>
  470. @Indent@<:#571,9360><+!>.SND<-!>  This is raw 8-bit data with header information.  There are two basic types of SND files.  Nohiss recognizes both versions and retains proper header information.
  471. <+@><:s><:#283,9360>
  472. @Indent@<:#571,9360><+!>.SOU<-!>  Raw 8-bit digital data.  No header information.  The extension may not be SOU in all cases.
  473. <+@><:s><:#283,9360>
  474. <+@><:s><:#283,9360>
  475. @Indent@<:#849,9360>Note:  Although you can specify different extensions for the input and output files, nohiss will not convert between formats.  The output file always remains the same format as that of the input file.
  476. @Indent@<+@><:s><:#283,9360>
  477. <+@><:s><:#283,9360>
  478. <+@><:s><:#283,9360>
  479. <+@><:s><:#283,9360>
  480. <+@><:s><:#283,9360>
  481. <+@><:s><:#283,9360>
  482. <+@><:s><:#283,9360>
  483. <+@><:s><:#283,9360>
  484. <+@><:s><:#283,9360>
  485. <+@><:s><:#283,9360>
  486. <+@><:s><:#283,9360>
  487. <+@><:s><:#283,9360>
  488. <+@><:s><:#283,9360>
  489. <+@><:s><:#283,9360>
  490. <+@><:s><:#283,9360>
  491. <+@><:s><:#283,9360>
  492. <+@><:s><:#283,9360>
  493. <+@><:s><:#283,9360>
  494. <+@><:s><:#283,9360>
  495. <+@><:s><:#283,9360>
  496. <+@><:s><:#283,9360>
  497. <+@><:s><:#423,9360><:f360,FArial,0,0,0><+!>COMMAND LINE SYNTAX<-!><:f>
  498. <+@><:s><:#283,9360>
  499. <+@><:s><:#283,9360><+!>
  500. <+@><:s><:#288,9360><+!>DOS Syntax:<-!>
  501. <+@><:s><:#283,9360>
  502. <+@><:#283,9360>    NOHISS inputfile<[>.ext] <[>outputfile<[>.ext]] <[>options]
  503. <+@><:s><:#283,9360>
  504. <+@><:s><:#283,9360>
  505. <+@><:#288,9360><+!><[>inputfile<[>.ext]<-!>
  506. @Indenall@<:#1132,9360>Name of the file that is to be processed.  Nohiss automatically looks for .VOC, .SND, and .SOU files if no extension is specified. You may precede the inputfile by a qualified DOS pathname. Wildcards are not allowed, but if you wish to process multiple file
  507. s, I recommend another of my utilities called Wildrun.
  508. <+@><:s><:#283,9360>
  509. <+@><:s><:#283,9360>
  510. <+@><:#288,9360><+!><[>outputfile<[>.ext]]<-!>
  511. @Indenall@<:s><:#1415,9360>Name of the output file.  If no extension is given, one will be added automatically depending on the input file format.  If no output file is specified, a temporary file is created, then deleted when the program is finished.  The temporary file is only crea
  512. ted for playback purposes.  Therefore if you wish to save the output as a file, you must specify an output filename.
  513. <+@><:s><:#283,9360>
  514. <+@><:s><:#283,9360>
  515. <+@><:s><:#288,9360><+!><[>options]<-!>
  516. @Indenall@<:#1132,9360>Also known as command line parameters, options allow you to change various settings of the program.  All options can be saved directly to NOHISS.EXE by using /SAVE.  This saves  you the trouble of typing the same parameters over on subsequent uses.
  517. <+@><:s><:#283,9360>
  518. <+@><:s><:#283,9360>
  519. <+@><:s><:#283,9360>
  520. <+@><:s><:#283,9360>
  521. <+@><:s><:#283,9360>
  522. <+@><:s><:#283,9360>
  523. <+@><:s><:#283,9360>
  524. <+@><:s><:#283,9360>
  525. <+@><:s><:#283,9360>
  526. <+@><:s><:#283,9360>
  527. <+@><:s><:#283,9360>
  528. <+@><:s><:#283,9360>
  529. <+@><:s><:#283,9360>
  530. <+@><:s><:#283,9360>
  531. <+@><:s><:#283,9360>
  532. <+@><:#423,9360><:f360,FArial,0,0,0><+!>COMMAND LINE OPTIONS<-!><:f>
  533. <+@><:s><:#283,9360>
  534. <+@><:#423,9360>C:<;> NOHISS inputfile<[>.ext] <[>outputfile<[>.ext]] <:f360,,><[>options]<:f>
  535. <+@><:s><:#283,9360>
  536. @Bullet 1@<+@><:s><:#331,9360><+(>be specified in any order<-(>
  537. @Bullet 1@<+@><:s><:#331,9360><+(>may be in upper or lower case<-(>
  538. @Bullet 1@<+@><:s><:#331,9360><+(>may not be abbreviated<-(>
  539. @Bullet 1@<+@><:s><:#331,9360><+(>may be preceded by slash (/) or minus (-)<-(>
  540. @Bullet 1@<+@><:s><:#331,9360><+(>must be separated by a space ( )<-(>
  541. <+@><:s><:#283,9360>
  542. <+@><:#288,9360><+!>/?<-!>   (or /HELP, or NOHISS with no options)
  543. @Indenall@<:#566,9360>Displays the help screen and default options.  The "defaults" column reflects the settings that are current stored in nohiss.exe.
  544. <+@><:s><:#283,9360>
  545. <+@><:s><:#283,9360>
  546. <+@><:#288,9360><+!>/NR=#<-!>
  547. @Indenall@<:#1981,9360>Controls the Noise Reduction level and is  specified as a percentage ranging from 0 to 100.  This is the factor by which each sample value will be reduced.  For example, if /NR=50 then a data value of -6  will be reduced by 50% yielding -3.  In other words,
  548.  if this is set at 50, then all hiss will be completely silenced only by half its intensity (ie: volume, amplitude).  Normally, this should be set at 100 percent if the /RANGE is small.  If you notice a sharp drop of volume during silence periods, you can t
  549. ry reducing this value.
  550. <+@><:s><:#283,9360>
  551. <+@><:s><:#283,9360>
  552. <+@><:s><:#288,9360><+!>/SIZE=#<-!>
  553. @Indenall@<:#3396,9360>Sets the minimum duration for a segment of hiss.  This value is measured in individual samples.  Another explanation of this value is that there must be a certain number of consecutive values falling in the hiss RANGE (another parameter, see below) as a  re
  554. quirement for reduction.  It is necessary to have this restriction because the endings of certain words (ex: THIS), often sound similar to background noise.  A small SIZE value (ex: 1) will cause words to be clipped at the end.  On the other hand, a very la
  555. rge size value will cause no values to qualify for reduction.  In terms of time, the size value is closely related to the sampling rate.  For example, a rate of 12000 hertz means that 12000 samples are taken each second.  Therefore, if you set /SIZE=12000 y
  556. ou are saying that at least one second of continuous hiss must be present before that segment is  reduced and any portions of hiss smaller than 1 second are ignored.
  557. <+@><:s><:#283,9360><:f160,FArial,0,0,0>(size option continued)<:f>
  558. <+@><:s><:#283,9360>
  559. <+@><:s><:#283,9360>
  560. <+@><:s><:#288,9360>    By using the <+!>/SIZE=#<-!> parameter, you are defining the horizontal width:
  561. <+@><:s><:#283,9360>
  562. <+B><:s><:#283,1020>
  563. <+B><:s><:#283,1020>
  564. <+@><:s><:#283,1020>
  565. <+@><:#283,1020>
  566. <+@><:#283,1020>
  567. <+@><:#283,1020>
  568. <+@><:#283,1020>
  569. <+@><:#283,1020>
  570. <+@><:#283,1020>
  571. <+@><:s><:#283,1020>
  572. @Indenall@<+@><:s><:#283,1020>
  573. @Indenall@<:#566,9360>As another example, is you specify /SIZE=1 any single sample that meets the /RANGE criterion will be reduced.
  574. <+@><:s><:#283,9360>
  575. <+@><:s><:#283,9360>
  576. <+@><:s><:#288,9360><+!>/RANGE=#<-!>
  577. @Indenall@<:#2264,9360>Sets the width of the hiss spectrum and is specified in volume units ranging from 0 to 254. Nohiss automatically centers this value around 0 (which is considered silence.)  Data values falling into this range are reduced.  The MIN and MAX values are recompu
  578. ted every time you use this option.  Normally you should keep this value just large enough to catch the hiss and not affect the voice.  If you start hearing words being clipped, try reducing this value. In my experience, a value less than 3 is useless and a
  579.  value greater than 50 takes away too much of the voice data.  This value varies from sample to sample.
  580. <+@><:s><:#283,9360>
  581. <+@><:s><:#288,9360>    By<+!> /RANGE=#<-!>, you are specifying the vertical width:
  582. <+@><:s><:#283,9360>
  583. <+@><:s><:#283,1170>
  584. <+@><:s><:#283,1170>
  585. <+@><:s><:#283,1170>
  586. <+@><:s><:#283,1170>
  587. <+@><:s><:#283,1170>
  588. <+@><:s><:#283,1170>
  589. <+@><:s><:#283,1170>
  590. <+@><:s><:#283,1170>
  591. <+@><:s><:#283,1170>
  592. <+@><:s><:#283,1170>
  593. <+@><:s><:#283,1170>
  594. <+@><:s><:#283,530>
  595. <+@><:s><:#283,530>
  596. <+@><:s><:#283,530>
  597. <+@><:s><:#283,530>
  598. <+@><:s><:#283,530>
  599. <+@><:s><:#283,530>
  600. <+@><:s><:#283,530>
  601. <+@><:s><:#283,530>
  602. <+@><:s><:#283,530>
  603. <+@><:s><:#283,530>
  604. <+@><:s><:#283,530>
  605. <+@><:s><:#283,9360>
  606. <+@><:s><:#283,9360>
  607. <+@><:s><:#283,9360><+!>
  608. <+@><:#288,9360><+!>/MIN=#<-!>
  609. @Indenall@<:s><:#566,9360>Hiss spectrum lower limit, ranging from -127 to +127.  This gives you precise control over the hiss spectrum.
  610. <+@><:s><:#283,9360>
  611. <+@><:s><:#283,9360>
  612. <+@><:s><:#288,9360><+!>/MAX=#<-!>
  613. @Indenall@<:s><:#566,9360>Hiss spectrum upper limit, ranging from -127 to +127.  This gives you precise control over the hiss spectrum.
  614. <+@><:s><:#283,9360>
  615. <+@><:#288,9360><+!>/<[>NO]FANCY<-!>
  616. @Indenall@<:#1415,9360>Chooses between two types of screens.  The fancy mode is only available if EGA/VGA display is present.  If you are using a multitasking program such as Windows or Desqview turn off this option.  Technical info for DV or Windows: "direct screen writes" are u
  617. sed in FANCY mode, and BIOS writes are used in NOFANCY mode.
  618. <+@><:s><:#283,9360>
  619. <+@><:s><:#283,9360>
  620. <+@><:#288,9360><+!>/<[>NO]OVER<-!>
  621. @Indenall@<:#849,9360>Turns on/off file overwrite confirmation.  If set to /NOOVER, you are prompted if an output file exists.  If set to /OVER, output files will be overwritten without any user confirmation.
  622. <+@><:s><:#283,9360>
  623. <+@><:s><:#283,9360>
  624. <+@><:#288,9360><+!>/<[>NO]PROCESS<-!>
  625. @Indenall@<+@><:#566,9360>Turns on/off hiss processing.  If you turn OFF processing, Nohiss functions as a voc file player.  This feature can be used to hear differences between two files.
  626. <+@><:s><:#283,9360>
  627. <+@><:s><:#283,9360>
  628. <+@><:#288,9360><+!>/<[>NO]PLAY<[>I]<[>O]<-!>
  629. @Indenall@<:#1415,9360>Specifies what should be played back.  Use /NOPLAY if you do not want to hear anything.  Use /PLAYI to hear only the input file.  Use /PLAYO to hear only the output file.    Use /PLAYIO to hear both input and output files.  Only VOC files can be played back
  630. . Currently, only Soundblaster compatible cards (such as the ATI Sound F/X) and supported at this time.
  631. <+@><:s><:#283,9360>
  632. <+@><:s><:#288,9360><+!>/TIME=#<-!>
  633. @Indenall@<:#849,9360>Specifies the duration of playback in seconds.  For example, if  you set /TIME=5 then only the first 5 seconds of a file will be played back.  Setting this to 0 means there is no limit.
  634. <+@><:s><:#283,9360>
  635. <+@><:s><:#283,9360>
  636. <+@><:s><:#283,9360>
  637. <+@><:s><:#283,9360>
  638. <+@><:s><:#283,9360><+!>
  639. <+@><:s><:#288,9360><+!>/PORT=#<-!>
  640. <+@><:s><:#283,9360>
  641. @Indenall@<:#1132,9360>Specifies the Soundblaster IO port address in hexadecimal notation. By default, the SB is jumpered at 220, but you can set it from 210, 220... to 260.  For example, /PORT=260 sets the port address to 260 hexadecimal.  You may want to use the /SAVE option to
  642.  make this setting permanent in NOHISS.EXE.
  643. <+@><:s><:#283,9360>
  644. <+@><:s><:#283,9360>
  645. <+@><:s><:#288,9360><+!>/SAVE<-!>
  646. @Indenall@<:#1415,9360>This causes all options specified on the command line to become permanent.  Option values are written to NOHISS.EXE bypassing the need for configuration files.  On subsequent uses, you do not have to reenter command line options.  For example, NOHISS /POST=
  647. 240 /SAVE /? saves the port number and noise reduction level, then displays the help screen.  Filenames are not saved.
  648. <+@><:s><:#283,9360>
  649. <+@><:s><:#283,9360>
  650. <+@><:s><:#288,9360><+!>/RESET<-!>
  651. @Indenall@<+@><:#566,9360>Restores factory default settings.  These settings are automatically written to NOHISS.EXE.
  652. <+@><:s><:#283,9360>
  653. <+@><:s><:#283,9360>
  654. <+@><:#288,9360><+!><;> NUL<-!>
  655. @Indenall@<:#1981,9360>This is not really part of Nohiss, but it is a very handy DOS redirection command that can be used to redirect screen output in some programs to a "null" device block hole sort of.  You can use this redirection technique if you do not want anything displaye
  656. d on the screen.  Two important things to remember about this command: It can only be used with the /NOFANCY option (this is because in FANCY mode direct screen writes are used) and it must be the last option on the command line.  Here is an example:
  657. <+@><:s><:#283,9360>
  658. <:#288,9360><+!>               <-!>C:<;> NOHISS /NOFANCY /PROCESS SAMPLE <;> NUL
  659. <+@><:s><:#283,9360>
  660. <+@><:s><:#283,9360>
  661. <+@><:s><:#283,9360>
  662. <+@><:s><:#283,9360>
  663. <+@><:s><:#283,9360>
  664. <+@><:s><:#283,9360>
  665. <+@><:s><:#283,9360>
  666. <+@><:s><:#283,9360>
  667. <+@><:s><:#283,9360>
  668. <+@><:s><:#283,9360>
  669. <+@><:s><:#283,9360>
  670. <+@><:s><:#283,9360>
  671. <+@><:#423,9360><:f360,FArial,0,0,0><+!>COMMAND LINE EXAMPLES<-!><:f> (assuming factory default options)
  672. <+@><:s>
  673. <+@><:s>
  674. <+@><+!>C:\NOHISS SAMPLE.VOC OUTPUT.VOC<-!>
  675. <+@><:s>
  676. The file named sample.voc is processed and its result sent to  output.voc.  Both files are played back.
  677. @Line@<+@><:s>
  678. <+@><:s>
  679. <+@><:s>
  680. <+@><+!>C:\NOHISS SAMPLE.VOC OUTPUT.VOC /PLAYO /TIME=5<-!>
  681. <+@><:s>
  682. After processing, only the output file (in this case output.voc) will be played back.  The playback stops after 5 seconds.
  683. <+@><:s>
  684. @Line@<+@><:s>
  685. <+@><:s>
  686. <+@><:s>
  687. <+@><+!>C:\NOHISS SAMPLE.VOC /PLAYO<-!>
  688. <+@><:s>
  689. <:s>After processing, only the output file (in this case a temporary file) will be played back.  The temporary file is erased.
  690. <+@><:s>
  691. @Line@<+@><:s>
  692. <+@><:s>
  693. <+@><+!>C:\NOHISS SAMPLE.VOC OUTPUT.VOC /NOPLAY<-!>
  694. <+@><:s>
  695. <+@><:s>File will be processed, but NOT played back.
  696. <+@><:s>
  697. @Line@<+@><:s>
  698. <+@><:s><+!>
  699. <+@><+!>C:\NOHISS SAMPLE.VOC /NOPROCESS<-!>
  700. <+@><:s><+!>
  701. <:s>File will not be processed, only played back.
  702. <+@><:s>
  703. @Line@<+@><:s>
  704. <+@><:s>
  705. <+@><+!>C:\NOHISS SAMPLE OUTPUT /RANGE=10 /SIZE=100<-!>
  706. <+@><:s>
  707. <:s>RANGE is set to 10, and SIZE is set to 100 while processing.
  708. <+@><:s>
  709. <+@><:s>
  710. <+@><:s>
  711. <+@><:s><:#283,9360><+!>
  712. <+@><:s><:#283,9360><+!>
  713. <+@><+!>C:\NOHISS /RANGE=10 /SIZE=100 /SAVE<-!>
  714. <+@><:s>
  715. The RANGE and SIZE parameters are permanently saved to nohiss.exe. If you use the /SAVE option it is not mandatory to specify a filename.
  716. <+@><:s>
  717. @Line@<+@><:s>
  718. <+@><:s>
  719. <+@><+!>C:\NOHISS /RESET /?<-!>
  720. <+@><:s>
  721. The original factory settings are restored and saved to nohiss.exe. The "/?" option will display the new settings.
  722. @Line@<+@><:s>
  723. <+@><:s><+!>
  724. <+@><:s><+!>
  725. <+@><+!>C:\NOHISS SAMPLE OUTPUT /NR=75 /PLAYO /NOPAUSE /SIZE=10 /RANGE=5 /OVER<-!>
  726. <+@><:s>
  727. This will set the noise reduction level to 75%, set the range to 5 units, set the size to 10 samples, process the file overwriting OUTPUT.VOC if it exists, play the output file, and not pause after playing.
  728. <+@><:s>
  729. <+@><:s>
  730. <+@><:s>
  731. <+@><:s>
  732. <+@><:s>
  733. <+@><:s>
  734. <+@><:s>
  735. <+@><:s>
  736. <+@><:s>
  737. <+@><:s>
  738. <+@><:s>
  739. <+@><:s>
  740. <+@><:s>
  741. <+@><:s>
  742. <+@><:s>
  743. <+@><:s>
  744. <+@><:s>
  745. <+@><:s>
  746. <+@><:s>
  747. <+@><:s>
  748. <+@><:s>
  749. <+@><:f360,FArial,0,0,0><+!>ERROR MESSAGES<-!><:f>
  750. <+@><:s>
  751. <+@>Error messages are reported on the screen as well as in the ERRORLEVEL
  752. <+@>system variable in DOS.  A successful run will set ERRORLEVEL to 0.
  753. <+@><:s>
  754. <+@><:s>
  755. <:s><+!>1: INVALID COMMAND LINE OPTION<-!>
  756. <+@><:s>You have entered an incorrect parameter on the command line.
  757. <+@><:s>
  758. <+@><:s>
  759. <:s><+!>2: INPUT FILE NOT FOUND
  760. <:s>Cannot find the input file.
  761. <+@><:s>
  762. <+@><:s>
  763. <+!>3: VOC FILE COMPRESSED<-!>
  764. The voc file contains a packed (compressed) block.  Nohiss cannot process these types of files (along with most other voc utilities!)
  765. <+@><:s>
  766. <+@><:s>
  767. <+!>4: VOC FILE CORRUPT/UNSUPPORTED FORMAT<-!>
  768. <+@>The voc file contains and invalid block header or the file is corrupt. Check to see if other utilities can read this file.
  769. <+@><:s>
  770. <+@><:s>
  771. <:s><+!>5: FILE READ ERROR
  772. An error occurred during reading this file.  Check to see if the file is accessible by other programs.
  773. <+@><:s>
  774. <+@><:s>
  775. <:s><+!>6: FILE WRITE ERROR/DISK FULL?
  776. <:s>Most likely, you are out of disk space on the output drive.  You must have at least as much space as the input file.
  777. <+@><:s>
  778. <+@><:s>
  779. <:s><+!>7: OUTPUT FILE SAME AS INPUT FILE
  780. <:s>You must specify a different output file than the input file.
  781. <+@><:s>
  782. <+@><:s>
  783. <:s><+!>8: OPTION VALUE OUT OF BOUNDS
  784. <:s>The option does not have the correct range value.
  785. <:s><:#283,9360>
  786. @Indenall@<+@><:s><:#283,9360>
  787. <:s><:#283,9360><+!>
  788. <:s><:#283,9360><+!>9: CANNOT ACCESS PROGRAM FILE
  789. The program could not write to NOHISS.EXE.  Maybe the disk is write protected, or you do not have write privilege on your network.
  790. @Indenall@<+@><:s>
  791. <+!>10: SOUNDBLASTER PLAYBACK ERROR
  792. An error occurred while playing a VOC file, bad format.
  793. <+@><:s>
  794. <+!>11: SOUNDBLASTER INTERRUPT ERROR
  795. The Soundblaster is not configured correctly.  Check to see if it works with other software.
  796. <+@><:s><+">
  797. <+!>12: SOUNDBLASTER NOT INSTALLED OR WRONG IO PORT<-!>
  798. <+@>The Soundblaster is not installed in your machine, or the IO port base address is set incorrectly.    You can modify the IO base port address by using the /PORT=# command, where # can range from 210 to 260 (hex). Note: This has been tested successfully with So
  799. undblaster v1.5.
  800. <+@><:s>
  801. <+@><:s><:f400,FArial,0,0,0>
  802. <+@><:s><:f400,FArial,0,0,0>
  803. <+@><:s><:f400,FArial,0,0,0>
  804. <+@><:f360,FArial,0,0,0><+!>SOURCE CODE<-!><:f>
  805. <+@><:s>
  806. <+@>NOHISS was written using Borland C++ v2.0.  If you are interested in a copy of the source code, contact me at the addresses listed at the start  of this document.  If you have information on the decompression algorithms  used by the Soundblaster, I am inter
  807. ested!  Let me know.
  808. <+@><:s>
  809. <+@><:s>
  810. <+@><:s>
  811. <+@><:s>
  812. <+@><:s>
  813. <+@><:f360,FArial,0,0,0><+!>TRADEMARKS<-!><:f>
  814. <+@><:s>
  815. <+@>Borland C++ is a trademark of Borland International.
  816. <+@>Soundblaster is a trademark of Creative Labs, Inc.
  817. <+@><:s>
  818. <+@><:s>
  819. <+@><:s>
  820. <+@><:s>
  821. <+@><:f360,FArial,0,0,0><+!>REVISION HISTORY<-!><:f>
  822. <+@><:s><:#283,9360>
  823. <+@><:s>October 17, 1991    Version 1.0     Initial Release
  824. <+@>December 15, 1991    Version 1.1     Detects EGV/VGA 43 line mode<+&>1<-&>
  825. <+@>                Added PLAYBACK.BAT
  826. <+@><:s>                Minor changes in documentation
  827. <+@><:s>
  828. <+@><:s>
  829. <+@><:s>
  830. <+@><:s>
  831. <+@><:s>
  832. <+@><:s>
  833. <+@><:f360,FArial,0,0,0><+!>ACKNOWLEDGEMENTS<-!><:f>
  834. <+@><:s>
  835. <+@><:s>Thank you:
  836. <+@><:s>
  837. <+!>Gene "Music Man" Pope<-!> for many helpful suggestions and testing. Gene is an expert on digital sampling, and sound processing in general. His address is cosc12ui@jetson.uh.edu on Internet. 
  838. <+!>Aaron Wallace<-!> for clarifying the SND file format.  Incidental,  he originated the SND file format for PC's which is widely used by many programs. His address is aaron@jessica.stanford.edu on Internet.
  839. <:s> 
  840. <+!>Kendall Bennett <-!>of Royal Melbourne Institute of Technology, Victoria, AUSTRALIA for pointing out the 43/50 line EGA/VGA bug.
  841. [Embedded]
  842. 00033862
  843.