|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kakshya::CursorAccessProcessor::set_time_map | ( | const std::shared_ptr< const Kinesis::TimeMap > & | map | ) |
Drive the read position from a function of time instead of speed.
The map takes seconds since the last reset() and returns a source position in frames, read with linear interpolation. Reverse, scrubbing and a fixed position are all valid. Speed and loop count are ignored while a map is set. Positions outside the loop region wrap if looping, otherwise the voice ends. A different map restarts its clock at zero.
| map | Time map, or null to go back to speed based reading. |
Definition at line 248 of file CursorAccessProcessor.cpp.
References m_clock_frames, m_repeat_length, m_repeat_start, and m_time_map.