mtofPitch Converters:Functionsmtofmtof
Convert a midi to frequency
DescriptionPlugin opcode in emugens.
Convert a midi note number value to cycles per second, taking
global value of A4 into account.
Syntaxifreq mtof imidikfreq mtof kmidiifreqs[] mtof imidis[]kfreqs[] mtof kmidis[]Performancekmidi / imidi -- Midi
note number (also as array)
kfreq / ifreq --
Frequency corresponding to midi note value. An array is returned if the input is an array
Examples
Here is an example of the mtof opcode. It uses the file mtof-ftom.csd.
Example of the mtof opcode.See alsoPitch Converters: FunctionsMidi ConvertersCreditsBy: &nameeduardo; 2017New plugin in version 6.11Array version new in 6.13