Difference between revisions of "Music 254/CS 275b Spring 2017 Syllabus"

From CCARH Wiki
Jump to navigation Jump to search
(Created page with "<font size=+1><b>Music 254/CS 275b "Music Query, Analysis, and Style Simulation" <br> Stanford University (Spring 2017).</b></font> This music information retrieval course b...")
 
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<font size=+1><b>Music 254/CS 275b "Music Query, Analysis, and Style Simulation"  <br> Stanford University (Spring 2017).</b></font>
 
<font size=+1><b>Music 254/CS 275b "Music Query, Analysis, and Style Simulation"  <br> Stanford University (Spring 2017).</b></font>
  
This music information retrieval course builds on the foundation of [[Music 253|Music 253/CS 275A]]. Using an open-source analysis platform (such as the [https://github.com/humdrum-tools/humdrum-tools Humdrum Toolkit] (unix/bash shell), [[Humdrum Extras]] (C++), or [[Music21]] (Python), or your preferred programming language/environment) students plan and design their own applications.
+
This music information retrieval course builds on the foundation of [[Music 253|Music 253/CS 275A]]. Using an open-source analysis platform (such as the [https://github.com/humdrum-tools/humdrum-tools Humdrum Toolkit] (unix/bash shell), [[Humdrum Extras]] (C++), or [[Music21]] (Python), or their preferred programming language/environment) students plan and design their own applications involving symbolic musical data.
  
 
The first four weeks cover basic areas of music analysis and retrieval and
 
The first four weeks cover basic areas of music analysis and retrieval and
introduce basic principles of using the Humdrum Toolkit. Students may be assigned individual reading assignments pertinent to their research topic areas.  The remaining six weeks are spent on
+
introduce basic principles of using the Humdrum Toolkit. Students may be assigned individual reading assignments pertinent to their research topic areas.  The remaining six weeks are spent on individual project development, with weekly reports and discussions. Extensive help is available in the lab during hours allotted to class time.  Students give verbal and written reports on their research at the end of the quarter.  Some projects may be appropriate for continuation in independent-study modules.   
individual project development, with weekly reports and discussions. Extensive help is available in the lab during hours allotted to class time.  Students give verbal and written reports on their research at the end of the quarter.  Some projects may be appropriate for continuation in independent-study modules.   
 
  
  
Line 18: Line 17:
 
<td align=right><b>Location:</b></td>
 
<td align=right><b>Location:</b></td>
 
<td></td>
 
<td></td>
<td> Braun Music Building, Rooms 105, 128 (lab entry from Room 129)</td>
+
<td> Braun Music Building, Rooms 131 (lectures), 128 (lab entry from Room 129)</td>
 
</tr>
 
</tr>
  
Line 24: Line 23:
 
<td align=right><b>Instructors:</b></td>
 
<td align=right><b>Instructors:</b></td>
 
<td></td>
 
<td></td>
<td> Eleanor Selfridge-Field (esfield<small>&#64;</small>stanford.edu)<br>Craig Stuart Sapp (craig<small>&#64;</small>ccrma.stanford.edu)
+
<td> Eleanor Selfridge-Field (esfield<small>&#64;</small>stanford.edu)<br>Mauricio Rodriguez (marod<small>&#64;</small>ccrma.stanford.edu)
  
 
<tr valign=baseline>
 
<tr valign=baseline>
 
<td align=right><b>Office Hours:</b></td>
 
<td align=right><b>Office Hours:</b></td>
 
<td></td>
 
<td></td>
<td>3:05&ndash;4:05 Wednesdays and by appointment.</td>
+
<td>3:05&ndash;4:05 After class and by appointment.</td>
 
</tr>
 
</tr>
  
Line 44: Line 43:
 
25% class participation, 75% project
 
25% class participation, 75% project
 
<ul>  
 
<ul>  
<li> Project proposal: 3 pages, due Tues. 12 April 2016
+
<li> Project proposal: 3 pages, due Tues. 18 April 2017
<li> Project presentation, 20&ndash;30 minutes, Thurs. 2 June 2016.
+
<li> Project presentation, 20&ndash;30 minutes, Thurs. 1 June 2017.
<li> Project writeup draft: 5+ pages, Thurs. 2 June 2016
+
<li> Project writeup draft: 5+ pages, Thurs. 1 June 2017
<li> Project writeup: 10&ndash;20 pages, Thurs. 9 June 2016
+
<li> Project presentation in class: Tuesday 6 June 2017
 +
<li> Project writeup: 10&ndash;20 pages, Thurs. 13 June 2017 10 p.m.
 
</ul>
 
</ul>
 
</td>
 
</td>
Line 89: Line 89:
 
! scope="col" width="500px" | Topics
 
! scope="col" width="500px" | Topics
 
|-
 
|-
| 1<div id="week1"></div> || 29 March, 31 Mar 2016 ||  
+
| 1<div id="week1"></div> || 4, 6 April 2017 ||  
 
<b>Harmony I</b>
 
<b>Harmony I</b>
* [http://esf.ccarh.org/CS275B-Mus254/01A_MusicQuery_Analysis_StyleSimulation_2016.pdf Music Query, Analysis, and Style Simulation (March 29)]
+
* [http://esf.ccarh.org/CS275B-Mus254/01A_MusicQuery_Analysis_StyleSimulation_2016.pdf 1a. Music Query, Analysis, and Style Simulation (April 4)]
* [http://esf.ccarh.org/CS275B-Mus254/01B_MelodicQuery_2016.pdf Melodic Query (March 31)]
+
* [http://esf.ccarh.org/CS275B-Mus254/01B_MelodicQuery_2016.pdf 1b. Melodic Query (April 6)]
  
 
*[[Media:Harmony1.pdf| Harmony Tools I in Humdrum]] (PDF slides)
 
*[[Media:Harmony1.pdf| Harmony Tools I in Humdrum]] (PDF slides)
Line 116: Line 116:
 
* [[Media:pitchmix-markov.pdf|Pitchmix and Markov analysis of composite sonorities]]
 
* [[Media:pitchmix-markov.pdf|Pitchmix and Markov analysis of composite sonorities]]
 
|-
 
|-
| 2<div id="week2"></div> || 5 & 7 Apr 2016 ||  
+
| 2<div id="week2"></div> || 11 & 13 Apr 2017 ||  
 
<b>Melody</b>
 
<b>Melody</b>
 
* [http://esf.ccarh.org/CS275B-Mus254/02B_Melodic%20Similarity_2016.pdf 2a. Melodic Search: Strategies and Formats] (PDF slides)
 
* [http://esf.ccarh.org/CS275B-Mus254/02B_Melodic%20Similarity_2016.pdf 2a. Melodic Search: Strategies and Formats] (PDF slides)
Line 151: Line 151:
 
*** [http://ghostscript.com/doc/current/Ps2pdf.htm ps2pdf]: convert PostScript into PDF files.
 
*** [http://ghostscript.com/doc/current/Ps2pdf.htm ps2pdf]: convert PostScript into PDF files.
 
|-
 
|-
| 3<div id="week3"></div> || 12 Apr 2016 ||  
+
| 3<div id="week3"></div> || 18 Apr 2017 ||  
 
<b>Style/Rhythm</b>
 
<b>Style/Rhythm</b>
* [http://esf.ccarh.org/254/03A_MusicalDimensions-Similarity_2016.pdf Musical Dimensions of Similarity]
+
* [http://esf.ccarh.org/254/03A_MusicalDimensions-Similarity_2016.pdf 3a. Musical Dimensions of Similarity]
* [http://esf.ccarh.org/254/03b_Aspects%20of%20Rhythm%20and%20Meter.pdf Aspects of Meter and Rhythm]
+
* [http://esf.ccarh.org/254-old/03b_Aspects%20of%20Rhythm%20and%20Meter.pdf 3b. Aspects of Meter and Rhythm]
 
* [[Media:Rhythm1.pdf| Rhythm Tools in Humdrum]] (PDF slides)
 
* [[Media:Rhythm1.pdf| Rhythm Tools in Humdrum]] (PDF slides)
 
** [http://www.humdrum.org/Humdrum/commands/timebase timebase]: create uniform duration for each Humdrum file data line.
 
** [http://www.humdrum.org/Humdrum/commands/timebase timebase]: create uniform duration for each Humdrum file data line.
Line 166: Line 166:
 
** [http://extras.humdrum.org/man/hgrep hgrep]: search for patterns in Humdrum file data.
 
** [http://extras.humdrum.org/man/hgrep hgrep]: search for patterns in Humdrum file data.
 
|-
 
|-
| 3 || 14 Apr 2016 ||  
+
| 3 || 20 Apr 2017 ||  
* [http://esf.ccarh.org/254/04A_MoreMusicalDimensions-Similarity_2016.pdf More Musical Dimensions of Similarity]
+
* [http://esf.ccarh.org/254/04A_MoreMusicalDimensions-Similarity_2016.pdf 4a. More Musical Dimensions of Similarity]
 
<b>Data/Data entry</b>
 
<b>Data/Data entry</b>
 
* [[Media:dataentry.pdf | Data/Data entry in Humdrum]] (PDF slides)
 
* [[Media:dataentry.pdf | Data/Data entry in Humdrum]] (PDF slides)
Line 178: Line 178:
 
** [http://museinfo.sapp.org/examples/humdrum/mid2hum.cpp mid2hum]: MIDI to Humdrum converter (works in many cases, but better to convert MIDI first to MusicXML then import).
 
** [http://museinfo.sapp.org/examples/humdrum/mid2hum.cpp mid2hum]: MIDI to Humdrum converter (works in many cases, but better to convert MIDI first to MusicXML then import).
 
|-
 
|-
| 4<div id="week4"></div> || 19 Apr 2016 ||  
+
| 4<div id="week4"></div> || 25 Apr 2017 ||  
 
<b>Harmony II</b>
 
<b>Harmony II</b>
* [http://esf.ccarh.org/254/05B_Harmonic%20Models_2016.pdf 4a. Harmonic Models (1)]
+
* [http://esf.ccarh.org/254/05B_Harmonic%20Models_2016.pdf 4b. Harmonic Models for Analysis (1)]
 
* [[Media:Harmony2.pdf | Harmony II]] Key analysis (PDF slides)
 
* [[Media:Harmony2.pdf | Harmony II]] Key analysis (PDF slides)
 
** Key-cycles:
 
** Key-cycles:
Line 193: Line 193:
 
** [http://extras.humdrum.org/man/transpose transpose]: Transpose score to specific key or by interval.
 
** [http://extras.humdrum.org/man/transpose transpose]: Transpose score to specific key or by interval.
 
|-
 
|-
| 4 || 21 Apr 2016 ||  
+
| 4 || 27 Apr 2017 ||  
 
<b> Harmonic Models</b>
 
<b> Harmonic Models</b>
* [http://esf.ccarh.org/254/05B_2016.pdf Harmonic Models for Analysis]
+
* [http://esf.ccarh.org/254/05B_2016.pdf 5a. Harmonic Models for Analysis (2)]
 
<b>Humdrum & MIDI</b>
 
<b>Humdrum & MIDI</b>
 
* [[Media:Humdrum2Midi.pdf | Humdrum to MIDI]] (PDF slides)
 
* [[Media:Humdrum2Midi.pdf | Humdrum to MIDI]] (PDF slides)
 
|-
 
|-
| 5<div id="week5"></div> || 26 Apr 2016 ||
+
| 5<div id="week5"></div> || 2 May 2017 ||
 
<b> Regular Expressions </b>
 
<b> Regular Expressions </b>
 
* [[Media:RegularExpressions.pdf | Regular Expressions]] (PDF slides)  
 
* [[Media:RegularExpressions.pdf | Regular Expressions]] (PDF slides)  
 
|-
 
|-
| 5 || 28 April 2016 ||  
+
| 5 || 4 May 2017 ||  
 
<b> Style synthesis</b>
 
<b> Style synthesis</b>
* [http://esf.ccarh.org/254/05A_ExpMuInt%20to%20Emily%20Howell_2016.pdf From Emmy to Emily Howell: The Work of David Cope]
+
* [http://esf.ccarh.org/254/05A_ExpMuInt%20to%20Emily%20Howell_2016.pdf 5b. From Emmy to Emily Howell: The Work of David Cope]
 
* Performance analysis: [[Media:sonic-visualiser.pdf]]
 
* Performance analysis: [[Media:sonic-visualiser.pdf]]
 
|-
 
|-
| 6<div id="week6"></div> || 3 May 2016 ||
+
| 6<div id="week6"></div> || 9 May 2017 ||
 
<b>Meter and Form</b>
 
<b>Meter and Form</b>
* [http://esf.ccarh.org/254/06A_Meter%20and%20Form_2016.pdf Meter and Form]
+
* [http://esf.ccarh.org/254/06A_Meter%20and%20Form_2016.pdf 6a. Meter and Form]
 
<b> Programming for Humdrum files </b>
 
<b> Programming for Humdrum files </b>
 
* [[Humdrum Extras]] &mdash; C++ library for processing Humdrum files
 
* [[Humdrum Extras]] &mdash; C++ library for processing Humdrum files
 
|-
 
|-
| 6 || 5 May 2016 ||
+
| 6 || 11 May 2017 ||
 
<b> Inner metric analysis and generative approaches </b>
 
<b> Inner metric analysis and generative approaches </b>
* [http://esf.ccarh.org/254/06B_Composite%20Feature%20Theories_2016.pdf Composite Feature Theories]
+
* [http://esf.ccarh.org/254/06B_Composite%20Feature%20Theories_2016.pdf 6b. Composite Feature Theories]
 
<b> Sonority distributions by bass-line scale degrees </b>
 
<b> Sonority distributions by bass-line scale degrees </b>
 
* [[Media:CorelliBassline.pdf |  Corelli & Rule-of-the-octave data selection]] (PDF slides)
 
* [[Media:CorelliBassline.pdf |  Corelli & Rule-of-the-octave data selection]] (PDF slides)
 
|-
 
|-
| 7 || 10 May 2016 ||
+
| 7 || 16 May 2017 ||
 
<b> Dice</b>
 
<b> Dice</b>
* [http://www.ccarh.org/courses/253/lab/kerndice Mozart Dice Game]
+
* [http://www.ccarh.org/courses/253/lab/kerndice 7a. Mozart Dice Game]
 
|-
 
|-
| 7 || 12 May 2016 ||
+
| 7 || 18 May 2017 ||
 
<b> Musical Style</b>
 
<b> Musical Style</b>
* [http://esf.ccarh.org/254/08b_Quantitative-Style.pdf Quantitative Analysis of Musical Style]
+
* [http://esf.ccarh.org/254-old/08b_Quantitative-Style.pdf 7b. Quantitative Analysis of Musical Style]
 
|-
 
|-
| 8 || 17 May 2016 ||
+
| 8 || 23 May 2017 ||
 
<b> Project development</b>
 
<b> Project development</b>
  
 
No class meeting
 
No class meeting
 
|-
 
|-
| 8 || 19 May 2016 ||
+
| 8 || 25 May 2017 ||
 
<b> Project development</b>
 
<b> Project development</b>
 
* [[Media:MazurkaProject.pdf|Performance style analysis]]
 
* [[Media:MazurkaProject.pdf|Performance style analysis]]
  
 
|-
 
|-
| 9 || 26 May 2016 ||
+
| 9 || 30 May, 2 June 2017 ||
 
<b> Counterpoint</b>
 
<b> Counterpoint</b>
* [http://esf.ccarh.org/254/09b_Improvisatory%20Counterpoint.pdf Generative approaches to counterpoint]
+
* [http://esf.ccarh.org/254-old/09b_Improvisatory%20Counterpoint.pdf Generative approaches to counterpoint]
 
<b> MEI</b>
 
<b> MEI</b>
 
* MEI (Music Encoding Initiative) Release 2.0
 
* MEI (Music Encoding Initiative) Release 2.0
 
|-
 
|-
| 10 || 31 May 2016 ||
+
| 10 || 7 June 2017 ||
 
<b> Project presentations</b>
 
<b> Project presentations</b>
 
|-
 
|-
Line 256: Line 256:
 
# <i>Delivery times</i>:
 
# <i>Delivery times</i>:
 
##Assignments: by the start of the class for which they are due.
 
##Assignments: by the start of the class for which they are due.
## <i>Writeup</i>: by 11 p.m. 8 June 2016.
+
## <i>Writeup</i>: by 11 p.m. 8 June 2017.
 
# <i>Honor code</i>: We will act and expect you to act according to the [http://studentaffairs.stanford.edu/judicialaffairs/policy/honor-code Stanford Honor Code].
 
# <i>Honor code</i>: We will act and expect you to act according to the [http://studentaffairs.stanford.edu/judicialaffairs/policy/honor-code Stanford Honor Code].
# <i>Students with disabilities</i>: Students who may need an academic accommodation based on the impact of a disability must initiate the request with the Student Disability Resource Center (SDRC) located within the Office of Accessible Education (OAE). SDRC staff will evaluate the request with required documentation, recommend reasonable accommodations, and prepare an Accommodation Letter for faculty dated in the current quarter in which the request is being made. Students should contact the SDRC as soon as possible since timely notice is needed to coordinate accomdations. The OAE is located at 563 Salvatierra Walk (phone 723-1066).
+
# <i>Students with disabilities</i>: Students who may need an academic accommodation based on the impact of a disability must initiate the request with the Student Disability Resource Center (SDRC) located within the Office of Accessible Education (OAE). SDRC staff will evaluate the request with required documentation, recommend reasonable accommodations, and prepare an Accommodation Letter for faculty dated in the current quarter in which the request is being made. Students should contact the SDRC as soon as possible since timely notice is needed to coordinate accommodations. The OAE is located at 563 Salvatierra Walk (phone 723-1066).

Latest revision as of 20:20, 30 March 2017

Music 254/CS 275b "Music Query, Analysis, and Style Simulation"
Stanford University (Spring 2017).

This music information retrieval course builds on the foundation of Music 253/CS 275A. Using an open-source analysis platform (such as the Humdrum Toolkit (unix/bash shell), Humdrum Extras (C++), or Music21 (Python), or their preferred programming language/environment) students plan and design their own applications involving symbolic musical data.

The first four weeks cover basic areas of music analysis and retrieval and introduce basic principles of using the Humdrum Toolkit. Students may be assigned individual reading assignments pertinent to their research topic areas. The remaining six weeks are spent on individual project development, with weekly reports and discussions. Extensive help is available in the lab during hours allotted to class time. Students give verbal and written reports on their research at the end of the quarter. Some projects may be appropriate for continuation in independent-study modules.


Meeting times: Tuesdays & Thursdays 1:30–2:50
Location: Braun Music Building, Rooms 131 (lectures), 128 (lab entry from Room 129)
Instructors: Eleanor Selfridge-Field (esfield@stanford.edu)
Mauricio Rodriguez (marod@ccrma.stanford.edu)
Office Hours: 3:05–4:05 After class and by appointment.
Credits: 2–4
Grading:

25% class participation, 75% project

  • Project proposal: 3 pages, due Tues. 18 April 2017
  • Project presentation, 20–30 minutes, Thurs. 1 June 2017.
  • Project writeup draft: 5+ pages, Thurs. 1 June 2017
  • Project presentation in class: Tuesday 6 June 2017
  • Project writeup: 10–20 pages, Thurs. 13 June 2017 10 p.m.
Website: music254.stanford.edu
wiki.ccarh.org/wiki/Music 254 Overview of topics presented in Music 254.
Prerequisites: Completion of Music 253/CS 275b, or demonstrated ability to use notation and sound software and associated requirements.
Textbook: E. Selfridge-Field, ed., Beyond MIDI: The Handbook of Musical Codes (MIT Press, 1997). Available online by permission of the publisher.

Syllabus

Go to week: Harmony 1 | Melody 2 | Rhythm 3 | Harmony 4 | RegEx 5 | Programming 6 | 7 | 8


See also Music 253/CS 275a Syllabus

Week Dates Topics
1
4, 6 April 2017

Harmony I

  • Harmony Tools I in Humdrum (PDF slides)
    • Harmony tools:
      • hint: Harmonic intervals.
      • tntype: twelve-tone chord prototypes.
      • key: Krumhansl-Schmuckler key-finding algorithm.
      • keycor: generalization of key command.
      • sonority: triadic chord descriptions of sonorities.
    • Support tools:
      • assemble: merge separate spines into single data stream.
      • serialize: convert Humdrum data into single spine.
      • humcat : concatenate multiple scores together (download data from web).
      • ridx: remove various components of Humdrum file structure
      • ditto: resolve meaning of null tokens.
      • humsplit: split segmented Humdrum file streams into separate files.
    • Unix tools:
2
11 & 13 Apr 2017

Melody

3
18 Apr 2017

Style/Rhythm

3 20 Apr 2017

Data/Data entry

  • Data/Data entry in Humdrum (PDF slides)
    • KernScores: digital library of scores in the **kern format
      • [1] introduction to KernScores
      • [2] shortcuts to data in KernScores
      • [3] browse collections in KernScores
    • [4]: Josquin Research Project: digital library of early Renaissance polyphony
    • xml2hum: MusicXML to Humdrum converter
    • mid2hum: MIDI to Humdrum converter (works in many cases, but better to convert MIDI first to MusicXML then import).
4
25 Apr 2017

Harmony II

4 27 Apr 2017

Harmonic Models

Humdrum & MIDI

5
2 May 2017

Regular Expressions

5 4 May 2017

Style synthesis

6
9 May 2017

Meter and Form

Programming for Humdrum files

6 11 May 2017

Inner metric analysis and generative approaches

Sonority distributions by bass-line scale degrees

7 16 May 2017

Dice

7 18 May 2017

Musical Style

8 23 May 2017

Project development

No class meeting

8 25 May 2017

Project development

9 30 May, 2 June 2017

Counterpoint

MEI

  • MEI (Music Encoding Initiative) Release 2.0
10 7 June 2017

Project presentations

General Policies and University Rules

General policies and university rules:

  1. Delivery times:
    1. Assignments: by the start of the class for which they are due.
    2. Writeup: by 11 p.m. 8 June 2017.
  2. Honor code: We will act and expect you to act according to the Stanford Honor Code.
  3. Students with disabilities: Students who may need an academic accommodation based on the impact of a disability must initiate the request with the Student Disability Resource Center (SDRC) located within the Office of Accessible Education (OAE). SDRC staff will evaluate the request with required documentation, recommend reasonable accommodations, and prepare an Accommodation Letter for faculty dated in the current quarter in which the request is being made. Students should contact the SDRC as soon as possible since timely notice is needed to coordinate accommodations. The OAE is located at 563 Salvatierra Walk (phone 723-1066).