Musical Gestures Toolbox for Matlab

Yesterday I presented the Musical Gestures Toolbox for Matlab in the late-breaking demo session at the ISMIR conference in Paris. The Musical Gestures Toolbox for Matlab (MGT) aims at assisting music researchers with importing, preprocessing, analyzing, and visualizing video, audio, and motion capture data in a coherent manner within Matlab. Most of the concepts in the toolbox are based on the Musical Gestures Toolbox that I first developed for Max more than a decade ago. A lot of the Matlab coding for the new version was done in the master’s thesis by Bo Zhou. ...

September 28, 2018 · 1 min · 128 words · ARJ

How to import TSV file in MS Excel

I often export data from Matlab into TSV files for students and collaborators to use in other programs. It is not entirely straightforward to open these files in MS Excel, so here is a series of screenshots of how to do it. There are two tricks to make it work: [Remember to use “tab” as the delimiter between columns]{style=“line-height: 13px;”} On Norwegian and other systems that use “comma” as decimal separator, it is necessary to specify that the TSV file contains values with “dot” as the decimal separator. ...

June 28, 2013 · 1 min · 97 words · ARJ

LaTeX fonts in OS X

When creating figures for papers written in LaTeX, I have found it aesthetically unpleasing to have different fonts in the figures than in the text. Most figures I create in either OmniGraffle or Matlab, and here I have relied on regular OS X fonts. Fortunately, I have discovered that it is possible to use LaTeX fonts in OS X. Apparently, this is now included as a feature in the latest version(s) of the MacTeX distribution (?), but I also discovered that it is possible to just download the fonts (as OTF files) and install them directly: ...

February 7, 2012 · 1 min · 166 words · ARJ

Avoid subscript in Matlab titles

I am working on some plots in Matlab, where I am using the filename as the title of the plot. In many of the files I am using underscores (_) as separator, and the result is that Matlab creates a subscript. So for a file called b_staccato_004, I get a title bstaccato004. After some googling I found that this is because Matlab per default treats such text strings as LaTeX code. The solution is to use the interpreter message locally: ...

March 25, 2011 · 1 min · 93 words · ARJ

Greyscale spectrograms from MIRToolbox

I am using the excellent MIRToolbox for Matlab for a lot of sound analysis applications these days. It meets a lot of my needs, but there are a few things that I miss. Perhaps the most important one is the ability to make clean greyscale spectrograms. The regular mirspectrum function returns a colour spectrogram with lots of garnish, like this: ...

November 22, 2010 · 1 min · 124 words · ARJ