home *** CD-ROM | disk | FTP | other *** search
/ BUG 1 / BUGCD1996_0708.ISO / pc / util / tfx / tapefix.txt < prev   
Text File  |  1996-06-05  |  23KB  |  647 lines

  1.  
  2.  
  3.                         T A P E F I X  v1.00
  4.  
  5.                   ZX Spectrum Tape Recovery Tools
  6.  
  7.                         (c) 1996  Busy Bytes
  8.                          by Arsen Torbarina
  9.    
  10.  
  11.                    ...Revive your memories!!!...
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. Contents:
  23.  
  24.    1.   INTRODUCTION, REGISTRATION INFORMATION
  25.    1.1. What the program does?
  26.    1.2. Included files
  27.    1.3. Software & hardware requirements
  28.    1.4. Shareware version's restriction
  29.    1.5. Ordering your registered copy of the 'TAPEFIX v1.00'
  30.    1.6. User support
  31.  
  32.    2.   TECHNICAL OVERVIEW
  33.    2.1. How does the Spectrum store data to a tape?
  34.    2.2. Common deviations of the recordings
  35.    2.3. How does the TAPEFIX work?
  36.    2.4. TAP file format
  37.  
  38.    3.   USING THE TAPEFIX PROGRAM
  39.    3.1. Overview
  40.    3.2. Making a sample
  41.    3.3. Processing the sample
  42.    3.3.1.  Specifying input and output files
  43.    3.3.2.  INI files
  44.    3.3.3.  LOG files
  45.    3.3.4.  Saving the info-boxes
  46.    3.3.5.  Specifying the destination filter file
  47.    3.3.6.  Sample parameters
  48.    3.3.7.  Filter parameters 
  49.    3.3.8.  Signals frequency definition
  50.    3.3.9.  Various options
  51.    3.3.10. Troubleshooting with the Advisor
  52.  
  53.    4.   TAP2WAV UTILITY
  54.    4.1. Usage
  55.    4.2. Saving a sample via music card
  56.  
  57.  
  58.  
  59. 1.   INTRODUCTION, REGISTRATION INFORMATION
  60.  
  61. 1.1. What the program does?
  62.  
  63.     ...And they've been telling me that this was impossible!...
  64.  
  65.    Do you still have some dusty ZX Spectrum tapes with those good
  66.    old simple games, or perhaps there are some programs of yours
  67.    that you were proud of ten years ago ... And now you are keen to
  68.    load them again, but they just seem not to be readable anymore!
  69.  
  70.    IF YOU THOUGHT THAT THOSE RECORDINGS ARE IMPOSSIBLE TO READ -- YOU
  71.    WERE AWFULLY WRONG!!! TAPEFIX WILL RECOVER ALMOST ANY OLD RECORDING
  72.    THAT IS DUE TO THE DAMAGES OR SIGNAL LOSS CAUSED BY AGING, IMPOSSIBLE
  73.    TO LOAD IN THE ORDINARY WAY. RECOVERED DATA WILL BE SAVED EITHER BACK
  74.    TO TAPE, OR IN THE WELL KNOWN "Z80" EMULATOR'S TAP FILE.
  75.  
  76.    Version 1.00 requires as input a 16-bit WAV or RAW sample. After
  77.    the filtering, the data will be read, and then written to a TAP
  78.    file, that (in case you don't own the "Z80" Emulator) can be
  79.    transformed back to a WAV sample and then played back to tape.
  80.    The whole process performed on a 486 computer, supplied with the
  81.    SmartDrive, takes less than the ordinary loading.
  82.    
  83.    TAPEFIX uses specially developed digital filtering methods to
  84.    separate the useful signal from noise and errors. Although the
  85.    default filter settings and included INI setups are quite enough
  86.    for most of the recordings, sometimes it will require some
  87.    experimenting before the recording is successfully processed.
  88.  
  89.  
  90.  
  91.  
  92. 1.2. Included files
  93.  
  94. a) The registered version comes in one TFIX-100.ZIP file consisted
  95.    of the following parts:
  96.  
  97.    TAPEFIX.EXE    Main program - registered version
  98.    TAP2WAV.EXE    Utility that converts TAP files to WAV samples
  99.    TAPEFIX.TXT    Manual (English)
  100.    READ.ME        Preface (English)
  101.    ORDER.TXT      Ordering information (English)
  102.    FILE_ID.DIZ    Package description
  103.    *.INI          Several INI files with various settings
  104.  
  105.    TAPEFIX.CRO    Manual (Croatian)
  106.    PROCITAJ.ME    Preface (Croatian)
  107.    NARUDZBA.CRO   Ordering information (Croatian)
  108.  
  109.    TFIX100S.ZIP   Shareware version package
  110.  
  111.  
  112.  
  113. b) The shareware version comes in one TFIX100S.ZIP file consisted
  114.    of the following parts:
  115.  
  116.    TAPEFIX.EXE    Main program - shareware version
  117.    TAP2WAV.EXE    Utility that converts TAP files to WAV samples
  118.    TAPEFIX.TXT    Manual (English)
  119.    READ.ME        Preface (English)
  120.    ORDER.TXT      Ordering information (English)
  121.    FILE_ID.DIZ    Package description
  122.    *.INI          Several INI files with various settings
  123.    EXAMPLE.WAV    Short sample of a recording (only in the SW package)
  124.  
  125.    TAPEFIX.CRO    Manual (Croatian)
  126.    PROCITAJ.ME    Preface (Croatian)
  127.    NARUDZBA.CRO   Ordering information (Croatian)
  128.  
  129.  
  130.  
  131.  
  132. 1.3. Software & hardware requirements
  133.  
  134.    ■ Although the program will run even on an old 286, it is
  135.      strongly suggested at least a 386 or 486 with a math
  136.      co-processor, and a fast hard disk.
  137.    ■ It is also advisable the use of SMARTDRIVE or some other disk
  138.      cache.
  139.    ■ Better speed performance will be gained if the program is run
  140.      from the Windows' DOS prompt with 32-bit   file and/or disk
  141.      access.
  142.    ■ A 16-bit sound card (sorry folks, that's really necessary)!
  143.    ■ A good wave editor (that doesn't clicks when playing a long
  144.      sample) -- e.g., GoldWave, CoolEdit, Creative WaveStudio...
  145.  
  146.  
  147.  
  148.  
  149. 1.4. Shareware version's restriction
  150.  
  151.    The shareware version is made only for evaluation purposes
  152.    and has one major limitation: it will handle only files up to
  153.    2000 long. However, longer files will be analyzed (but not
  154.    saved) so you could know whether they could be recovered with
  155.    the registered version. 
  156.  
  157.  
  158.  
  159.  
  160. 1.5. Ordering your registered copy of the 'TAPEFIX v1.00'
  161.  
  162.    By ordering a registered copy, you get the following:
  163.  
  164.       ■ Fully functional program without the restrictions
  165.         of the shareware version;
  166.  
  167.       ■ Complete user support;
  168.  
  169.       ■ All the 1.xx versions you will get free of charges (except the
  170.         delivery costs when NOT ordering by E-mail);
  171.  
  172.       ■ 50% discount on all further versions.
  173.  
  174.  
  175.    There are two ways of delivering the program, plus one if you
  176.    live in Croatia:
  177.  
  178.  
  179.    a) Via E-mail that is absolutely the best and fastest way, since
  180.       it does not require additional costs, and you get your copy
  181.       as soon as the money arrives.
  182.  
  183.       Please send in an envelope GB£7, US$10 or DEM 15 with your
  184.       full name, your post address, and your E-MAIL address to the
  185.       following address:
  186.  
  187.                Arsen Torbarina
  188.                Al.Blaza Jurisica 65
  189.                10040 Zagreb
  190.                CROATIA
  191.  
  192.       (Please place the money in a folded sheet of paper, and fix
  193.       the coins with a piece of adhesive tape).
  194.  
  195.       The program will be delivered to you on your E-mail address,
  196.       as a file attached to a letter.
  197.  
  198.  
  199.  
  200.    b) Via air-mail which requires additional fee for the delivery
  201.  
  202.       Please send in an envelope GB£9, US$13, or DEM 20 with your
  203.       full name and your post address to the address written above.
  204.  
  205.       You will receive your registered copy via air-mail, on a 3.5"
  206.       HD disk in the shortest possible time.
  207.  
  208.  
  209.  
  210.    c) THIS OPTION IS POSSIBLE ONLY IF YOU LIVE IN CROATIA
  211.  
  212.       Daklem, obzirom da smo si svoji, za sve sunarodnjake cijena
  213.       je sljedeca:
  214.  
  215.       c1) 35 kuna ako zelite dostavu putem E-maila (ne zaboravite
  216.           navesti svoje puno ime, postansku adresu, te E-mail
  217.           adresu, s time da posebno istaknete da zelite dostavu
  218.           putem E-maila)
  219.  
  220.       c2) 50 kuna ako zelite dostavu preporucenom posiljkom na
  221.           3.5" HD disketi.
  222.  
  223.  
  224.    NOTE: The source is not available.
  225.  
  226.  
  227.  
  228. 1.6. User support
  229.  
  230.    If you are a registered user, and you have any problems or questions
  231.    regarding the usage of the TAPEFIX, you can write to the following
  232.    E-mail addresses, and you will receive the answer in the shortest
  233.    possible time.
  234.  
  235.       ■ arsen.torbarina@bug-zg.fido.hr
  236.       ■ arsen.torbarina@fer.hr
  237.  
  238.  
  239.    NOTE: User support is available only for registered users, so do not
  240.          forget to write your name and the serial number of your copy!!!
  241.  
  242.  
  243.  
  244. 2.   TECHNICAL OVERVIEW
  245.  
  246. 2.1. How does the Spectrum store data to a tape?
  247.  
  248.    For saving data to a tape, Spectrum uses a very primitive method
  249.    called frequency modulation. Each byte is saved to tape bit by
  250.    bit, where the most significant bit comes first, and the least
  251.    significant one comes last. "0" is coded with an impulse of the
  252.    frequency of 2044 Hz, and "1" is coded with an impulse of the
  253.    frequency of 1022 Hz. It results in 1500 bits per second in the
  254.    case of equal numbers of "ones" and "zeros".
  255.  
  256.    In order to ease the search for the block start, it is
  257.    necessary to have on the beginning of each one a leader tone
  258.    (808 Hz) that lasts from 3 to 5 seconds. It is followed by a
  259.    short impulse (about 2500 Hz) called synchro impulse, that
  260.    specify the start of the data block. The synchro impulse has
  261.    the positive half-period that is a bit longer than the negative
  262.    one, which results in a slight elevation of the signal, on the
  263.    very beginning of the block.
  264.  
  265.    The very first byte written after the synchro impulse, present
  266.    the flag byte -- that is the contents of the A register, that
  267.    specifies the block type. Usually 0 stands for headers, and 255
  268.    for data blocks.
  269.    
  270.    The following bytes represent the saved data, and the last one
  271.    is the checksum parity byte. The loading routine ends as soon as
  272.    it gets the last of N+2 bytes it has been expected (where N is
  273.    the number of data bytes).
  274.  
  275.  
  276.    Figure A: Frequency modulation
  277.  
  278.  
  279.       ┌────────┐        ┌────────┐        ┌─┐┌──┐  ┌──┐  ┌──────┐      ┌
  280.    ...┘        └────────┘        └────────┘ └┘  └──┘  └──┘      └──────┘
  281.  
  282.               807 Hz            807 Hz        1022Hz 1022Hz   2044 Hz
  283.        <────────────────><────────────────><><─────><────><────────────>
  284.           Leader tone (last 2 impulses)  "Sync" "0"   "0"       "1"
  285.  
  286.  
  287.  
  288.  
  289.  
  290. 2.2. Common deviations of the recordings
  291.  
  292.    When the signal is saved to tape, due to the characteristics
  293.    of the recording hardware, all the sharp edges are smoothed,
  294.    resulting an ordinary sine wave. On good high-frequency
  295.    performance tapes, such as metal and Cr02 tapes, the signals are
  296.    often found with sharp peaks on the front edge. Those peaks
  297.    usually make problems during the loading, and thus have to be
  298.    eliminated by a selective filter.
  299.  
  300.    Another, more often cause of loading errors, is the loss of the
  301.    signal intensity, often followed by impulse merging, caused by
  302.    the tape aging. This means that the impulse for "0" (which due
  303.    to its shorter duration also has a lower amplitude), is melted
  304.    to the first following signal. This problem, impossible to
  305.    handle in the ordinary way, now can easily be solved using the
  306.    TAPEFIX sophisticated methods of digital filtering.
  307.  
  308.    Short gaps and peaks caused by the tape deformations -- normally
  309.    impossible to handle -- will be successfully smoothed.
  310.  
  311.    Frequency deviation is also one of the most common deviations
  312.    caused by using a bad tape recorder. The standard loading
  313.    routine is very non-tolerant to any frequency variation, but
  314.    TAPEFIX can be set to accept any frequency range you want!
  315.  
  316.    High noise level will also be easily overridden.
  317.  
  318.  
  319.  
  320.  
  321. 2.3. How does the TAPEFIX work?
  322.  
  323.    There are several mechanisms that the TAPEFIX uses to decipher
  324.    the recordings. The simplest one is the frequency tolerance
  325.    boundaries, that can be set to almost any value. The frequencies
  326.    can be given in two ways: either by specifying the values given
  327.    in Hz, or by specifying the period length given in samples.
  328.  
  329.    There are also two sophisticated filters, specially modified for
  330.    this purpose;
  331.  
  332.    A filter called "deriving filter" eliminates all the low
  333.    frequency noises, and separates merged signals. It is meant to be
  334.    used only once -- usually in the first pass of the processing.
  335.  
  336.    A modified version of the Butterworth 1st order low-pass filter
  337.    solves all the problems caused by noise and signals shape
  338.    deformations. It will also smooth up all the shorter gaps and
  339.    peaks in the signal.
  340.  
  341.    The parameter of the Butterworth filter is the LOWPASS cutoff
  342.    frequency. By default, it is set to 2100 Hz and it should do for
  343.    most of the cases. In case of a sharp, edgy signal, even 2 or 3
  344.    passes of the low-pass filter should be performed!
  345.  
  346.  
  347.  
  348.  
  349. 2.4. TAP file format
  350.  
  351.    TAP format is a format used for the tape emulation in the "Z80"
  352.    Spectrum emulator. The following text is quoted from the original
  353.    G.A.Lunter's manual:
  354.  
  355.    
  356.    "The .TAP files contain blocks of tape-saved data. All blocks
  357.    start with two bytes specifying how many bytes will follow (not
  358.    counting the two length bytes). Then raw tape data follows,
  359.    including the flag and checksum bytes. The checksum is the bitwise
  360.    XOR of all bytes including the flag byte. For example, when you
  361.    execute the line SAVE "ROM" CODE 0,2 this will result:
  362.  
  363.          |------ Spectrum-generated data -------|       |---------|
  364.    13 00 00 03 52 4F 4D 7X20 02 00 00 00 00 80 F1 04 00 FF F3 AF A3
  365.  
  366.    ^^^^^...... first block is 19 bytes (flag + 17 bytes + checksum)
  367.          ^^... flag byte (A reg, 00 for headers, FF for data blocks)
  368.             ^^ first byte of header, indicating a code block
  369.    file name ..^^^^^^^^^^^^^
  370.    header info ..............^^^^^^^^^^^^^^^^^
  371.    checksum of header .........................^^
  372.    length of second block ........................^^^^^
  373.    flag byte ............................................^^
  374.    first two bytes of ROM .................................^^^^^
  375.    checksum (checkbittoggle would be a better name!).............^^"
  376.  
  377.  (end of quotation).
  378.  
  379.  
  380.  
  381.  
  382.    
  383. 3.   USING THE TAPEFIX PROGRAM
  384.  
  385. 3.1. Overview
  386.  
  387.    The usage is very simple -- all you have to do is make a sample
  388.    and run the TAPEFIX.
  389.  
  390.    After the sample is filtered, the loading begins block by block.
  391.    For each loaded block, an info-box is displayed, containing some basic
  392.    information on the block such as block type, length, flag byte and its
  393.    position in the sample. The position is specified with the following:
  394.  
  395.       ■ Leader start 
  396.       ■ Data block start
  397.       ■ Data block end
  398.       ■ Data block break (Break-point)
  399.  
  400.    NOTE: The position is given in two measures: in number of bytes from
  401.    the beginning, and in number of samples (in mono 16-bit recordings, the
  402.    number of bytes is twice the number of samples).
  403.  
  404.    When a block is successfully loaded, its header-info box appears
  405.    on the screen, containing all the basic information related to
  406.    that block. If the checksum is OK, the box appears in blue. If
  407.    an error occurs, the box appears in red. Finally, a TAP file
  408.    that is created, can be either loaded to the "Z80" emulator, or
  409.    using TAP2WAV utility converted to a WAV or RAW sample, and
  410.    played back to tape.
  411.  
  412.  
  413.  
  414.  
  415. 3.2. Making a sample
  416.  
  417.    Version 1.00 requires for input a WAV or RAW sample file. Using
  418.    a good sample recorder/editor, record the program you would like
  419.    to recover. You can use either GoldWave, CoolEdit, Creative
  420.    WaveStudio -- the important thing is that it does not produce
  421.    clicks and pauses on longer samples!
  422.  
  423.    Always use 16-bit recording. Stereo mode should be used only if
  424.    the recording is obviously damaged and there is no other way to
  425.    gain a satisfying result, since the processing of a stereo
  426.    recording takes twice longer.
  427.  
  428.    For the standard recordings, made on normal speed, sampling
  429.    frequency of 11025 Hz should do just fine. Higher sampling
  430.    frequency should be the last resort!
  431.  
  432.    Speed-locked recordings should be sampled on higher frequencies,
  433.    depending of the used speed (e.g., for 3000 bd. use 22050 Hz
  434.    sampling).
  435.  
  436.    CAUTION: When recording a sample, be careful not to put the
  437.    volume level too high since otherwise your music card will
  438.    clip the signal, which will corrupt the recording even more.
  439.  
  440.  
  441.  
  442.  
  443. 3.3. Processing the sample
  444.  
  445.    The allowed syntax is as follows:
  446.  
  447.    TAPEFIX <sample> [TAPfile] [<INIfiles>] [LOGfile]
  448.            [<params>] > outfile
  449.  
  450.  
  451. 3.3.1. Specifying input and output files
  452.  
  453.    When starting the TAPEFIX program, the name of the sample has
  454.    to be specified in the command-line. E.g.:
  455.  
  456.       tapefix sample.wav
  457.  
  458.    This way, the processing will be done using the default
  459.    parameter setting stored in the program itself, and those
  460.    stored in TAPEFIX.INI file (if there is one). In the above
  461.    example, the results will be stored in the SAMPLE.TAP file. This
  462.    can be changed by giving another TAP file name in the command-
  463.    line. E.g.:
  464.  
  465.       tapefix sample.wav tape.tap
  466.  
  467.    If there is an existing TAP file, it will be overwritten, unless
  468.    you want to append the new data to it, using the /APPEND switch.
  469.    When /APPEND is set, a "+" sign appears to the right of the TAP
  470.    file-name in the status-window. /NEW switch cancels this option.
  471.  
  472.  
  473. 3.3.2. INI files
  474.  
  475.    INI files are plain text files, where you can store various
  476.    parameters settings. If specified, the INI files (there can be
  477.    more than one specified) will be loaded in order of appearance,
  478.    just after the program is started, and BEFORE the setting from the
  479.    command-line is read. Switches in an INI file are written row by
  480.    row -- not two or more in one row!
  481.  
  482.    TAPEFIX.INI will be loaded first, sure -- if there is one.
  483.  
  484.  
  485. 3.3.3. LOG files
  486.  
  487.    In order to have better view on the processing, you can create a
  488.    LOG file, where all the happenings, such as position of each
  489.    byte and leader tracing are written to line by line. The first
  490.    number in each line specifies the position of the current event,
  491.    given in samples.
  492.  
  493.    NOTE: This number, when referring to a byte or a synchro impulse,
  494.    specifies its END, not the beginning!   
  495.    
  496.  
  497. 3.3.4. Saving the info-boxes
  498.  
  499.    If the info-boxes of the blocks read fly too fast across the
  500.    screen, you can send them all to an output header file, for
  501.    later analysis. E.g.:
  502.  
  503.       tapefix sample.wav > headers.txt
  504.  
  505.    NOTE: When the output is redirected, the displaying on the
  506.    screen will continue the same!
  507.  
  508.  
  509. 3.3.5.  Specifying the destination filter file
  510.  
  511.    You can specify the name that will be given to a temporary
  512.    work-file that is used to store the filtered input. By
  513.    default, this file is opened in the TEMP or TMP directory,
  514.    and after processing will automatically be removed! If you
  515.    specify its name using the /FILT parameter, the file will be
  516.    kept even after the processing is completed. This file later can
  517.    be used as input, in order to cascade the filters. E.g.;
  518.  
  519.       tapefix sample.wav /NOLOAD /LOWPASS=2100 /FILT=pass_1.wav
  520.       tapefix pass_1.wav /NODERIV /LOWPASS=1500
  521.  
  522.    The first command performs one pass of the deriving filter and
  523.    one pass of the low-pass filter at 2100 Hz, and store the
  524.    filtered signal in PASS_1.WAV, skipping the blocks loading.
  525.    The second one reads the sample from PASS_1.WAV, skips the
  526.    deriving (since it has to be performed only once), and uses the
  527.    low-pass filter at 1500 Hz. The result is finally stored in
  528.    PASS_1.TAP.
  529.  
  530.  
  531. 3.3.6. Sample parameters
  532.  
  533.    If a RAW file is used as input, the following parameters have
  534.    to be set:
  535.  
  536.       /RATE=f   Set input sample rate to f Hz (default = 11025)
  537.       /STEREO   Input file is a STEREO recording
  538.       /MONO     Input file is a MONO recording
  539.  
  540.    On the stereo recordings, only left, right or both channels can
  541.    be enabled:
  542.  
  543.       /CHANNEL=[L|R|B]     (Default = Both)
  544.  
  545.  
  546. 3.3.7. Filter parameters 
  547.  
  548.    The following switches are used to control the filters:
  549.  
  550.       /DERIV[=n]       Enable deriving filter only on the n-th pass
  551.       /NODERIV         Disable deriving filter (same as /DERIV=0)
  552.       /LOWPASS         Enable lowpass filter
  553.       /NOLOWPASS       Disable lowpass filter
  554.       /PASSES=n        Number of passes of the low-pass filter (cascades)
  555.       /LOWPASS=[f|OFF] Set low-pass cutoff frequency to f Hz or
  556.                        disable the low-pass filter
  557.       /NOFILT          Skip filtering
  558.       /THRESH=n        Amplitude threshold
  559.  
  560.  
  561. 3.3.8. Signals frequency definition
  562.  
  563.    /SLEAD[MIN|MAX]=n   Set MIN or MAX period of the LEAD tone to n samples
  564.    /SSYNC[MIN|MAX]=n   Set MIN or MAX pariod of the SYNC tone to n samples
  565.    /SBIT0[MIN|MAX]=n   Set MIN or MAX period of the BIT0 tone to n samples
  566.    /SBIT1[MIN|MAX]=n   Set MIN or MAX period of the BIT1 tone to n samples
  567.  
  568.    /FLEAD[MIN|MAX]=f   Set MIN or MAX frequency of the LEAD tone to f Hz
  569.    /FSYNC[MIN|MAX]=f   Set MIN or MAX frequency of the SYNC tone to f Hz
  570.    /FBIT0[MIN|MAX]=f   Set MIN or MAX frequency of the BIT0 tone to f Hz
  571.    /FBIT1[MIN|MAX]=f   Set MIN or MAX frequency of the BIT1 tone to f Hz
  572.  
  573.  
  574.    NOTE 1: The frequencies can be given in two ways: either by specifying
  575.    the values given in Hz, or by specifying the number of samples it
  576.    takes.
  577.    Note also that /FxxxxMIN=f is equivalent to /SxxxxMAX=n, where the
  578.    correlation between n and f is:
  579.  
  580.                          n=RATE/f, and  f=RATE/n,
  581.  
  582.    where RATE is the sampling frequency.
  583.  
  584.  
  585.    NOTE 2: If you change only SBIT0MAX, the value SBIT1MIN will be
  586.    automatically set to the first higher integer and vice versa.
  587.  
  588.  
  589. 3.3.9. Various options
  590.  
  591.    /MINLEADS=n   Set minimum acceptable number of sequent LEADER impulses
  592.    [NO]LOAD      Disable/Enable loading
  593.    /ENDERR       Stop loading after first bad block (checksum error)
  594.    /CONTERR      Continue loading even after a bad block
  595.    /25           Set 25-rows display
  596.    /50           Set 50-rows display
  597.    /?            Quick help. You can also redirect help to a file.
  598.  
  599.  
  600. 3.3.10. Troubleshooting with the Advisor
  601.  
  602.    If an error occurs, a built-in feature called "automatic
  603.    advisor" will tell you what to do. Basically, there are several
  604.    parameters that you should modify in that case, and it would be
  605.    the best to do what the advisor tells you to.
  606.  
  607.    /[NO]ADV      Disable/Enable automatic advisor. If enabled, the advisor
  608.                  will suggest you what to do if an error occurs.
  609.  
  610.    And if the Advisor doesn't manage to help you solving the problem,
  611.    you can always write to the User Support Service, and you will get
  612.    the answer as soon as possible. (See "1.6. User support")
  613.  
  614.  
  615.  
  616.  
  617. 4.   TAP2WAV UTILITY
  618.  
  619. 4.1. Usage
  620.  
  621.    TAP2WAV is a utility that will convert the contents of a TAP file to
  622.    a WAV sample that can be played back to tape and loaded into a real
  623.    Spectrum.
  624.  
  625.    The allowed syntax is as follows:
  626.  
  627.       TAP2WAV source[.TAP] [destination[.WAV |.RAW]] [options]
  628.  
  629.       /FREQ=f   Set output sampling frequency to f Hz (Default = 8180)
  630.       /PAUSE=x  Set pause between two blocks to x ms  (Default = 100)
  631.  
  632.    NOTE: To obtain the lowest frequency distorsion, output sampling
  633.          frequency should be N*4090 where N is an integer greater than 1.
  634.  
  635.  
  636.  
  637. 4.2. Saving a sample via music card
  638.  
  639.    The sample can be played back to tape, using a good sample player,
  640.    that doesn't make clicks when playing longer samples.
  641.  
  642.    When playing the sample back to tape, set TREBLE on your sound card to
  643.    zero, to reduce the peaks on the first edge that will appear, due to
  644.    the characteristics of the card.
  645.  
  646.  
  647.