See also the Music 254/CS 275b Spring 2013 Syllabus.
Music 254 has evolved over more than a decade from a seminar in music representation system to a project-oriented sandbox for applications involving the use of symbolic (discrete) musical data. (Music 252 offers an introduction to easily available notation software; Music 253 delves into the details of the professional notation program SCORE, the internal format of MIDI files, and issues in interchanging data between notation and sound.) It has been an incubator for software applications in such forward-looking areas as polyphonic query, the visualization of tonal harmony, and music query in non-Western (as well as Western) repertories.
Students in Music 254, having acquired skills in notation, MIDI, and data interchange in Music 253, explore the Humdrum Toolkit  to design their own research in areas appropriate to their background and interests. Previous programming experience is not necessary, but a working knowledge of musical notation and elementary concepts of music theory is.
The potential list of topics that may be covered in Music 254 is substantial, but in any given year those most salient to the skills and interests of the class are emphasized. The first month requires regular class meetings, an introduction and preliminary exercises in the use of Humdrum, and individually assigned readings in an area of mutual interest. Lab time is emphasized over the later six weeks of the quarter. Individual help with projects is available.
Arranging meeting times convenient for students from multiple schools and disciplines is a chronic problem. Those with an interest in Music 254 should contact Eleanor Selfridge-Field (esfield // at \\ stanford.edu) at their earliest convenience.
Ultimately, all the application areas covered in Music 254 depend on music analysis. In the analogue world, most analytical techniques are applied to the elaborate explication of single works. Digital tools enable the analysis of whole repertories, but they require two things: (a) encoded music and (b) tools designed to process articulate queries.
Music query, or music search, is a specific instance of music analysis. Query can be specified musically in any number of ways--melodic search, harmonic search, rhythmic search, compositional pattern search, and so forth.
Style evaluation, or style simulation, seeks to define those musical features that constitute a particular style of composition and differentiate it from all others. Feature sets, once defined, can serve as a springboard to the generation of new music in the style of an existing repertory.
1.2 The MuseData and KernScores Databases
The CCARH Lab (Braun Music Center #128) provides support for a wide range of notation and analysis applications. The Center for Computer Assisted Research in the Humanities (CCARH), which hosts it, originated the MuseData encoding format  and has encoded approximately 1,200 complete classical works.
The Humdrum Toolkit, initiated by David Huron and officially hosted at Ohio State University, is complemented by additional tools and an extensive collection of music encoded in the **kern format (KernScores ). Craig Stuart Sapp is also the developer of the KernScores website .
1.3 The Humdrum Toolkit
The Unix-based Humdrum Toolkit originated in the mid-1980s as a small set of commands that can be chained into series to produce concise information about changes inside an encoded musical score. Although the rudiments seem simple, the diversity of questions that can be posed and answered is potentially immense. Because Humdrum is now supported on three continents, CCARH recently constructed a Humdrum portal  to link tools and documentation at diverse locations.
2 Course Topics
2.1 Elements of Musical Style
What constitutes a musical style? As a classroom subject, style is often used as a lens through which to differentiate the work of different composers, genres, historical periods, places, schools of pedagogy, and so forth. It is an umbrella term to which almost any aspect of music can be related. While no one denies that the term is vague in its meaning, two individuals who have defined and articulated specific elements of musical style have also provided taxonomies that are inordinately useful in the development of computer programs for musical analysis.
2.1.1 LaRue's Rubrics of Style Analysis
The noted musicologist Jan LaRue (1918-2003) took a top-down approach to the musical work. His taxonomy of musical features embraces a wide range of musical phenomena, most of which are frequently pertinent to classical music of the past four centuries. In his Guidelines for Style Analysis: A Comprehensive Outline of Basic Principals for the Analysis of Musical Style (New York: W.W. Norton, 1970), LaRue fleshes out his 9-part skeleton into three layers of detail.
3 Humdrum Lab Pages
Go to the Humdrum Lab portal for a list of exercises to get up to speed with using the Humdrum Toolkit and other programs/environments to work with Humdrum data files.
Previous front page: http://www.ccarh.org/courses/254