Autotune music effect.
More...
#include <autotune.h>
|
| Autotune (double intensity, string note, char scale) |
|
vector< vector< double > > | process (const vector< vector< double > > &samples, int sampleRate) |
| Use overlapping window approach to tune each audio frame to the nearest correct pitch on the provided musical scale.
|
|
void | fillNoteTable () |
| note table depending on the musical scale used
|
|
|
double | intensity |
|
string | note |
|
char | scale |
|
◆ Autotune()
Autotune::Autotune |
( |
double | intensity, |
|
|
string | note, |
|
|
char | scale ) |
- Parameters
-
intensity | -> Determines how strong to apply the autotune effect |
note | -> The musical note to use as the root note |
scale | -> Category of semitones (major or minor) |
◆ process()
vector< vector< double > > Autotune::process |
( |
const vector< vector< double > > & | samples, |
|
|
int | sampleRate ) |
Use overlapping window approach to tune each audio frame to the nearest correct pitch on the provided musical scale.
- Parameters
-
samples | -> Audio samples separated by channel |
sampleRate | -> sample rate |
- Returns
- Modified audio
The documentation for this class was generated from the following file: