ntomPitch Converters:Functionsntomntom
Convert note name to midi note number
DescriptionPlugin opcode in emugens.
Convert note name to midi note number. It allows note name to
include microtones or a deviation in cents.
Syntaxkmidi ntom Snoteimidi ntom SnotePerformanceSnote -- Note name
kmidi -- Midi note number
Example of note names:
midi note name
-------------------
60 4C
60.4 4C+40
60.5 4C+
60.9 4Db-10
61 4C#
61.5 4D-
4C is the central C in the piano
Examples
Here is an example of the ntom opcode. It uses the file mton-ntom.csd.
Example of the ftom opcode.See alsoPitch Converters: FunctionsMidi ConvertersCreditsBy: &nameeduardo; 2017