Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
synpitch.cpp File Reference

Functions

f32 __HBMSYNGetRelativePitch (HBMSYNVOICE *voice)
 
void __HBMSYNSetupPitch (HBMSYNVOICE *voice)
 
void __HBMSYNSetupSrc (HBMSYNVOICE *voice)
 
void __HBMSYNUpdateSrc (HBMSYNVOICE *voice)
 

Variables

static f32 __HBMSYNCentsTable [100]
 
static f32 __HBMSYNOctavesTableUp [12]
 
static f32 __HBMSYNSemitonesTableUp [12]
 
static f32 __HBMSYNSemitonesTableDown [128]
 

Function Documentation

◆ __HBMSYNGetRelativePitch()

f32 __HBMSYNGetRelativePitch ( HBMSYNVOICE * voice)

◆ __HBMSYNSetupPitch()

void __HBMSYNSetupPitch ( HBMSYNVOICE * voice)

◆ __HBMSYNSetupSrc()

void __HBMSYNSetupSrc ( HBMSYNVOICE * voice)

◆ __HBMSYNUpdateSrc()

void __HBMSYNUpdateSrc ( HBMSYNVOICE * voice)

Variable Documentation

◆ __HBMSYNCentsTable

f32 __HBMSYNCentsTable[100]
static
Initial value:
=
{
1.0f, 1.000578f, 1.001156f, 1.001734f,
1.002313f, 1.002892f, 1.003472f, 1.004052f,
1.004632f, 1.005212f, 1.005793f, 1.006374f,
1.006956f, 1.007537f, 1.00812f, 1.008702f,
1.009285f, 1.009868f, 1.010451f, 1.011035f,
1.011619f, 1.012204f, 1.012789f, 1.013374f,
1.013959f, 1.014545f, 1.015132f, 1.015718f,
1.016305f, 1.016892f, 1.01748f, 1.018068f,
1.018656f, 1.019244f, 1.019833f, 1.020423f,
1.021012f, 1.021602f, 1.022192f, 1.022783f,
1.023374f, 1.023965f, 1.024557f, 1.025149f,
1.025741f, 1.026334f, 1.026927f, 1.02752f,
1.028114f, 1.028708f, 1.029302f, 1.029897f,
1.030492f, 1.031087f, 1.031683f, 1.032279f,
1.032876f, 1.033472f, 1.03407f, 1.034667f,
1.035265f, 1.035863f, 1.036462f, 1.03706f,
1.03766f, 1.038259f, 1.038859f, 1.039459f,
1.04006f, 1.040661f, 1.041262f, 1.041864f,
1.042466f, 1.043068f, 1.043671f, 1.044274f,
1.044877f, 1.045481f, 1.046085f, 1.046689f,
1.047294f, 1.047899f, 1.048505f, 1.049111f,
1.049717f, 1.050323f, 1.05093f, 1.051537f,
1.052145f, 1.052753f, 1.053361f, 1.05397f,
1.054579f, 1.055188f, 1.055798f, 1.056408f,
1.057018f, 1.057629f, 1.05824f, 1.058851f
}

◆ __HBMSYNOctavesTableUp

f32 __HBMSYNOctavesTableUp[12]
static
Initial value:
=
{
1.0f,
2.0f,
4.0f,
8.0f,
16.0f,
32.0f,
64.0f,
128.0f,
256.0f,
512.0f,
1024.0f,
2048.0f
}

◆ __HBMSYNSemitonesTableDown

f32 __HBMSYNSemitonesTableDown[128]
static

◆ __HBMSYNSemitonesTableUp

f32 __HBMSYNSemitonesTableUp[12]
static
Initial value:
=
{
1.0f,
1.059463f,
1.122462f,
1.189207f,
1.259921f,
1.33484f,
1.414214f,
1.498307f,
1.587401f,
1.681793f,
1.781797f,
1.887749f
}