18 #ifndef INCLUDE_NCOF_H 19 #define INCLUDE_NCOF_H 27 TableSize = (1 << 12),
29 static Real m_table[TableSize+1];
33 static void initTable();
41 void setFreq(
Real freq,
Real sampleRate);
46 m_phase += m_phaseIncrement;
47 while(m_phase >= m_tableSizeLimit) {
50 while(m_phase < 0.0) {
58 Complex nextIQ(
float imbalance);
67 #endif // INCLUDE_NCO_H
static float m_tableSizeLimit
void setPhase(Real phase)
static bool m_tableInitialized
std::complex< Real > Complex