SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <cwkeyer.h>
Public Member Functions | |
CWSmoother () | |
~CWSmoother () | |
void | setNbFadeSamples (unsigned int nbFadeSamples) |
bool | getFadeSample (bool on, float &sample) |
Private Attributes | |
QMutex | m_mutex |
unsigned int | m_fadeInCounter |
unsigned int | m_fadeOutCounter |
unsigned int | m_nbFadeSamples |
float * | m_fadeInSamples |
float * | m_fadeOutSamples |
Ancillary class to smooth out CW transitions with a sine shape
CWSmoother::CWSmoother | ( | ) |
Definition at line 443 of file cwkeyer.cpp.
References setNbFadeSamples().
CWSmoother::~CWSmoother | ( | ) |
bool CWSmoother::getFadeSample | ( | bool | on, |
float & | sample | ||
) |
Definition at line 487 of file cwkeyer.cpp.
References m_fadeInCounter, m_fadeInSamples, m_fadeOutCounter, m_fadeOutSamples, m_mutex, and m_nbFadeSamples.
Referenced by WFMMod::pullAF(), AMMod::pullAF(), NFMMod::pullAF(), FreeDVMod::pullAF(), and SSBMod::pullAF().
void CWSmoother::setNbFadeSamples | ( | unsigned int | nbFadeSamples | ) |
Definition at line 459 of file cwkeyer.cpp.
References i, m_fadeInCounter, m_fadeInSamples, m_fadeOutCounter, m_fadeOutSamples, m_mutex, m_nbFadeSamples, and StepFunctions::smootherstep().
Referenced by CWSmoother().
|
private |
Definition at line 45 of file cwkeyer.h.
Referenced by getFadeSample(), and setNbFadeSamples().
|
private |
Definition at line 48 of file cwkeyer.h.
Referenced by getFadeSample(), setNbFadeSamples(), and ~CWSmoother().
|
private |
Definition at line 46 of file cwkeyer.h.
Referenced by getFadeSample(), and setNbFadeSamples().
|
private |
Definition at line 49 of file cwkeyer.h.
Referenced by getFadeSample(), setNbFadeSamples(), and ~CWSmoother().
|
private |
Definition at line 44 of file cwkeyer.h.
Referenced by CWKeyer::applySettings(), getFadeSample(), and setNbFadeSamples().
|
private |
Definition at line 47 of file cwkeyer.h.
Referenced by getFadeSample(), and setNbFadeSamples().