Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::timeline_editor::ScriptedProgram Struct Reference

What the caller scripts. Held by value inside the host's current program. More...

#include <scripted_ui_host.hpp>

Public Attributes

timebase::TickPosition position {}
std::uint64_t continuity_epoch = 0
 Scripted rather than counted by the host, because only whoever moves the position knows when it stopped moving continuously.
timebase::LoopRegion loop {}
UiTransportState state = UiTransportState::Stopped
double tempo_bpm = 120.0

Detailed Description

What the caller scripts. Held by value inside the host's current program.

Member Data Documentation

◆ continuity_epoch

std::uint64_t pulp::timeline_editor::ScriptedProgram::continuity_epoch = 0

Scripted rather than counted by the host, because only whoever moves the position knows when it stopped moving continuously.

A real host copies this from its transport; a caller scripting a loop wrap advances it by hand, which is how a view's interpolation can be driven over the break.

◆ loop

timebase::LoopRegion pulp::timeline_editor::ScriptedProgram::loop {}

◆ position

timebase::TickPosition pulp::timeline_editor::ScriptedProgram::position {}

◆ state

UiTransportState pulp::timeline_editor::ScriptedProgram::state = UiTransportState::Stopped

◆ tempo_bpm

double pulp::timeline_editor::ScriptedProgram::tempo_bpm = 120.0

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/timeline_editor/include/pulp/timeline_editor/scripted_ui_host.hpp