wavelength 1.0.0
Loading...
Searching...
No Matches
vibrato.h
Go to the documentation of this file.
1#pragma once
2
10class Vibrato {
11public:
12 static constexpr int kCycleTicks = 200;
13
23 static int GetFast(int tick, int phase);
24
34 static int GetSlow(int tick, int phase);
35
45 static int GetRectified(int tick, int phase);
46};
Pitch offset tables a voice's vibrato reads, one entry per tick over a 200-tick cycle.
Definition vibrato.h:10
static int GetSlow(int tick, int phase)
Read the slow table.
static constexpr int kCycleTicks
Definition vibrato.h:12
static int GetRectified(int tick, int phase)
Read the rectified table.
static int GetFast(int tick, int phase)
Read the fast table.