#include <DelaySamples.h>
Inherits Marsyas::MarSystem.
Public Member Functions | |
| MarSystem * | clone () const |
| Implementation of the MarSystem::clone() method. | |
| DelaySamples (const DelaySamples &a) | |
| DelaySamples copy constructor. | |
| DelaySamples (std::string name) | |
| DelaySamples constructor. | |
| void | myProcess (realvec &in, realvec &out) |
| Implementation of the MarSystem::myProcess method. | |
| ~DelaySamples () | |
| DelaySamples destructor. | |
Private Member Functions | |
| void | addControls () |
| Add specific controls needed by this MarSystem. | |
| void | myUpdate (MarControlPtr sender) |
| Reads changed controls and sets up variables if necessary. | |
Private Attributes | |
| MarControlPtr | ctrl_delay_ |
| MarControlPtr for the gain control. | |
| mrs_natural | delay_ |
| Cache of the delay. | |
| realvec | memory_ |
| Buffers of previous samples. | |
This is MarSystem is similar to
This MarSystem works across slices and with delays larger than the window size.
Controls:
Definition at line 44 of file DelaySamples.h.
| DelaySamples | ( | std::string | name | ) |
DelaySamples constructor.
Add any specific controls needed by this MarSystem.
Definition at line 25 of file DelaySamples.cpp.
References DelaySamples::addControls().
Referenced by DelaySamples::clone().
| DelaySamples | ( | const DelaySamples & | a | ) |
DelaySamples copy constructor.
All member MarControlPtr have to be explicitly reassigned in the copy constructor.
Definition at line 32 of file DelaySamples.cpp.
References DelaySamples::ctrl_delay_.
| void addControls | ( | ) | [private] |
Add specific controls needed by this MarSystem.
Add any specific controls needed by this MarSystem.
Reimplemented from MarSystem.
Definition at line 51 of file DelaySamples.cpp.
References DelaySamples::ctrl_delay_.
Referenced by DelaySamples::DelaySamples().
| void myUpdate | ( | MarControlPtr | sender | ) | [private, virtual] |
Reads changed controls and sets up variables if necessary.
Use the default MarSystem setup with equal input/output stream format.
Reimplemented from MarSystem.
Definition at line 57 of file DelaySamples.cpp.
References DelaySamples::ctrl_delay_, DelaySamples::delay_, DelaySamples::memory_, Marsyas::obsNamesAddPrefix(), realvec::setval(), and realvec::stretch().
1.5.6