Wiki » History » Version 10

Chris Cannam, 2012-10-03 07:16 PM

1 1 Luis Figueira
h1. Reusable software and reproducibility in music informatics research
2 1 Luis Figueira
3 4 Chris Cannam
h2. Tutorial at ISMIR 2012
4 1 Luis Figueira
5 1 Luis Figueira
* 8 Oct 2012
6 1 Luis Figueira
* 14:30
7 1 Luis Figueira
8 1 Luis Figueira
h2. Introduction
9 1 Luis Figueira
10 1 Luis Figueira
The need to develop and reuse software to process data is almost universal in music informatics research. Many methods, including most of those published at ISMIR, are developed in tandem with software implementations, and some of them are too complex or too fundamentally software-based to be reproduced readily from a published paper alone. For this reason, it is helpful for sustainable research to have software and data published along with papers. In practice, non-publication of code and data is still the norm and research software is commonly lost in the years following publication of the associated methods.  
11 1 Luis Figueira
12 1 Luis Figueira
During this tutorial we will discuss common barriers to publication of software and data, and will present a practical hands-on session in which attendees will explore tools and methods to help them overcome these barriers. The tutorial will rapidly cover the use of version control software, code hosting facilities, aspects of testing and provenance, and software licensing for publication. Worked examples will be drawn from the music and audio fields, and hands-on help will be provided by experienced researcher-developers from the Centre for Digital Music, Luís Figueira and Steve Welburn. This tutorial will be of immediate practical interest to researchers within the music informatics community, and will also be highly relevant to research supervisors and research group leaders with an interest in policy and guidance.
13 1 Luis Figueira
14 4 Chris Cannam
h2. Pre-Tutorial Preparation
15 1 Luis Figueira
16 4 Chris Cannam
Part of the tutorial will be a live example related to software practice in a research environment. This will be a straightforward example using an audio analysis method for music processing.
17 1 Luis Figueira
18 4 Chris Cannam
*Tutorial attendees are invited to code along.* Thus, in order to make the most of the tutorial, attendees are advised to bring *a laptop* and to install the following software before the day of the session.
19 4 Chris Cannam
20 1 Luis Figueira
If you run into any problems installing any of the software from the list below, we will be in the tutorial room from 14:00.
21 2 Luis Figueira
22 1 Luis Figueira
h3. Software Requirements
23 1 Luis Figueira
24 4 Chris Cannam
In order to take better advantage of the tutorial, we suggest that tutorial attendees install the following software beforehand:
25 1 Luis Figueira
26 4 Chris Cannam
* "Python":http://python.org/download/releases/2.7.3/ (version 2.7 or 2.6 -- not python 3)
27 4 Chris Cannam
* The "Nose":https://nose.readthedocs.org/en/latest/ unit-test framework
28 4 Chris Cannam
* "NumPy":http://numpy.scipy.org/
29 4 Chris Cannam
* "Matplotlib":http://matplotlib.org/
30 4 Chris Cannam
* "IPython":http://ipython.org/ (desirable, but not mandatory)
31 4 Chris Cannam
* "EasyMercurial":http://easyhg.org
32 2 Luis Figueira
33 6 Chris Cannam
h3. Pre-prepared Repository
34 5 Chris Cannam
35 7 Chris Cannam
We've made a Mercurial repository containing some basic code and audio files that are going to be used during the tutorial. It is highly recommended that you clone this to your laptop.
36 1 Luis Figueira
37 8 Chris Cannam
The clone URL is @https://code.soundsoftware.ac.uk/hg/python-tutorial-skeleton@
38 1 Luis Figueira
39 10 Chris Cannam
You can open this using EasyMercurial (see "this video":http://vimeo.com/29779278 for an example of how to open a remote URL), or clone it using the @hg@ command-line tool.