Drag-and-drop MEI files
The VHV interface can load MEI files by dragging and dropping them from the desktop onto the VHV page. If you also also press the shift key while drag-and-dropping MEI data, it will first be converted into Humdrum data, and then the Humdrum data will be placed in the text editor.
Conversion of MEI data into Humdrum
If MEI data is displayed in the text editor, you can use the Edit menu option “Convert to Humdrum” to convert the MEI data into Humdrum data, which replaces the MEI data in the text editor.
Viewing MEI data in the text editor
VHV dynamically converts Humdrum data into MEI data in order to produce graphical music notation. The conversion to MEI is usually done behind the scenes, but this data can be viewed in the text editor by pressing alt-m. To return to the Humdrum-data view press alt-h.
The MEI data can be edited, and the notation editor contents will be updated to reflect the changes (alt-f may be useful when editing the MEI data). You can click on a note in the notation editor, and the corresponding MEI element for the note will come into view; however, graphic editing commands will not work with MEI data.
Export by copy-and-paste
MEI data can be selected in the text editor and copy-and-pasted into another text editor in the operating system; otherwise, the next section describes how to save the MEI data to a local file.
Downloading MEI files
While viewing MEI data in the text editor, type
alt-s to save the context of the
text editor to a file called data.txt
. The file will be saved wherever
your browser saves files, such as in Documents.
Below is a demonstration of converting Humdrum data into MEI data by pressing alt-m and then saving it so a file on the local disk with the alt-s keypress:
Loading MEI files by drag-and-drop
The VHV interface can load MEI files by dragging and dropping them from the desktop onto the VHV page:
Try downloading the same MEI file and loading it into VHV in a similar manner (usually save by right-clicking on the link and then choose save link as).
Copy-and-paste MEI data into text-editor
MEI data can be copy-and-pasted from another source into the VHV text editor. Notation will be generated dynamically from the MEI data and will be updated as the MEI content is changed, but typing <span=”keypress”>alt-h</span> will not convert the MEI data into Humdrum data.