Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

snd_fx.cpp File Reference

#include "stdafx.h"
#include "sndfile.h"

Include dependency graph for snd_fx.cpp:

Go to the source code of this file.

Variables

const BYTE ImpulseTrackerPortaVolCmd [16]
const WORD S3MFineTuneTable [16]
const WORD ProTrackerPeriodTable [6 *12]
const WORD ProTrackerTunedPeriods [15 *12]
const WORD FreqS3MTable []
const WORD XMPeriodTable [96+8]
const UINT XMLinearTable [768]
const DWORD FineLinearSlideUpTable [16]
const DWORD FineLinearSlideDownTable [16]
const DWORD LinearSlideUpTable [256]
const DWORD LinearSlideDownTable [256]
const signed char retrigTable1 [16]
const signed char retrigTable2 [16]
const short int ModRandomTable [64]


Variable Documentation

const DWORD FineLinearSlideDownTable
 

Initial value:

{
        65535, 65477, 65418, 65359, 65300, 65241, 65182, 65123,
        65065, 65006, 64947, 64888, 64830, 64772, 64713, 64645
}

Definition at line 278 of file tables.cpp.

Referenced by CSoundFile::ExtraFinePortamentoUp(), and CSoundFile::ReadNote().

const DWORD FineLinearSlideUpTable
 

Initial value:

{
        65536, 65595, 65654, 65714,     65773, 65832, 65892, 65951,
        66011, 66071, 66130, 66190, 66250, 66309, 66369, 66429
}

Definition at line 270 of file tables.cpp.

Referenced by CSoundFile::ExtraFinePortamentoDown(), and CSoundFile::ReadNote().

const WORD FreqS3MTable
 

Initial value:

 
{
        1712,1616,1524,1440,1356,1280,
        1208,1140,1076,1016,960,907,
        0,0,0,0
}

Definition at line 60 of file tables.cpp.

Referenced by CSoundFile::GetPeriodFromNote().

const BYTE ImpulseTrackerPortaVolCmd
 

Initial value:

{
        0x00, 0x01, 0x04, 0x08, 0x10, 0x20, 0x40, 0x60,
        0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
}

Definition at line 17 of file tables.cpp.

const DWORD LinearSlideDownTable
 

Definition at line 324 of file tables.cpp.

Referenced by CSoundFile::DoFreqSlide(), CSoundFile::FinePortamentoUp(), CSoundFile::ReadNote(), and CSoundFile::TonePortamento().

const DWORD LinearSlideUpTable
 

Definition at line 286 of file tables.cpp.

Referenced by CSoundFile::DoFreqSlide(), CSoundFile::FinePortamentoDown(), CSoundFile::ReadNote(), and CSoundFile::TonePortamento().

const short int ModRandomTable
 

Initial value:

{
        98,-127,-43,88,102,41,-65,-94,125,20,-71,-86,-70,-32,-16,-96,
        17,72,107,-5,116,-69,-62,-40,10,-61,65,109,-18,-38,-13,-76,
        -23,88,21,-94,8,106,21,-112,6,109,20,-88,-30,9,-127,118,
        42,-34,89,-4,-51,-72,21,-29,112,123,84,-101,-92,98,-54,-95
}

Definition at line 109 of file tables.cpp.

Referenced by CSoundFile::ReadNote().

const WORD ProTrackerPeriodTable[6 *12]
 

const WORD ProTrackerTunedPeriods
 

Initial value:

 
{
        1712,1616,1524,1440,1356,1280,1208,1140,1076,1016,960,907,
        1700,1604,1514,1430,1348,1274,1202,1134,1070,1010,954,900,
        1688,1592,1504,1418,1340,1264,1194,1126,1064,1004,948,894,
        1676,1582,1492,1408,1330,1256,1184,1118,1056,996,940,888,
        1664,1570,1482,1398,1320,1246,1176,1110,1048,990,934,882,
        1652,1558,1472,1388,1310,1238,1168,1102,1040,982,926,874,
        1640,1548,1460,1378,1302,1228,1160,1094,1032,974,920,868,
        1628,1536,1450,1368,1292,1220,1150,1086,1026,968,914,862,
        1814,1712,1616,1524,1440,1356,1280,1208,1140,1076,1016,960,
        1800,1700,1604,1514,1430,1350,1272,1202,1134,1070,1010,954,
        1788,1688,1592,1504,1418,1340,1264,1194,1126,1064,1004,948,
        1774,1676,1582,1492,1408,1330,1256,1184,1118,1056,996,940,
        1762,1664,1570,1482,1398,1320,1246,1176,1110,1048,988,934,
        1750,1652,1558,1472,1388,1310,1238,1168,1102,1040,982,926,
        1736,1640,1548,1460,1378,1302,1228,1160,1094,1032,974,920,
        1724,1628,1536,1450,1368,1292,1220,1150,1086,1026,968,914 
}

Definition at line 37 of file tables.cpp.

Referenced by CSoundFile::GetPeriodFromNote().

const signed char retrigTable1
 

Initial value:

{ 0, 0, 0, 0, 0, 0, 10, 8, 0, 0, 0, 0, 0, 0, 24, 32 }

Definition at line 120 of file tables.cpp.

Referenced by CSoundFile::RetrigNote().

const signed char retrigTable2
 

Initial value:

{ 0, -1, -2, -4, -8, -16, 0, 0, 0, 1, 2, 4, 8, 16, 0, 0 }

Definition at line 124 of file tables.cpp.

Referenced by CSoundFile::RetrigNote().

const WORD S3MFineTuneTable[16]
 

const UINT XMLinearTable
 

Definition at line 144 of file tables.cpp.

Referenced by CSoundFile::GetFreqFromPeriod().

const WORD XMPeriodTable
 

Initial value:

 
{
        907,900,894,887,881,875,868,862,856,850,844,838,832,826,820,814,
        808,802,796,791,785,779,774,768,762,757,752,746,741,736,730,725,
        720,715,709,704,699,694,689,684,678,675,670,665,660,655,651,646,
        640,636,632,628,623,619,614,610,604,601,597,592,588,584,580,575,
        570,567,563,559,555,551,547,543,538,535,532,528,524,520,516,513,
        508,505,502,498,494,491,487,484,480,477,474,470,467,463,460,457,
        453,450,447,443,440,437,434,431
}

Definition at line 131 of file tables.cpp.

Referenced by CSoundFile::GetPeriodFromNote().


Generated on Sat Nov 5 16:25:32 2005 for OPIE by  doxygen 1.4.2