music21.corpus.virtual¶
The virtual.py module is a library of references to remotely stored music data files, as well as metadata necessary to download and, if available, access an already downloaded file.
This is probably not the best way to handle this – instead it should be a link to a directory or listing of files and repositories, each handled as a different Corpus.
TURNED OFF in 2017 – to be recreated with a bigger test set.
TODO: Demonstrate with JRP.
BachBWV1007Prelude¶
- class music21.corpus.virtual.BachBWV1007Prelude¶
>>> a = corpus.virtual.BachBWV1007Prelude() >>> a.getUrlByExt('.xml') ['https://kern.ccarh.org/cgi-bin/ksdata?l=cc/bach/cello&file=bwv1007-01.krn&f=xml']
BachBWV1007Prelude
bases
BachBWV1007Prelude
methods
Methods inherited from VirtualWork
:
BachBWV772¶
- class music21.corpus.virtual.BachBWV772¶
BachBWV772
bases
BachBWV772
methods
Methods inherited from VirtualWork
:
BachBWV773¶
- class music21.corpus.virtual.BachBWV773¶
BachBWV773
bases
BachBWV773
methods
Methods inherited from VirtualWork
:
ColtraneGiantSteps¶
- class music21.corpus.virtual.ColtraneGiantSteps¶
ColtraneGiantSteps
bases
ColtraneGiantSteps
methods
Methods inherited from VirtualWork
:
PachelbelCanonD¶
- class music21.corpus.virtual.PachelbelCanonD¶
PachelbelCanonD
bases
PachelbelCanonD
methods
Methods inherited from VirtualWork
:
SchubertD576¶
- class music21.corpus.virtual.SchubertD576¶
SchubertD576
bases
SchubertD576
methods
Methods inherited from VirtualWork
:
SchubertD5762¶
- class music21.corpus.virtual.SchubertD5762¶
SchubertD5762
bases
SchubertD5762
methods
Methods inherited from VirtualWork
:
SchubertD5763¶
- class music21.corpus.virtual.SchubertD5763¶
SchubertD5763
bases
SchubertD5763
methods
Methods inherited from VirtualWork
:
SchubertD5764¶
- class music21.corpus.virtual.SchubertD5764¶
SchubertD5764
bases
SchubertD5764
methods
Methods inherited from VirtualWork
:
VirtualWork¶
- class music21.corpus.virtual.VirtualWork¶
VirtualWork
methods
- VirtualWork.getUrlByExt(extList=None)¶
Given a request for an extension, find the best match for a URL from the list of known URLs. If ext is None, return the first URL.