From Analogue to Digital: Sound Input through the Ages Music 253/CS 275A Stanford University.
8 Introduction to Humdrum Mus 253/CS 275A Stanford University Winter Quarter.
-
date post
20-Dec-2015 -
Category
Documents
-
view
231 -
download
0
Transcript of 8 Introduction to Humdrum Mus 253/CS 275A Stanford University Winter Quarter.
Encoding systems: Goals, Means, Syntax
MIDI: Sound
Instrumental Vocal
0
100
200
300
400
500
600
700
Musedata (Storage, Notation) Kern (Analysis)
MIDI (Sound) SCORE (Notation)
Event-based Binary; time-ordered; var-length; score Types 0, 1]
2Music 253 2009 Eleanor Selfridge-Field
Encoding systems: Goals, Means, Syntax
MIDI: Sound SCORE: Graphics
Instrumental Vocal
0
100
200
300
400
500
600
700
Musedata (Storage, Notation) Kern (Analysis)
MIDI (Sound) SCORE (Notation)
Event-based Object-based
Binary; time-ordered; var-length; score Types 0, 1]
ASCII; score/spatially- ordered; var. no fields
3Music 253 2009 Eleanor Selfridge-Field
Encoding systems: Goals, Means, Syntax
MIDI: Sound SCORE: Graphics MuseData: Core rep.
Instrumental Vocal
0
100
200
300
400
500
600
700
Musedata (Storage, Notation) Kern (Analysis)
MIDI (Sound) SCORE (Notation)
Event-based Object-based Event-based
Binary; time-ordered; var-length; score Types 0, 1]
ASCII; score/spatially- ordered; var. no fields
ASCII; fixed/expandable; part-ordered [=MIDI Type 1]
4Music 253 2009 Eleanor Selfridge-Field
Encoding systems: Goals, Means, Syntax
MIDI: Sound SCORE: Graphics MuseData: Core rep. MusicXML: interchange
Instrumental Vocal
0
100
200
300
400
500
600
700
Musedata (Storage, Notation) Kern (Analysis)
MIDI (Sound) SCORE (Notation)
Event-based Object-based Event-based Attribute-based
Binary; time-ordered; var-length; score Types 0, 1]
ASCII; score/spatially- ordered; var. no fields
ASCII; fixed/expandable; part-ordered [=MIDI Type 1]
ASCII; fixed/expandable; time- or score-ordered
5Music 253 2009 Eleanor Selfridge-Field
Encoding systems: Goals, Means, Syntax
MIDI: Sound SCORE: Graphics MuseData: Core rep. MusicXML: interchange **kern: Analysis data
Instrumental Vocal
0
100
200
300
400
500
600
700
Musedata (Storage, Notation) Kern (Analysis)
MIDI (Sound) SCORE (Notation)
Event-based Object-based Event-based Attribute-based Event-based
Binary; time-ordered; var-length; score Types 0, 1]
ASCII; score/spatially- ordered; var. no fields
ASCII; fixed/expandable; part-ordered [=MIDI Type 1]
ASCII; fixed/expandable; time- or score-ordered
ASCII; score-ordered but no spatial information [=MIDI Type 0]; selective attribute encoding permitted
6Music 253 2009 Eleanor Selfridge-Field
Humdrum: Goal and HistoryGOAL: encoding for analysis
INVENTOR: David Huron
ORIENTATION: Context-free grammar
Adaptable to many repertories
Features and representations can be extended
Features can be minimized
Data content sometimes unpredictable
7Music 253 2009 Eleanor Selfridge-Field
A Humdrum File !!!OTL: Frere Jacques !!!YEC: ESF 1999 **kern **text *M4/4 *k[ ] * !soprano !lyrics !!First phrase =1 =1 4c Fre- 4d re 4e Jac- 4c ques, =2 =2 4c Fre- 4d re 4e Jac- 4c ques,
. ………….
!!Fourth phrase=7 =7 4c Din,4G don,2c din.=8 =84c Din,4G don,2c din.=9 =9*- *-
Spines
8Music 253 2009 Eleanor Selfridge-Field
Elements of a **kern spine
Comment records:!!! Reference records
!! Global comments
! Local comments
Interpretation records:
** Exclusive interpretation
* Tandem interpretation
*>x Form marker
*- End-of-spine marker
Measure markers:
= Single bar-line
== Double bar-line
Tandem interpretations:
*staff<1> staff no.
*clef<G2> clef name
*<G:> key name
*k[f#c#] key signature
*M<2/4> meter signature
9Music 253 2009 Eleanor Selfridge-Field
Uses of Humdrum
Bret Aarden (2000): GPS-based localization of musical features
Jane Singer (2000): Melodic analysis
11Music 253 2009 Eleanor Selfridge-Field
Humdrum Operations
Unix-based
Unix regular expressions (grep)Humdrum-specific
File-manipulation commands (assemble, yank)
Sound-management tools (record, perform)
Pitch re-identification tools (frequency, cents)
Duration and accent tools (beat, accent pos.)
Melody tools (e.g. melodic intervals)
Harmony tools (e.g. harmonic intervals)
14Music 253 2009 Eleanor Selfridge-Field
Kornstaedt: scr2hdm [Score to Humdrum]**kern **layout*Icor *SCORE*Itrd4c7 *=1 =1*clefG2 **M4/4 *4G 1 14 13.3602 2 10 0 1| 16
14 13.6785 17 1 1 0 0 0 0 0 13 13.2094 dolcissimo| 514 14.4385 10.5 ...
4c 1 14 19.5083 5 10 0 14c 1 14 25.654 5 10 0 1|5
14 27.0518 8 10 32.0118 1.348 -14e 1 14 31.7996 7 10 0 1|14
14 37.9542 1=2 =2... ...
16Music 253 2009 Eleanor Selfridge-Field