Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JASOscillator Struct Reference

#include <JASOscillator.h>

+ Collaboration diagram for JASOscillator:

Classes

struct  Data
 
struct  EffectParams
 
struct  Point
 

Public Types

enum  Target {
  TARGET_VOLUME , TARGET_PITCH , TARGET_PAN , TARGET_FXMIX ,
  TARGET_DOLBY , TARGET_5 , TARGET_6
}
 

Public Member Functions

 JASOscillator ()
 
void initStart (const Data *)
 
void incCounter (f32 param_0)
 
f32 getValue () const
 
void release ()
 
void update ()
 
void updateCurrentValue (f32 param_0)
 
void setDirectRelease (u16 param_0)
 
void stop ()
 
bool isValid ()
 
bool isStop ()
 
bool isRelease ()
 
u32 getTarget ()
 

Public Attributes

const DatamData
 
f32 _04
 
f32 _08
 
f32 _0C
 
f32 _10
 
u16 _14
 
u16 mDirectRelease
 
u8 _18
 
u16 _1A
 
int _1C
 

Static Public Attributes

static const f32 sCurveTableLinear [17]
 
static const f32 sCurveTableSampleCell [17]
 
static const f32 sCurveTableSqRoot [17]
 
static const f32 sCurveTableSquare [17]
 

Member Enumeration Documentation

◆ Target

Enumerator
TARGET_VOLUME 
TARGET_PITCH 
TARGET_PAN 
TARGET_FXMIX 
TARGET_DOLBY 
TARGET_5 
TARGET_6 

Constructor & Destructor Documentation

◆ JASOscillator()

JASOscillator::JASOscillator ( )

Member Function Documentation

◆ getTarget()

u32 JASOscillator::getTarget ( )
inline

◆ getValue()

f32 JASOscillator::getValue ( ) const

◆ incCounter()

void JASOscillator::incCounter ( f32  param_0)

◆ initStart()

void JASOscillator::initStart ( const Data data)

◆ isRelease()

bool JASOscillator::isRelease ( )
inline

◆ isStop()

bool JASOscillator::isStop ( )
inline

◆ isValid()

bool JASOscillator::isValid ( )
inline

◆ release()

void JASOscillator::release ( )

◆ setDirectRelease()

void JASOscillator::setDirectRelease ( u16  param_0)
inline

◆ stop()

void JASOscillator::stop ( )
inline

◆ update()

void JASOscillator::update ( )

◆ updateCurrentValue()

void JASOscillator::updateCurrentValue ( f32  param_0)

Member Data Documentation

◆ _04

f32 JASOscillator::_04

◆ _08

f32 JASOscillator::_08

◆ _0C

f32 JASOscillator::_0C

◆ _10

f32 JASOscillator::_10

◆ _14

u16 JASOscillator::_14

◆ _18

u8 JASOscillator::_18

◆ _1A

u16 JASOscillator::_1A

◆ _1C

int JASOscillator::_1C

◆ mData

const Data* JASOscillator::mData

◆ mDirectRelease

u16 JASOscillator::mDirectRelease

◆ sCurveTableLinear

f32 const JASOscillator::sCurveTableLinear
static
Initial value:
= {
1.0, 0.9375, 0.875, 0.8125, 0.75, 0.6875, 0.625, 0.5625, 0.5,
0.4375, 0.375, 0.3125, 0.25, 0.1875, 0.125, 0.0625, 0.0,
}

◆ sCurveTableSampleCell

f32 const JASOscillator::sCurveTableSampleCell
static
Initial value:
= {
1.0, 0.9704890251159668, 0.7812740206718445, 0.5462809801101685, 0.39979198575019836,
0.28931498527526855, 0.21210399270057678, 0.15747599303722382, 0.1126129999756813, 0.08178959786891937,
0.057985201478004456, 0.04364150017499924, 0.03082370012998581, 0.023712899535894394, 0.015259300358593464,
0.00915555004030466, 0.0
}

◆ sCurveTableSqRoot

f32 const JASOscillator::sCurveTableSqRoot
static
Initial value:
= {
1.0, 0.8789060115814209, 0.765625, 0.6601560115814209, 0.5625, 0.4726560115814209,
0.390625, 0.3164060115814209, 0.25, 0.1914059966802597, 0.140625, 0.09765619784593582,
0.0625, 0.03515620157122612, 0.015625, 0.00390625, 0.0
}

◆ sCurveTableSquare

f32 const JASOscillator::sCurveTableSquare
static
Initial value:
= {
1.0, 0.9682459831237793, 0.9354140162467957, 0.9013879895210266, 0.8660249710083008,
0.8291559815406799, 0.790569007396698, 0.75, 0.7071070075035095, 0.66143798828125,
0.6123719811439514, 0.55901700258255, 0.5, 0.433012992143631, 0.35355299711227417, 0.25, 0.0,
}

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