winamp/Src/external_dependencies/openmpt-trunk/soundlib/Tables.h
2024-09-24 14:54:57 +02:00

47 lines
1.4 KiB
C

/*
* Tables.h
* --------
* Purpose: Effect, interpolation, data and other pre-calculated tables.
* Notes : (currently none)
* Authors: Olivier Lapicque
* OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#pragma once
#include "openmpt/all/BuildSettings.hpp"
OPENMPT_NAMESPACE_BEGIN
// Compute Bessel function Izero(y) using a series approximation
double Izero(double y);
extern const mpt::uchar NoteNamesSharp[12][4];
extern const mpt::uchar NoteNamesFlat[12][4];
extern const uint8 ImpulseTrackerPortaVolCmd[16];
extern const uint16 ProTrackerPeriodTable[7*12];
extern const uint16 ProTrackerTunedPeriods[16*12];
extern const uint8 ModEFxTable[16];
extern const uint16 FreqS3MTable[12];
extern const uint16 S3MFineTuneTable[16];
extern const int8 ModSinusTable[64];
extern const int8 ModRandomTable[64];
extern const int8 ITSinusTable[256];
extern const int8 retrigTable1[16];
extern const int8 retrigTable2[16];
extern const uint16 XMPeriodTable[104];
extern const uint32 XMLinearTable[768];
extern const uint32 FineLinearSlideUpTable[16];
extern const uint32 FineLinearSlideDownTable[16];
extern const uint32 LinearSlideUpTable[256];
extern const uint32 LinearSlideDownTable[256];
extern const uint16 XMPanningTable[256];
extern const uint8 AutoVibratoIT2XM[8];
extern const uint8 AutoVibratoXM2IT[8];
OPENMPT_NAMESPACE_END