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

Initializes MusicalScale according to Pitch standard and required octave count.

Pascal
procedure MusicalScaleInit(const MusicalScale: TVec; PitchStandard: double = 440; OctaveCount: integer = 11);

The MusicalScale parameter is initialized according to parameters. The MusicalScale is required by the MusicalNotePitch function. Default pitch standard is 440Hz and default Ocatave count is 11. This should suffice for most application. The pitch standard of 440Hz applies to note A in 4th octave. There are however many variations around the world. Cuba uses 436, Hungary 438, Berlin orchestra 443, etc.. 

References:  

[1] https://www.thebeliever.net/pitch-battles/

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!