MCPcopy Create free account
hub / github.com/audacity/audacity / PitchName_Absolute

Function PitchName_Absolute

libraries/lib-math/PitchName.cpp:148–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148TranslatableString PitchName_Absolute(const double dMIDInote, const PitchNameChoice choice)
149{
150 // The format string is not localized. Should it be?
151 return Verbatim( wxT("%s%d") )
152 .Format( PitchName(dMIDInote, choice), PitchOctave(dMIDInote) );
153}
154
155double PitchToMIDInote(const unsigned int nPitchIndex, const int nPitchOctave)
156{

Callers 1

PlotPaintMethod · 0.85

Calls 3

VerbatimFunction · 0.85
PitchNameFunction · 0.85
PitchOctaveFunction · 0.85

Tested by

no test coverage detected