#include <pitsync1.h>
Definition at line 32 of file pitsync1.h.
◆ FPSEGPT() [1/4]
◆ FPSEGPT() [2/4]
FPSEGPT::FPSEGPT |
( |
inT16 |
x | ) |
|
◆ FPSEGPT() [3/4]
Definition at line 88 of file pitsync1.cpp.
104 FPSEGPT_IT pred_it = prev_list;
112 for (pred_it.mark_cycle_pt (); !pred_it.cycled_list (); pred_it.forward ()) {
113 segpt = pred_it.data ();
116 dist = x - segpt->xpos;
117 if (dist >= pitch - pitch_error && dist <= pitch + pitch_error
119 total = segpt->mean_sum + dist;
120 sq_dist = dist * dist + segpt->sq_sum + offset * offset;
122 mean = total / region_index;
123 factor = mean - pitch;
125 factor += sq_dist / (region_index) - mean * mean;
◆ FPSEGPT() [4/4]
FPSEGPT::FPSEGPT |
( |
FPCUTPT * |
cutpt | ) |
|
◆ cheap_cuts()
inT16 FPSEGPT::cheap_cuts |
( |
| ) |
const |
|
inline |
◆ cost_function()
double FPSEGPT::cost_function |
( |
| ) |
|
|
inline |
◆ position()
inT32 FPSEGPT::position |
( |
| ) |
|
|
inline |
◆ previous()
◆ squares()
double FPSEGPT::squares |
( |
| ) |
|
|
inline |
◆ sum()
◆ fake_count
inT16 FPSEGPT::fake_count |
◆ faked
◆ terminal
The documentation for this class was generated from the following files: