Resolve any interval-shaped value to plain SpelledInterval data.
This is what lets an entry point accept an interval name, the plain data the
pitch module returns, or an Interval instance without every caller
branching on the form. An instance is accepted through its toJSON method
rather than by its type, because the core layer cannot import the model layer
that defines the class.
Resolve any interval-shaped value to plain SpelledInterval data.
This is what lets an entry point accept an interval name, the plain data the pitch module returns, or an
Intervalinstance without every caller branching on the form. An instance is accepted through itstoJSONmethod rather than by its type, because the core layer cannot import the model layer that defines the class.