OM-SAMPLE

[GENERIC-FUNCTION]


OM 6.1
Function Reference
ARGUMENTS:
  - self object to resample  
  - sample-rate number of samples (int) or sample rate (float) [default = 1]
&optional
 
  - xmin  
  - xmax  
  - dec decimals  

Description:

Resamples a function, a list, a BPF or a BPC object.

Returns :
- The result as an object (BPF or BPC) (1st output)
- The list of x points (2nd output)
- The list of sample values (3rd output)

If <nbs-sr> is an integer (e.g. 100) it is interpreted as the number of samples to be returned
If <nbs-sr> is an float (e.g. 0.5, 1.0...) it is interpreted as the sample rate (or step between two samples) of the function to return

<xmin> and <xmax> allow to specify the x-range to resample.
<dec> (decimals) is the precision of the result