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
HighPassFilter.h
Go to the documentation of this file.
1#pragma once
2#include "HephAudioShared.h"
3#include "Equalizer.h"
4
7namespace HephAudio
8{
14 {
15 protected:
17 using Equalizer::GetFrequencyRanges;
18 using Equalizer::AddFrequencyRange;
19 using Equalizer::ModifyFrequencyRange;
20 using Equalizer::RemoveFrequencyRange;
21
22 public:
25
34 HighPassFilter(double f, size_t hopSize, const Window& wnd);
35
37 virtual ~HighPassFilter() = default;
38
39 virtual std::string Name() const override;
40
45 virtual double GetCutoffFreq() const;
46
53 virtual void SetCutoffFreq(double f);
54 };
55}
#define HEPH_API
Definition HephShared.h:124
adjusts the volumes of multiple frequency ranges.
Definition Equalizer.h:15
removes the frequencies that are lower than the cutoff frequency.
Definition HighPassFilter.h:14
virtual void SetCutoffFreq(double f)
virtual double GetCutoffFreq() const
virtual ~HighPassFilter()=default
virtual std::string Name() const override
HighPassFilter(double f, size_t hopSize, const Window &wnd)
base class for windows.
Definition Window.h:14
represents a range of frequencies with volume adjustment.
Definition Equalizer.h:22