audiomanip.h
Go to the documentation of this file.
#ifndef AUDIOMANIP_H
#define AUDIOMANIP_H
#include <QAudioBuffer>
// Define to make the name of the object easier for the student.
#define AudioBuffer QAudioBuffer::S16S
// Prototypes for the functions to be implemented in the lab
void RemoveVocals(AudioBuffer frames[], int N);
void AudioFadeIn (AudioBuffer frames[], int N, int fade_length);
void AudioFadeOut(AudioBuffer frames[], int N, int fade_length);
void LeftToRight (AudioBuffer frames[], int N, int pan_length);
#endif
AudioBuffer
#define AudioBuffer
Definition: audiomanip.h:15
RemoveVocals
void RemoveVocals(AudioBuffer frames[], int N)
Given the audio frames of the sound clip, remove the vocals from the clip.
Definition: audiomanip.cpp:19
LeftToRight
void LeftToRight(AudioBuffer frames[], int N, int pan_length)
Performs a panning effect from left to right.
Definition: audiomanip.cpp:105
AudioFadeIn
void AudioFadeIn(AudioBuffer frames[], int N, int fade_length)
Perform an audio fade in of the sound clip.
Definition: audiomanip.cpp:45
AudioFadeOut
void AudioFadeOut(AudioBuffer frames[], int N, int fade_length)
Perform an audio fade out of the sound clip.
Definition: audiomanip.cpp:75