Struct thl::dsp::granular::Grain#

struct Grain#

Public Functions

inline float phase() const#
inline float source_position() const#

Public Members

size_t m_start_position = {0}#
size_t m_current_position = {0}#
size_t m_grain_size = {1}#
float m_velocity = {1.0f}#
float m_position_spread = {0.5f}#
bool m_active = {false}#
size_t m_sample_index = {0}#
float m_gain_left = {0.5f}#
float m_gain_right = {0.5f}#
float m_window_shape = {4.0f}#
float m_window_tilt = {0.0f}#