Skip to content

Commit

Permalink
improved table format
Browse files Browse the repository at this point in the history
  • Loading branch information
raphywink committed Nov 17, 2014
1 parent 2a43fea commit 98a026e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
17 changes: 10 additions & 7 deletions R/affilter.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
##' Filters the audio signal in <listOfFiles>.
##' By specifying the high-pass and/or low-pass cut-off
##' frequency one of four filter characteristics may be
##' selected as shown in the table below.\cr
##' hp lp filter characteristic extension\cr
##' -------------------------------------------------------\cr
##' > 0 [0] high-pass from hp '.hpf'\cr
##' [0] > 0 low-pass up to lp '.lpf'\cr
##' > 0 > hp band-pass from hp to lp '.bpf'\cr
##' > lp > 0 band-stop between lp and hp '.bsf'\cr
##' selected as shown in the table below.
##'
##' \tabular{ccll}{
##' \strong{hp} \tab \strong{lp} \tab \strong{filter characteristic} \tab \strong{extension}\cr
##' > 0 \tab [0] \tab high-pass from hp \tab '.hpf'\cr
##' [0] \tab > 0 \tab low-pass up to lp \tab '.lpf'\cr
##' > 0 \tab > hp \tab band-pass from hp to lp \tab '.bpf'\cr
##' > lp \tab > 0 \tab band-stop between lp and hp \tab '.bsf'\cr
##' }
##'
##' The Kaiser-window design method is used to compute the
##' coefficients of a linear-phase FIR filter with unity gain
##' in the pass-band. The cut-off frequencies (-6 dB points)
Expand Down
17 changes: 10 additions & 7 deletions man/affilter.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,16 @@ affilter function adapted from libassp
Filters the audio signal in <listOfFiles>.
By specifying the high-pass and/or low-pass cut-off
frequency one of four filter characteristics may be
selected as shown in the table below.\cr
hp lp filter characteristic extension\cr
-------------------------------------------------------\cr
> 0 [0] high-pass from hp '.hpf'\cr
[0] > 0 low-pass up to lp '.lpf'\cr
> 0 > hp band-pass from hp to lp '.bpf'\cr
> lp > 0 band-stop between lp and hp '.bsf'\cr
selected as shown in the table below.

\tabular{ccll}{
\strong{hp} \tab \strong{lp} \tab \strong{filter characteristic} \tab \strong{extension}\cr
> 0 \tab [0] \tab high-pass from hp \tab '.hpf'\cr
[0] \tab > 0 \tab low-pass up to lp \tab '.lpf'\cr
> 0 \tab > hp \tab band-pass from hp to lp \tab '.bpf'\cr
> lp \tab > 0 \tab band-stop between lp and hp \tab '.bsf'\cr
}

The Kaiser-window design method is used to compute the
coefficients of a linear-phase FIR filter with unity gain
in the pass-band. The cut-off frequencies (-6 dB points)
Expand Down

0 comments on commit 98a026e

Please sign in to comment.