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

Classes

class  BPF
 
class  ComparePeakMagnitude
 
class  ComparePeakPosition
 
class  Peak
 

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

References Peak::Peak().