Essentia  2.1-beta6-dev
essentia::util Namespace Reference

Classes

class  BPF
 
class  Peak
 
class  ComparePeakPosition
 
class  ComparePeakMagnitude
 

Functions

std::vector< PeakrealsToPeaks (const std::vector< Real > &pos, const std::vector< Real > &mag)
 
void peaksToReals (const std::vector< Peak > &peaks, std::vector< Real > &pos, std::vector< Real > &mag)
 
std::ostream & operator<< (std::ostream &out, const Peak &p)
 

Function Documentation

◆ operator<<()

std::ostream& essentia::util::operator<< ( std::ostream &  out,
const Peak p 
)
inline

References Peak::magnitude, and Peak::position.

◆ peaksToReals()

void essentia::util::peaksToReals ( const std::vector< Peak > &  peaks,
std::vector< Real > &  pos,
std::vector< Real > &  mag 
)
inline

◆ realsToPeaks()

std::vector<Peak> essentia::util::realsToPeaks ( const std::vector< Real > &  pos,
const std::vector< Real > &  mag 
)
inline