Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
sbl::dsp::PhaseWalk::Segment Struct Reference

One part of a frame: the phase moving linearly from start to end plus wraps cycles. More...

Detailed Description

One part of a frame: the phase moving linearly from start to end plus wraps cycles.

Definition at line 75 of file phase_walk.hpp.

#include <phase_walk.hpp>

Public Attributes

float start
 
float end
 
int wraps
 
float part
 
float before
 
float through
 
bool last
 

Member Data Documentation

◆ start

float sbl::dsp::PhaseWalk::Segment::start

the phase at the part's start, in [0, 1)

Definition at line 76 of file phase_walk.hpp.

Referenced by sbl::dsp::PhaseWalk::crossings(), and sbl::dsp::PhaseWalk::frame().

◆ end

float sbl::dsp::PhaseWalk::Segment::end

the phase at its end, in [0, 1)

Definition at line 77 of file phase_walk.hpp.

Referenced by sbl::dsp::PhaseWalk::crossings().

◆ wraps

int sbl::dsp::PhaseWalk::Segment::wraps

whole cycles between them: the motion is end + wraps - start; in [-2, 2]

Definition at line 78 of file phase_walk.hpp.

Referenced by sbl::dsp::PhaseWalk::crossings().

◆ part

float sbl::dsp::PhaseWalk::Segment::part

the part's share of the frame, 1 / SUBSTEPS

Definition at line 79 of file phase_walk.hpp.

◆ before

float sbl::dsp::PhaseWalk::Segment::before

the share of the frame after the part

Definition at line 80 of file phase_walk.hpp.

◆ through

float sbl::dsp::PhaseWalk::Segment::through

the share of the frame up to the part's end

Definition at line 81 of file phase_walk.hpp.

Referenced by sbl::dsp::PhaseSaw< Kernel >::process(), and sbl::dsp::PhasePulse< Kernel >::process().

◆ last

bool sbl::dsp::PhaseWalk::Segment::last

the frame's last part, which ends on the frame's phase and offset

Definition at line 82 of file phase_walk.hpp.

Referenced by sbl::dsp::PhaseSaw< Kernel >::process(), and sbl::dsp::PhasePulse< Kernel >::process().


The documentation for this struct was generated from the following file: