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
BandCutFilter.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
35 BandCutFilter(double f1, double f2, size_t hopSize, const Window& wnd);
36
38 virtual ~BandCutFilter() = default;
39
40 virtual std::string Name() const override;
41
46 virtual double GetF1() const;
47
54 virtual void SetF1(double f);
55
60 virtual double GetF2() const;
61
68 virtual void SetF2(double f);
69 };
70}
#define HEPH_API
Definition HephShared.h:124
removes the frequencies that are in the provided frequency band.
Definition BandCutFilter.h:14
virtual void SetF1(double f)
virtual double GetF1() const
virtual std::string Name() const override
virtual double GetF2() const
virtual ~BandCutFilter()=default
BandCutFilter(double f1, double f2, size_t hopSize, const Window &wnd)
virtual void SetF2(double f)
adjusts the volumes of multiple frequency ranges.
Definition Equalizer.h:15
base class for windows.
Definition Window.h:14
represents a range of frequencies with volume adjustment.
Definition Equalizer.h:22