#include <QAudioBuffer>
Go to the source code of this file.
#define AudioBuffer QAudioBuffer::S16S |
AudioBuffer is an object with left and right side of an stereo audio
void AudioFadeIn |
( |
AudioBuffer |
frames[], |
|
|
int |
N, |
|
|
int |
fade_length |
|
) |
| |
Perform an audio fade in of the sound clip.
- Parameters
-
frames | array that contains audio samples, it will modified this function. |
N | number of audio samples (per channel) |
fade_length | length of the fade in, in terms of audio samples |
void AudioFadeOut |
( |
AudioBuffer |
frames[], |
|
|
int |
N, |
|
|
int |
fade_length |
|
) |
| |
Perform an audio fade out of the sound clip.
- Parameters
-
frames | array that contains audio samples, it will modified this function. |
N | number of audio samples (per channel) |
fade_length | length of the fade out, in terms of audio samples |
void LeftToRight |
( |
AudioBuffer |
frames[], |
|
|
int |
N, |
|
|
int |
pan_length |
|
) |
| |
Performs a panning effect from left to right.
- Parameters
-
frames | array that contains audio samples, it will modified this function. |
N | number of audio samples (per channel) |
pan_length | length of the panning effect, in terms of audio samples |
Given the audio frames of the sound clip, remove the vocals from the clip.
- Parameters
-
frames | array that contains audio samples, it will be modified this function. |
N | number of audio samples (per channel) |