You are here: Symbol Reference > SignalUtils Namespace > Functions > SignalUtils.MusicalNotePitch Function
DSP Master VCL
ContentsIndex
PreviousUpNext
SignalUtils.MusicalNotePitch Function

Returns musical note pitch, the octave and pitch error in Hz.

Pascal
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!