DSP Master VCL
|
Returns musical note pitch, the octave and pitch error in Hz.
function MusicalNotePitch(const Freq: double; out aError: double; out aOctave: integer; const aMusicalScale: TVec): TMusicalNotePitch; overload;
Parameters |
Description |
Freq |
The frequency in Hz to convert to musical note pitch. |
MusicalScale |
The musical scale as returned by the MusicalScaleInit method. aMusicalScale.FloatPrecision will be used as the input parameter to indicate the desired precision (single or double). |
Returns musical note pitch as the result and the octave number and aError in Hz in the parameters.
MusicalNotePitchInit, MusicalNotePitchToStr
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|