Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AUD_HighpassCalculator.h « FX « audaspace « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bad1c08f7c7e56e65cd215c482fe6cbb8235f3c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef AUD_HIGHPASSCALCULATOR_H
#define AUD_HIGHPASSCALCULATOR_H

#include "AUD_IDynamicIIRFilterCalculator.h"

class AUD_HighpassCalculator : public AUD_IDynamicIIRFilterCalculator
{
private:
	/**
	 * The cutoff frequency.
	 */
	const float m_frequency;

	/**
	 * The Q factor.
	 */
	const float m_Q;

public:
	AUD_HighpassCalculator(float frequency, float Q);

	virtual void recalculateCoefficients(AUD_SampleRate rate, std::vector<float> &b, std::vector<float> &a);
};

#endif // AUD_HIGHPASSCALCULATOR_H