A real-time variably resampled view on a buffer, that wraps around. Capable of producing a batched, resampled slice of audio.
- See also
- AudioFile
More...
#include <resampling.h>
|
| | RealSourceResampler (umatrix< const T > data) |
| | Construct the resampler from a umatrix More...
|
| |
| umatrix< const T > | produce (std::size_t frames, double factor=1) |
| | Produce the next buffer of samples. More...
|
| |
| template<typename Func > |
| auto | produce (std::size_t frames, Func &&f, double factor=1) |
| | Produce a buffer with a inlined callback for each frame with the following signature: void(size_t frameNumber, const std::vector<T>& channelValues); More...
|
| |
template<typename T>
class ape::RealSourceResampler< T >
A real-time variably resampled view on a buffer, that wraps around. Capable of producing a batched, resampled slice of audio.
- See also
- AudioFile
◆ RealSourceResampler()
Construct the resampler from a umatrix
◆ produce() [1/2]
Produce the next buffer of samples.
- Parameters
-
| frames | How many samples to produce |
| factor | The resampling factor |
◆ produce() [2/2]
template<typename T >
template<typename Func >
Produce a buffer with a inlined callback for each frame with the following signature: void(size_t frameNumber, const std::vector<T>& channelValues);
The documentation for this class was generated from the following file: