Struct thl::dsp::sampler::PlayerSettings#

struct PlayerSettings#

Tuning of a SamplePlayer, fixed at prepare().

Public Members

float m_crossfade_seconds = {0.010f}#

Crossfade at a loop wrap, a source switch, a retrigger (seconds).

A loop wrap shortens it to at most half the loop body.

float m_min_loop_seconds = {0.002f}#

Shortest Start -> End span and loop body (seconds).

float m_snap_radius_seconds = {0.005f}#

How far snap moves a marker to reach a zero crossing (seconds).

float m_min_speed = {0.01f}#

Playback-rate bounds; set_speed() is clamped into them.

float m_max_speed = {8.0f}#