Verovio
Source code documentation
vrv::CustomTuning Class Reference

Public Member Functions

 CustomTuning (const std::string &tuningDef, Doc *doc, bool useMusicXmlAccidentals)
 
Getters and validity checkers
bool IsValid () const
 
Tunings::Tuning & GetTuning ()
 
const Tunings::Tuning & GetTuning () const
 
std::map< std::string, std::string > & GetNoteMap ()
 
const std::map< std::string, std::string > & GetNoteMap () const
 
Get MIDI note name for given MEI note
int GetMIDIPitch (const Note *note, const int shift, const int octaveShift) const
 

Static Public Member Functions

static char32_t GetGlyphCode (const std::string &glyphName, Doc *doc=NULL)
 
static std::string GetGlyphName (char32_t glyphCode, Doc *doc=NULL)
 
static char32_t GetAccidGlyph (const std::string &accid, bool useMusicXmlAccidentals)
 
Helper to copy all custom tunings to a new doc.
static void CopyCustomTunings (const Doc *src, Doc *dst)
 

The documentation for this class was generated from the following file: