|
kwave
18.07.70
|
#include <Normalizer.h>


Public Slots | |
| void | input (Kwave::SampleArray data) |
| void | setGain (const QVariant g) |
| void | setLimiterLevel (const QVariant l) |
Signals | |
| void | output (Kwave::SampleArray data) |
Signals inherited from Kwave::StreamObject | |
| void | attributeChanged (const QVariant value) |
Public Member Functions | |
| Normalizer () | |
| virtual | ~Normalizer () Q_DECL_OVERRIDE |
| virtual void | goOn () Q_DECL_OVERRIDE |
Public Member Functions inherited from Kwave::SampleSource | |
| SampleSource (QObject *parent=Q_NULLPTR) | |
| virtual | ~SampleSource () |
| virtual bool | done () const |
Public Member Functions inherited from Kwave::StreamObject | |
| StreamObject (QObject *parent=Q_NULLPTR) | |
| virtual | ~StreamObject () |
| virtual unsigned int | tracks () const |
| virtual Kwave::StreamObject * | operator[] (unsigned int track) |
| virtual unsigned int | tracksOfPort (const char *port) const |
| virtual Kwave::StreamObject * | port (const char *port, unsigned int track) |
| virtual unsigned int | blockSize () const |
| void | setAttribute (const char *attribute, const QVariant &value) |
Private Attributes | |
| Kwave::SampleArray | m_buffer |
| double | m_gain |
| double | m_limit |
Additional Inherited Members | |
Static Public Member Functions inherited from Kwave::StreamObject | |
| static void | setInteractive (bool interactive) |
Definition at line 34 of file Normalizer.h.
| Kwave::Normalizer::Normalizer | ( | ) |
|
virtual |
|
virtual |
|
slot |
receives input data
Definition at line 73 of file Normalizer.cpp.
References double2sample(), limiter(), m_gain, m_limit, output(), sample2double(), and Kwave::SampleArray::size().

|
signal |
emits a block with the filtered data
Referenced by input().

|
slot |
Sets the gain of the amplifier [0...1]
Definition at line 89 of file Normalizer.cpp.
References m_gain.
|
slot |
Sets the limiter level [linear, 0...1]
Definition at line 95 of file Normalizer.cpp.
References m_limit.
|
private |
buffer for input
Definition at line 71 of file Normalizer.h.
|
private |
|
private |
limiter level
Definition at line 77 of file Normalizer.h.
Referenced by input(), and setLimiterLevel().