ntofPitch Converters:Functionsntofntof
Convert note name to frequency
DescriptionPlugin opcode in emugens.
Convert note name to frequency (Hz). It allows note name to
include microtones or a deviation in cents.
Syntaxkfreq ntof Snoteifreq ntof SnotePerformanceSnote -- Note name
kfreq -- Frequency
The frequency returned depends on the value of the global variable A4
4C is the central C in the piano.
Examples
Here is an example of the ntof opcode. It uses the file ntof.csd.
Example of the ntof opcode.See alsoPitch Converters: FunctionsMidi ConvertersCreditsBy: &nameeduardo; 2019New in 6.13