Convert frequency to a MIDI note number
Name | Type | Opt | Description |
---|---|---|---|
output-format | float | opt | If a float value is present, the ftom object outputs floating-point values. By default, it outputs int values. |
int | frequency [int] |
A frequency value. The corresponding MIDI pitch value (from 0 to 127) is sent out the outlet. |
float | frequency [float] |
A frequency value. The corresponding MIDI pitch value (from 0 to 127) is sent out the outlet. |
list | list of frequencies [list] |
A list of frequency values. Corresponding MIDI pitch values (from 0 to 127) for each list item are sent out the outlet. |
Name | Type | g/s | Description |
---|---|---|---|
base | float | Sets the "base frequency" used when converting frequency values (e.g., A = 440.). The default is 440. |