Expand description
music21’s common.formats: the formats music21 reads and writes, by
name and by file extension, as its converters register them.
Structs§
- SubConverter
- What one of music21’s converters registers itself for.
Constants§
- SUB_
CONVERTERS - music21’s converters, in the order its
Converter.subConvertersListgives them where none has been registered: by class name, with the plainSubConverterlast. - VALID_
AUTO_ DOWNLOAD - The answers the
autoDownloadsetting takes: music21’sVALID_AUTO_DOWNLOAD. - VALID_
SHOW_ FORMATS - The formats
showtakes: music21’sVALID_SHOW_FORMATS. - VALID_
WRITE_ FORMATS - The formats
writetakes: music21’sVALID_WRITE_FORMATS, which are the show formats and RomanText.
Functions§
- find_
format - The format a name or an extension stands for and the extension it is
written with, dot and all: music21’s
findFormat. - find_
format_ ext_ url - The format and extension a URL names, read from its query or from how
it ends: music21’s
findFormatExtURL. - find_
input_ extension - Each extension, dotted, that a format reads, the format given by name
or by one of its extensions: music21’s
findInputExtension. - regularize_
format - The format a name, an abbreviation or an extension stands for, with or
without its dot and with anything after a further dot ignored: music21’s
Converter.regularizeFormat. - sub_
converter_ for_ format - The converter registered for a format name, which is not an
extension: music21’s
findSubConverterForFormat, by its class.