Pitch Perfector
A real-time pitch-shifting microphone project at the University of Glasgow
 All Classes Functions
dispatch.h
1 
11 #include "fft.h"
12 #include "vocoder.h"
13 #include <RtAudio.h>
14 #include <cstdlib>
15 #include <cstring>
16 
17 class dispatch {
18  public:
19  fft* fourierObj;
20  vocoder* vocoderObj;
21 
23  dispatch(fft* fourierPtr, vocoder* vocoderPtr);
24 
26  static int caller(void *outputBuffer, void *inputBuffer, unsigned int nBufferFrames, double streamTime, RtAudioStreamStatus status, void *data);
27 };
This class handles the callback functionality from RtAudio.
Definition: dispatch.h:17
Performs the analysis and pitch sifting of input frequencies.
Definition: vocoder.h:3
dispatch(fft *fourierPtr, vocoder *vocoderPtr)
Collect pointers to objects to use in processing.
Definition: dispatch.cpp:9
Class for performing fourier transforms using FFTW3.
Definition: fft.h:17
static int caller(void *outputBuffer, void *inputBuffer, unsigned int nBufferFrames, double streamTime, RtAudioStreamStatus status, void *data)
Callback function for RtAudio.
Definition: dispatch.cpp:14