Audio FX
 
Loading...
Searching...
No Matches
Autotune Class Reference

Autotune music effect. More...

#include <autotune.h>

Public Member Functions

 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
 

Public Attributes

double intensity
 
string note
 
char scale
 

Detailed Description

Autotune music effect.

Constructor & Destructor Documentation

◆ 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)

Member Function Documentation

◆ 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: