My Project
audiomanip.h
Go to the documentation of this file.
1 #ifndef AUDIOMANIP_H
2 #define AUDIOMANIP_H
3 
4 #include <QAudioBuffer>
5 
7 
9 // Define to make the name of the object easier for the student.
15 #define AudioBuffer QAudioBuffer::S16S
16 
17 
18 // Prototypes for the functions to be implemented in the lab
32 void RemoveVocals(AudioBuffer frames[], int N);
33 
49 void AudioFadeIn (AudioBuffer frames[], int N, int fade_length);
50 
67 void AudioFadeOut(AudioBuffer frames[], int N, int fade_length);
68 
84 void LeftToRight (AudioBuffer frames[], int N, int pan_length);
85 
86 #endif
#define AudioBuffer
Definition: audiomanip.h:15
void RemoveVocals(AudioBuffer frames[], int N)
Given the audio frames of the sound clip, remove the vocals from the clip.
Definition: audiomanip.cpp:19
void LeftToRight(AudioBuffer frames[], int N, int pan_length)
Performs a panning effect from left to right.
Definition: audiomanip.cpp:105
void AudioFadeIn(AudioBuffer frames[], int N, int fade_length)
Perform an audio fade in of the sound clip.
Definition: audiomanip.cpp:45
void AudioFadeOut(AudioBuffer frames[], int N, int fade_length)
Perform an audio fade out of the sound clip.
Definition: audiomanip.cpp:75