maiacore 1.10.1
Music analisys library
Helper Member List

This is the complete list of members for Helper, including all inherited members.

alterName2symbol(const std::string &alterName)Helperstatic
alterSymbol2Value(const std::string &alterSymbol)Helperstatic
alterValue2Name(const float alterValue)Helperstatic
alterValue2symbol(const float alterValue)Helperstatic
calculateMelodyEuclideanSimilarity(const std::vector< Note > &melodyPattern, const std::vector< Note > &otherMelody)Helperstatic
calculateMelodyEuclideanSimilarity(const std::vector< float > &semitonesDifference)Helperstatic
calculateRhythmicEuclideanSimilarity(const std::vector< Note > &rhythmPattern, const std::vector< Note > &otherRhythm)Helperstatic
calculateRhythmicEuclideanSimilarity(const std::vector< float > &durationDifferences)Helperstatic
durationRatio(float duration_A, float duration_B)Helperstatic
formatFloat(float floatValue, int digits)Helperstatic
freq2equalTemperament(const float freq, const float referenceFreq=440.0f)Helperstatic
freq2midiNote(const float freq, std::function< int(float)> modelo=nullptr)Helperstatic
freq2pitch(const float freq, const std::string &accType=MUSIC_XML::ACCIDENT::NONE)Helperstatic
frequencies2cents(const float freq_A, const float freq_B)Helperstatic
generateIdentation(int identPosition, int identSize=2)Helperstatic
getDurationDifferenceBetweenRhythms(const std::vector< Note > &referenceRhythm, const std::vector< Note > &otherRhythm)Helperstatic
getNodeSet(const pugi::xml_document &doc, const std::string &xPath)Helperstatic
getNoteNodeData(const pugi::xml_node &node, std::string &pitch, std::string &pitchClass, std::string &alterSymbol, int &alterValue, int &octave, std::string &type, float &duration)Helperstatic
getPercentiles(const nlohmann::json &table, const std::vector< float > &desiredPercentiles)Helperstatic
getSemitonesDifferenceBetweenMelodies(const std::vector< Note > &referenceMelody, const std::vector< Note > &otherMelody)Helperstatic
isEnharmonic(const std::string &pitch_A, const std::string &pitch_B)Helperstatic
midiNote2freq(const int midiNote, const float freqA4=440.0f)Helperstatic
midiNote2octave(const int midiNote)Helperstatic
midiNote2pitch(const int midiNote, const std::string &accType={})Helperstatic
midiNote2pitches(const int midiNote)Helperstatic
notes2Intervals(const std::vector< Note > &notes, const bool firstNoteAsReference=false)Helperstatic
notes2Intervals(const std::vector< std::string > &pitches, const bool firstNoteAsReference=false)Helperstatic
noteSimilarity(std::string &pitchClass_A, int octave_A, const float duration_A, std::string &pitchClass_B, int octave_B, const float duration_B, float &durRatio, float &pitRatio, const bool enableEnharmonic=false)Helperstatic
noteType2RhythmFigure(const std::string &noteType)Helperstatic
noteType2ticks(std::string noteType, const int divisionsPerQuarterNote=256)Helperstatic
number2pitch(const float number, const std::string &accType=MUSIC_XML::ACCIDENT::SHARP)Helperstatic
pitch2freq(const std::string &pitch)Helperstatic
pitch2midiNote(const std::string &pitch)Helperstatic
pitch2number(const std::string &pitch)Helperstatic
pitchRatio(const std::string &pitch_A, const std::string &pitch_B)Helperstatic
rhythmFigure2noteType(const RhythmFigure rhythmFigure)Helperstatic
rhythmFigure2Ticks(const RhythmFigure rhythmFigure, const int divisionsPerQuarterNote=256)Helperstatic
semitonesBetweenPitches(const std::string &pitch_A, const std::string &pitch_B)Helperstatic
splitPitch(const std::string &pitch, std::string &pitchClass, std::string &pitchStep, int &octave, float &alterValue, std::string &alterSymbol)Helperstatic
splitString(const std::string &s, char delimiter)Helperstatic
ticks2noteType(int durationTicks, int divisionsPerQuarterNote, int actualNotes=1, int normalNotes=1)Helperstatic
ticks2rhythmFigure(int durationTicks, int divisionsPerQuarterNote, int actualNotes, int normalNotes)Helperstatic
toString(const RhythmFigure rhythmFigure)Helperstatic
transposePitch(const std::string &pitch, const int semitones, const std::string &accType=MUSIC_XML::ACCIDENT::SHARP)Helperstatic