|
Marsyas
0.6.0-alpha
|
Upsamples input by integer factor using chosen interpolation. Frame size is also increased by the same factor. More...
#include <Upsample.h>
Inherits MarSystem.
Public Member Functions | |
| MarSystem * | clone () const |
| void | myProcess (realvec &in, realvec &out) |
| Processes data. | |
| void | myUpdate (MarControlPtr sender) |
| Updates internal state due to a control change. | |
| Upsample (std::string name) | |
| ~Upsample () | |
Upsamples input by integer factor using chosen interpolation. Frame size is also increased by the same factor.
Upsamples a signal by a factor n so that `out[t]=in[n*t]`. Also runs some kind of interpolation to find out the value for unknown samples (see description of the **mrs_string/mode** control).
Controls:
Definition at line 44 of file Upsample.h.
| Upsample | ( | std::string | name | ) |
Definition at line 25 of file Upsample.cpp.
| ~Upsample | ( | ) |
Definition at line 30 of file Upsample.cpp.
Implements MarSystem.
Definition at line 35 of file Upsample.cpp.
Processes data.
| in | Input data to read. |
| out | Output data to write. |
Implement this method in subclass to define specific data processing.
Implements MarSystem.
Definition at line 62 of file Upsample.cpp.
| void myUpdate | ( | MarControlPtr | sender | ) | [virtual] |
Updates internal state due to a control change.
| sender | The control that triggered the update; more precisely, any control passed to the update() method - could be an invalid one. |
Implement this method in subclass to define specific response to control changes.
Reimplemented from MarSystem.
Definition at line 52 of file Upsample.cpp.
1.7.6.1