openMSX
Namespaces | Functions | Variables
YM2413Burczynski.cc File Reference
#include "YM2413Burczynski.hh"
#include "Math.hh"
#include "cstd.hh"
#include "serialize.hh"
#include <array>
#include <cstring>
#include <iostream>
Include dependency graph for YM2413Burczynski.cc:

Go to the source code of this file.

Namespaces

 openmsx
 This file implemented 3 utility functions:
 
 openmsx::YM2413Burczynski
 

Functions

 openmsx::SERIALIZE_ENUM (YM2413Burczynski::Slot::EnvelopeState, envelopeStateInfo)
 
 openmsx::REGISTER_POLYMORPHIC_INITIALIZER (YM2413Core, YM2413, "YM2413-Jarek-Burczynski")
 

Variables

constexpr int openmsx::YM2413Burczynski::ENV_BITS = 10
 
constexpr double openmsx::YM2413Burczynski::ENV_STEP = 128.0 / (1 << ENV_BITS)
 
constexpr int openmsx::YM2413Burczynski::MAX_ATT_INDEX = (1 << (ENV_BITS - 2)) - 1
 
constexpr int openmsx::YM2413Burczynski::MIN_ATT_INDEX = 0
 
constexpr int openmsx::YM2413Burczynski::SIN_BITS = 10
 
constexpr int openmsx::YM2413Burczynski::SIN_LEN = 1 << SIN_BITS
 
constexpr int openmsx::YM2413Burczynski::SIN_MASK = SIN_LEN - 1
 
constexpr int openmsx::YM2413Burczynski::TL_RES_LEN = 256
 
constexpr int openmsx::YM2413Burczynski::ksl_tab [8 *16]
 
constexpr int openmsx::YM2413Burczynski::sl_tab [16]
 
constexpr uint8_t openmsx::YM2413Burczynski::eg_inc [15][8]
 
constexpr uint8_t openmsx::YM2413Burczynski::eg_rate_select [16+64+16]
 
constexpr uint8_t openmsx::YM2413Burczynski::eg_rate_shift [16+64+16]
 
constexpr uint8_t openmsx::YM2413Burczynski::mul_tab [16]
 
constexpr int openmsx::YM2413Burczynski::TL_TAB_LEN = 11 * 2 * TL_RES_LEN
 
constexpr auto openmsx::YM2413Burczynski::tlTab
 
constexpr auto openmsx::YM2413Burczynski::sinTab
 
constexpr int openmsx::YM2413Burczynski::LFO_AM_TAB_ELEMENTS = 210
 
constexpr uint8_t openmsx::YM2413Burczynski::lfo_am_table [LFO_AM_TAB_ELEMENTS]
 
constexpr signed char openmsx::YM2413Burczynski::lfo_pm_table [8][8]
 
constexpr uint8_t openmsx::YM2413Burczynski::table [16+3][8]