Skip to content

Commit

Permalink
initial repo load
Browse files Browse the repository at this point in the history
  • Loading branch information
CedarGroveStudios authored Oct 29, 2022
1 parent 98c0f42 commit d285fda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ in the NoteOctave format, such as 'C4' or 'G#7'. Note names can range from
'C-1' (note value 0) to 'F#9' (note value 127). If the input value is outside
of the note value or name range, the value of ``None`` is returned.

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

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

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

.. code_block:: python
.. code-block:: python
>>> from cedargrove_midi_tools import cc_code_to_description
>>> cc_code_to_description(24)
Expand Down

0 comments on commit d285fda

Please sign in to comment.