A newer version of Max is available. Click here to access the latest version of this document.

mtof~

Convert a MIDI note number to frequency at signal rate

Description

mtof~ performs signal-rate MIDI-to-Frequency conversion.

Arguments

None.

Messages

signal A signal representing a MIDI note number value (from 0 to 127). The corresponding frequency is output as a signal.

Attributes

Name Type g/s Description
base float Sets the "base frequency" used when calculating frequency values (e.g., A = 440.). The default is 440.

Information for box attributes common to all objects

Output

signal: The frequency corresponding to the received MIDI pitch value, output as a signal.

Examples

Design a vibrato that has an even width with respect to perceived pitch

See Also

Name Description
expr Evaluate a mathematical expression
ftom Convert frequency to a MIDI note number
ftom~ Convert frequency to MIDI note numbers at signal-rate
mtof Convert a MIDI note number to frequency
MSP Tutorial 19: MIDI Synthesizer Control MSP Tutorial 19: MIDI Synthesizer Control