📄 tf_dsp.h
字号:
/* ###########################################################################
*
* ------ / / /\ / /--- ----- / ---- / /
* / / / / \ / /--- -/- / \-- /---/
* / \--- / / /--- / / ----/ / /
*
* t i n y m u s i c s y n t h e s i z e r
*
* Copyright 2004, Christian Loos
* snej@braincontrol.org
*
* ########################################################################### */
#ifndef TUNEFISH_DSP_H
#define TUNEFISH_DSP_H
const int DSP_NONE = 0;
const int DSP_XDELAY = 1;
const int DSP_REVERB = 2;
const int DSP_CHORUS = 3;
const int DSP_PHASER = 4;
const int DSP_DISTORT = 5;
const int DSP_WAVESHAPER = 6;
const int DSP_EQ = 7;
const int DSP_LOWPASS = 8;
const int DSP_GAIN = 9;
const int DSP_SURROUND = 10;
const int DSP_GAPPER = 11;
const int DSP_HIGHPASS = 12;
const int DSP_BANDPASS = 13;
class DSP
{
public:
DSP(Synth *synth, double *dblEffects, double ticklength);
~DSP();
// ---------------------------------------------------------------
// Variables
// ---------------------------------------------------------------
BYTE m_bNumFilters;
Filter ** m_Filters;
BYTE m_bNumSources;
float ** m_Sources;
BYTE * m_Data;
Synth * m_Synth;
// ---------------------------------------------------------------
// Functions
// ---------------------------------------------------------------
void process();
void fft(float *fftBuffer, SDWORD fftFrameSize, SDWORD sign);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -