Pitch Perfector
A real-time pitch-shifting microphone project at the University of Glasgow
Main Page
Classes
Files
File List
All
Classes
Functions
Code
fft_object
voxFilter.h
1
/*
2
This class is used to filter Vocals. It roughly mimics the
3
frequency response of an SM58 Dynamic Vocal Microphone.
4
*/
5
6
#ifndef VOXFILTER_H
7
#define VOXFILTER_H
8
9
#include <fftw3.h>
10
#include "fft.h"
11
12
class
VoxFilter
{
13
public
:
14
VoxFilter
(
int
samplingRate,
float
multiplier);
15
void
filter(fftw_complex* fourierSpectrum);
16
17
int
samplingRate;
18
float
multiplier;
19
20
private
:
21
int
cut100Hz;
22
int
cut2000Hz;
23
int
cut7000Hz;
24
int
cut9000Hz;
25
int
cut10000Hz;
26
float
frequencyResolution;
27
};
28
29
#endif
VoxFilter
Definition:
voxFilter.h:12
Generated by
1.8.6