| 45 | } |
| 46 | |
| 47 | int PitchOctave(const double dMIDInote) |
| 48 | { |
| 49 | double dRound = (dMIDInote < 0.0) ? -0.5 : 0.5; |
| 50 | return ((int)((dMIDInote + dRound) / 12.0) - 1); |
| 51 | } |
| 52 | |
| 53 | |
| 54 | TranslatableString PitchName(const double dMIDInote, const PitchNameChoice choice) |
no outgoing calls
no test coverage detected