# RESAMPLE

Jump to navigation
Jump to search

## Contents

#### RESAMPLE - a general sampling rate converter

##### Usage:

`RESAMPLE `

`WI` `WO` `M` `WND` `NIO` `NBL` `FL` `FU` `DAMP` `ORDER` OUT `LI` `LO` `LR` `LW` `PP`

##### Inputs:

`WI`

- The mono input wave item.

`WO`

- The mono output wave item.

`M`

- The number of filter coefficients. If
`0`

is specified, the number of coefficients is automatically selected.

`WND`

- The filter window. The following values are supported:

`0`

- no window

`1`

- hanning window

`NBL`

- The number of input samples per evaluation step.

`FL`

- The lower cutoff for the input bandpass filter.

`FU`

- The upper cutoff for the input bandpass filter.

`DAMP`

- The damping for the input bandpass filter (in dB). The default is 60.

`ORDER`

- The order for the input bandpass filter. The default is
`4`

.

##### Outputs:

`LI`

- The number of input samples.

`LO`

- The number of output samples.

`LR`

- The number of read input samples.

`LW`

- The number of written output samples.

`PP`

- The percent of written output samples.

##### Function:

The `RESAMPLE`

atom is a general sampling rate converter.