@@ -60,6 +60,7 @@ Usage Example
6060=============
6161
6262``note_or_name(note) ``
63+
6364Bidirectionally translates a MIDI sequential note value to a note name or a note
6465name to a MIDI sequential note value. Note values are of integer type in the
6566range of 0 to 127 (inclusive). Note names are character strings expressed
@@ -75,6 +76,7 @@ of the note value or name range, the value of ``None`` is returned.
7576 'G5'
7677
7778``note_to_name(note) `` and ``name_to_note(name) ``
79+
7880Translates a MIDI sequential note value to a note name or note name to a note
7981value. Note values are of integer type in the range of 0 to 127 (inclusive).
8082Note names are strings expressed in the NoteOctave format, such as 'C4' or
@@ -89,13 +91,13 @@ If the input value is outside the range, the value of ``None`` is returned.
8991 >>> name_to_note(' A#4' )
9092 70
9193
92-
9394``note_to_frequency(note) `` and ``frequency_to_note(frequency) ``
95+
9496Translates a MIDI sequential note value to its corresponding frequency in
9597Hertz (Hz) or a frequency to its nearest note value. Note values are of integer
9698type in the range of 0 to 127 (inclusive). Frequency values are floating point.
9799If the input is outside of the range, the value ``None `` is returned.
98- Ref: MIDI Tuning Standard formula: https://en.wikipedia.org/wiki/ MIDI_tuning_standard
100+ Ref: MIDI Tuning Standard formula: https://en.wikipedia.org/wiki/MIDI_tuning_standard
99101
100102.. code_block :: python
101103
@@ -106,6 +108,7 @@ Ref: MIDI Tuning Standard formula: https://en.wikipedia.org/wiki/ MIDI_tuning_st
106108 60
107109
108110``cc_code_to_description(cc_code) ``
111+
109112Provides a controller description decoded from a Control Change controller code
110113value.
111114Ref: https://www.midi.org/specifications-old/item/table-3-control-change-messages-data-bytes-2
0 commit comments