| Trees | Indices | Help |
|
|---|
|
|
Author: Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>
|
|||
| ChordSequenceParseError | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
SOURCES =
|
|||
__package__ = Nonehash(x) |
|||
|
|||
Given the name of a piece of music, tries to retrieve MIDI files for a piece of that name. Looks up the name on vanBasco's midi search and tries to parse the results to pull the file urls out. Most of these will fail, either because the midi file isn't accessible at the obviously place, or because the link's out of date (many are).
|
Given a list of file data strings, removes any duplicates of the same data. Only the first occurence of the file data will be kept. The list doesn't have to be just of the data, as long as the data is returned by the key function applied to each value in the list. |
The Jazz Page has quite a few of midi files on a single page. There's only one of most songs and it's not exactly a huge database, but they claim to be high quality. By default, the list of midi files and song names will be cached the
first time it's fetched. Subsequently, songs will just be looked up in
the local database. Use To refresh the cache without doing a search, see refresh_the_jazz_page_cache.
|
Reads entries from The Jazz Page into a local cache for searching. See Also: the_jazz_page_midi_files |
One method of getting midi files used by find_midi_files. Looks up the name on vanBasco's midi search and tries to parse the results to pull the file urls out. Most of these will fail, either because the midi file isn't accessible at the obviously place, or because the link's out of date (many are). Beware that this can take a long time, since it has to look up many servers and most of them are slow.
|
One method of getting midi files used by find_midi_files. Looks up the name on Intersearch midi search and tries to parse the results to pull the file urls out. This is very similar to the vanBasco search, since the results are in roughly the same format. These pages are slightly cleaner.
See Also: http://www.inter-search.co.uk |
One method of getting midi files used by find_midi_files. Looks up the name on Melody Catcher midi search and tries to parse the results to pull the file urls out. Melody Catcher is meant primarily as a query-by-humming search, but also offers a title search, which we use.
See Also: http://www.melodycatcher.com |
Often the links on search results pages for MIDI files will be to a page that references the file, rather than to the file itself. Given the url to this page and the filename (also supplied in the search results), this function returns the file itself, if it can find it on the page. This may raise an exception in the process of fetching the file. This function doesn't catch anything raised by urlopen. If a link to the file can't be found on the page, we next try getting the file from the same directory as the page. If neither of these works, the last error encountered while try to get a file is raised (although errors reading files linked to on the page will be raised in preference to those from the last-ditch directory attempt).
|
Get the iReal b format chord sequences from a webpage. The sequences
are encoded in a URL (!) which is huuuuge. The argument URL is that of
the page containing the URL with the sequences in. If |
|
|||
SOURCES
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:56 2012 | http://epydoc.sourceforge.net |