HephAudio
v3.1.0
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
Loading...
Searching...
No Matches
HephAudio
HeaderFiles
AudioEffects
LowPassFilter.h
Go to the documentation of this file.
1
#pragma once
2
#include "
HephAudioShared.h
"
3
#include "
Equalizer.h
"
4
7
namespace
HephAudio
8
{
13
class
HEPH_API
LowPassFilter
:
public
Equalizer
14
{
15
protected
:
16
using
Equalizer::FrequencyRange
;
17
using
Equalizer::GetFrequencyRanges;
18
using
Equalizer::AddFrequencyRange;
19
using
Equalizer::ModifyFrequencyRange;
20
using
Equalizer::RemoveFrequencyRange;
21
22
public
:
24
LowPassFilter
();
25
34
LowPassFilter
(
double
f,
size_t
hopSize,
const
Window
& wnd);
35
37
virtual
~LowPassFilter
() =
default
;
38
39
virtual
std::string
Name
()
const override
;
40
45
virtual
double
GetCutoffFreq
()
const
;
46
53
virtual
void
SetCutoffFreq
(
double
f);
54
};
55
}
Equalizer.h
HephAudioShared.h
HEPH_API
#define HEPH_API
Definition
HephShared.h:124
HephAudio::Equalizer
adjusts the volumes of multiple frequency ranges.
Definition
Equalizer.h:15
HephAudio::LowPassFilter
removes the frequencies that are greater than the cutoff frequency.
Definition
LowPassFilter.h:14
HephAudio::LowPassFilter::~LowPassFilter
virtual ~LowPassFilter()=default
HephAudio::LowPassFilter::LowPassFilter
LowPassFilter(double f, size_t hopSize, const Window &wnd)
HephAudio::LowPassFilter::GetCutoffFreq
virtual double GetCutoffFreq() const
HephAudio::LowPassFilter::LowPassFilter
LowPassFilter()
HephAudio::LowPassFilter::SetCutoffFreq
virtual void SetCutoffFreq(double f)
HephAudio::LowPassFilter::Name
virtual std::string Name() const override
HephAudio::Window
base class for windows.
Definition
Window.h:14
HephAudio::Equalizer::FrequencyRange
represents a range of frequencies with volume adjustment.
Definition
Equalizer.h:22
Generated by
1.11.0