The delay of a tape moved by a transport with inertia, wow and flutter.
More...
#include <TapeTransport.h>
|
| void | prepare (double sampleRate, double nominalSamples, double ips, const Settings &settings=Settings {}) noexcept |
| | Sets the rate, the head distance (as a delay at the nominal speed), the nominal speed and the constants; resets.
|
| |
| void | reset () noexcept |
| | Speed at nominal, delay at the head distance, phases and noise from the start.
|
| |
| void | setSpeed (double ips) noexcept |
| | A new nominal speed: the tape glides to it from the speed it has.
|
| |
| void | setSpeedNow (double ips) noexcept |
| | A new nominal speed, taken at once (no glide).
|
| |
| void | setTargetDelay (double samples) noexcept |
| | A delay to glide to, in samples: the speed nominal / samples, reached with the transport's inertia (the head distance stays).
|
| |
| void | setTargetDelayNow (double samples) noexcept |
| | A delay taken at once: the speed and the delay jump to it.
|
| |
| void | setLimits (double lo, double hi) noexcept |
| | The range the delay stays in, in samples (default from 3 up).
|
| |
| void | syncDelay (double samples) noexcept |
| | Starts the delay from a value (switching in from another reader).
|
| |
| double | getDelay () const noexcept |
| |
| double | getNominal () const noexcept |
| |
| double | getSpeedRatio () const noexcept |
| |
| double | next (double depth) noexcept |
| | The delay for the next sample.
|
| |
template<FloatType T>
class dspark::TapeTransport< T >
The delay of a tape moved by a transport with inertia, wow and flutter.
- Template Parameters
-
| T | Sample type of the owner (the state is double). |
Definition at line 56 of file TapeTransport.h.
◆ getDelay()
◆ getNominal()
◆ getSpeedRatio()
◆ next()
The delay for the next sample.
- Parameters
-
| depth | Depth of the deviation, 0 to 1 (the transport keeps moving at 0). |
Definition at line 174 of file TapeTransport.h.
◆ prepare()
Sets the rate, the head distance (as a delay at the nominal speed), the nominal speed and the constants; resets.
- Parameters
-
| sampleRate | Rate in hertz (invalid values are ignored). |
| nominalSamples | The delay at the nominal speed, in samples. |
| ips | Nominal speed, inches per second. |
| settings | The constants. |
Definition at line 81 of file TapeTransport.h.
◆ reset()
Speed at nominal, delay at the head distance, phases and noise from the start.
Definition at line 109 of file TapeTransport.h.
◆ setLimits()
The range the delay stays in, in samples (default from 3 up).
Definition at line 156 of file TapeTransport.h.
◆ setSpeed()
A new nominal speed: the tape glides to it from the speed it has.
Definition at line 121 of file TapeTransport.h.
◆ setSpeedNow()
A new nominal speed, taken at once (no glide).
Definition at line 129 of file TapeTransport.h.
◆ setTargetDelay()
A delay to glide to, in samples: the speed nominal / samples, reached with the transport's inertia (the head distance stays).
Definition at line 140 of file TapeTransport.h.
◆ setTargetDelayNow()
A delay taken at once: the speed and the delay jump to it.
Definition at line 147 of file TapeTransport.h.
◆ syncDelay()
Starts the delay from a value (switching in from another reader).
Definition at line 164 of file TapeTransport.h.
The documentation for this class was generated from the following file: