io.omk_json.wsmn

wsmn

The wsmn vocabulary (docs/spec/vocabulary-wsmn.qmd): the pitch, duration, chord, key, clef, bar line and percussion types of Western Standard Music Notation.

>>> from openmusickit.io.omk_json.core import CORE
>>> from openmusickit.io.omk_json.vocabulary import Encoder
>>> from openmusickit.systems.wsmn.temporal.symbols import dotted_quarter
>>> Encoder([CORE, WSMN]).value(dotted_quarter)
{'numerator': 1, 'denominator': 4, 'dots': 1, 'ratio': None, '@type': 'wsmn:MetricalDuration'}

Attributes

Name Description
TONAL_VECTOR
KEY_SIGNATURE
MODE_PATTERN
LETTERS
ROOT
WSMN