[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUDITORY] Note durations in music


We did a lot of this type of analysis with web MIDI data, including solving some of these problems, with about 5000 midi files. The results were presented at the Bologna ICMPC, 2006 and a pdf of the paper is here:

Roger Watt 
(mostly a vision research person)

-----Original Message-----
From: AUDITORY - Research in Auditory Perception [mailto:AUDITORY@xxxxxxxxxxxxxxx] On Behalf Of Justin London
Sent: 14 June 2013 14:03
To: AUDITORY@xxxxxxxxxxxxxxx
Subject: Re: Note durations in music

I have been working with a colleague, Wei Kunlin at Peking University, on the distribution of note durations in classical music, and we have been trying to use MIDI data available on the web as a source.  Our interest has been to find the durations of the longest notes in a range of musical performances, to see if there is some absolute limit on note duration independent of performance tempo.  But this has proven more difficult than one might think, as there are a number non-trivial problems in the use of this data.

The first is source identification.  One can find a file labelled "Mozart Piano Sonata," but then you have no other meta-data: which sonata is it?  What is its original tempo marking, key, movement/form, and so forth (all of which may have a bearing on the performed durations).  And who is the performer?  Expert? Novice?  Are the irregularities in timing due to inept performance or judiciously applied rubato?

The second is that multipart musical textures are often all put into a single (or relatively small) number of MIDI channels--so one has to separate out the voices to capture the underlying note durations.  Even where different parts have been put in separate channels this can arise, as a pianist's hand can play more than one note, a violin part may have double stops, etc., etc., as Pawel notes below.  If one just looks at the interval from note onset to note onset--which would seem sensible--there are very small differences in onset timings for notes that are ostensibly simultaneous; Caroline Palmer has studied these "melody leads" in piano performance and found they are used to convey structural information.  So a lot of careful data cleanup has to be done, and much of it has to be done by hand.

Finally there are differences between apparent and effective duration(s) of notes due to auditory streaming effects, as recently discussed by Robert Gjerdingen on this list (the "Perceptual basis of evolving western musical styles" thread)--what musicians call "compound melody" can create longer effective durations as a melody skips through different registers.  

Nonetheless, if one can address these problems, there is a rich supply of real performance data out there . . .

All best,
Justin London

P.S. acutally, not many musicologists have done this kind of analysis using real audio or MIDI data, though there have been studies of duration that are score-based.  I believe this is because musicologists--especially music theorists--don't often think of approaching problems this way (i.e., using empirical methods).  

On Jun 13, 2013, at 8:59 AM, PaweÅ KuÅmierek wrote:

	Dear Aniruddh,
	I don't know of any published distributions of note durations, though I would be surprised if many musicologists have not performed this type of analysis.
	But, there are several ways to obtain such distributions, depending on whether you need distribution of durations in the score (as written by the composer, A) or of an actual performance with durations varying for expressive purposes (B).
	First, it is usually easy to find downloadable MIDI files of many pieces. These can be imported into Matlab either using your own script (AFAIR MIDI file format is pretty straightforward) or any of downloadable tools (Google says there is a choice). Then it will be easy to do any statistical analysis. Depending on how the MIDI file was created, you will get either A or B.
	You can also can manually get the note duration off the score; many scores of older (i.e., not copyrighted anymore) are available at http://imslp.org <http://imslp.org/>  (including your example Prelude), some are at http://www.dlib.indiana.edu/variations/scores/. This will obviously give you B only.
	Finally, A can be obtained by reading note durations off waveform and spectrogram of a recording, this would be most time-consuming though.
	Also, please be advised that a lot of solo violin and cello music, including the Prelude you used as an example, does contain multiple notes played simultaneously.
	Hope that helps,

Justin London
Affiliated Researcher, Centre for Music and Science, University of Cambridge Professor of Music (and other stuff), Carleton College Department of Music One North College St.
Northfield, MN 55057 USA
fax 507-222-5561

The University of Stirling is ranked in the top 50 in the world in The Times Higher Education 100 Under 50 table, which ranks the world's best 100 universities under 50 years old.
The University of Stirling is a charity registered in Scotland, 
 number SC 011159.