Skip to content

Commit d285fda

Browse files
initial repo load
1 parent 98c0f42 commit d285fda

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ in the NoteOctave format, such as 'C4' or 'G#7'. Note names can range from
6868
'C-1' (note value 0) to 'F#9' (note value 127). If the input value is outside
6969
of the note value or name range, the value of ``None`` is returned.
7070

71-
.. code_block:: python
71+
.. code-block:: python
7272
7373
>>> from cedargrove_midi_tools import note_or_name
7474
>>> note_or_name('G5')
@@ -84,7 +84,7 @@ Note names are strings expressed in the NoteOctave format, such as 'C4' or
8484
'G#7'. Note names can range from 'C-1' (note value 0) to 'F#9' (note value 127).
8585
If the input value is outside the range, the value of ``None`` is returned.
8686

87-
.. code_block:: python
87+
.. code-block:: python
8888
8989
>>> from cedargrove_midi_tools import note_to_name, name_to_note
9090
>>> note_to_name(70)
@@ -100,7 +100,7 @@ type in the range of 0 to 127 (inclusive). Frequency values are floating point.
100100
If the input is outside of the range, the value ``None`` is returned.
101101
Ref: MIDI Tuning Standard formula: https://en.wikipedia.org/wiki/MIDI_tuning_standard
102102

103-
.. code_block:: python
103+
.. code-block:: python
104104
105105
>>> from cedargrove_midi_tools import note_to_frequency, frequency_to_note
106106
>>> note_to_frequency(60)
@@ -114,7 +114,7 @@ Provides a controller description decoded from a Control Change controller code
114114
value.
115115
Ref: https://www.midi.org/specifications-old/item/table-3-control-change-messages-data-bytes-2
116116

117-
.. code_block:: python
117+
.. code-block:: python
118118
119119
>>> from cedargrove_midi_tools import cc_code_to_description
120120
>>> cc_code_to_description(24)

0 commit comments

Comments
 (0)