


RESAMP(1)                USER COMMANDS                  RESAMP(1)



NAME
     resamp - resample waveform to new rate

SYNOPSIS
     resamp (-I) (-i item) (-F) (-f new_sampfreq) file

DESCRIPTION
     resamp returns a new item sampled at a different  frequency.
     The new and old sampling rates should be related by a simple
     rational number.   The  sampling  rate  change  is  done  in
     stages,  each  stage  involves going up n times in frequency
     and down d times. n and d are  determined  automatically  at
     each stage. Filtering may be done using

     1) IIR elliptic filters with passband  ripple  and  stopband
     attenuation of 0.2db and approx 80db respectively.(default)

     2) or FIR filters with passband ripple and stopband attenua-
     tion  of 0.2db and approx 70db respectively. (-F flag has to
     be used)

     Options and their meanings are:

     -I         Identify program and exit.

     -iitem     Select input item type and subtype.

     -fnew_sampfreq
                Specify integer sampling rate in Hz.

     -F         Use FIR filters instead of IIR.

NOTE
     The new sampling rate should always be  different  from  the
     old.   If the new sampling rate results in very large inter-
     polation or decimation factors, the filters designed by this
     program  will  be almost unstable if IIR.  Arithmetic errors
     would then cause problems.

     If FIR these filters might not have been designed.

INPUT ITEMS
     1.xx       2.xx   Any waveform item

OUTPUT ITEMS
     1.         2.     The same item as input

VERSION/AUTHOR
     1.1 -  K Frimpong-Ansah (17/3/87)
     2.0 - Mark Huckvale





SFS                     Last change: GEC                        1






RESAMP(1)                USER COMMANDS                  RESAMP(1)



SOURCE
     /ptemp/mark/sfs/util/resamp.c





















































SFS                     Last change: GEC                        2



