#include <Resampler.h>
Public Member Functions | |
| Resampler (double sampleInterval) | |
| Construct a new Resampler using the specified sampling interval. | |
| void | resample (Partial &p) const |
| is performed in-place. | |
| void | operator() (Partial &p) const |
| Function call operator: same as resample( p ). | |
| template<typename Iter> void | resample (Iter begin, Iter end) const |
| Resample all Partials in the specified (half-open) range using this Resampler's stored sampling interval, so that the Breakpoints in the Partial envelopes will all lie on a common temporal grid. | |
| template<typename Iter> void | operator() (Iter begin, Iter end) const |
| Function call operator: same as resample( begin, end ). | |
Static Public Member Functions | |
| template<typename Iter> void | resample (Iter begin, Iter end, double sampleInterval) |
| Static member that constructs an instance and applies it to a sequence of Partials. | |
Resampling makes the envelope data more suitable for exchange (as SDIF data, for example) with other applications that cannot process raw (continuously-distributed) reassigned data. Resampling will often greatly reduce the size of the data (by greatly reducing the number of Breakpoints in the Partials) without adversely affecting the quality of the reconstruction.
|
|
Construct a new Resampler using the specified sampling interval.
|
|
||||||||||||||||||||
|
Static member that constructs an instance and applies it to a sequence of Partials. Construct a Resampler using the specified resampling interval, and use it to channelize a sequence of Partials.
|
|
||||||||||||||||
|
Resample all Partials in the specified (half-open) range using this Resampler's stored sampling interval, so that the Breakpoints in the Partial envelopes will all lie on a common temporal grid. The Breakpoint times in the resampled Partial will comprise a contiguous sequence of integer multiples of the sampling interval, beginning with the multiple nearest to the Partial's start time and ending with the multiple nearest to the Partial's end time. Resampling is performed in-place.
|
|
|
is performed in-place.
|
1.3.4