Problem statement
Wikipedia and its sister projects have many articles on musical pieces and the theory behind the composition of those songs. However, music uses a different notation to normal prose, and so requires different tools to write it. This represents a barrier to being able to analyse and understand the piece.
Some Wikipedia articles such as for the Polovtsian Dances found a method to show such notation by including images of snippets from the suite. To expand on the completeness of articles in the field, both this visual material and audio of the work itself is vital for the article. Other pages, such as The Planets only have audio of the works.
Solution & Task
Through MediaWiki-extensions-Score, musical notation can be written inside Wikipedia articles using LilyPond to provide both important parts of the pieces, including an automated audio rendering of the music. This adds useful information to entries, and makes analysis easier with source downloading.
The task is to take musical notation that is in a format such as .pdf or .png (among others), and transcribe it to LilyPond. With your new code, insert it in the relevant Wikipedia (&c.) page and save!
LilyPond
LilyPond is a programming language and file format built for engraving all sorts of musical notation. It is free software known for its high level of flexibility.
Sample code
Taken from Peter and the Wolf (The bird's theme, played by flute).
<score vorbis="1"> \relative c'''' { \clef treble \time 4/4 \set Staff.midiInstrument = #"flute" \tempo "Allegro" 4=176 \slashedGrace a8\mf( g8-.)[ e-.] \slashedGrace a( gis-.)[ gis-.] gis-.[ gis-.] \slashedGrace a( gis-.)[ e-.] | d16->( ees des c b8) \times 2/3 {a16( b a } g8->) g-. c-. e-. | \slashedGrace a8( g8-.)[ e-.] \slashedGrace a( gis-.)[ gis-.] gis-.[ gis-.] \slashedGrace a( gis-.)[ e-.] | d16->( ees des c g'!8-.) \slashedGrace b,( a-.) g2-> } </score>
This code produces this image:
Google Code-in
I (@Ebe123) will be mentoring this (non-beginner) task. Students have 3 days to transcribe 3 snippets. They are not expected to have any musical training; I can guide them through basic musical notation/theory. They may choose what they will work on, but I may give suggestions if requested. The complexity of transcriptions can be taken into account. This is in the Code category
I will be available on IRC (America/Toronto time) for questions.
Tags: music, wikipedia, writing
External Links
- LilyPond - the software used
- [[ https://en.wikipedia.org/wiki/Special:PagesWithProp/score | Pages on en.wiki that use <score ]] - Examples of code
- IMSLP - Non-WMF wiki that serves as a library of musical partitions (notation). Material that could be transcribed
- Music Theory - Some online exercises that gives a primer on musical notation (and why its written in such a way)
- LilyPond manual - The official notation manual for LilyPond.