< Back to IRCAM Forum

Importing .mubu SDIF data to MATLAB

Hi all,

My colleagues and I managed to import the data from .mubu files to MATLAB by writing a custom script using these SDIF tools: SDIF Matlab - sdif

The data looks good. However, we couldn’t figure out where the track names are stored in the .mubu files, can you please help with that?

Is a MATLAB script designed for loading .mubu data in MATLAB already available? It would be ideal if it just loaded all the content of a .mubu file into a Matlab struct with the fields named after the mubu track names. We could write that script ourselves and then share it if there isn’t one available but we need some help finding the track names and other metadata (e.g. sample rate for each track etc,) in the .mubu file.

Best wishes,

Federico Visi
Interdisciplinary Centre for Computer Music Research (ICCMR), Plymouth University

Hi Federico,

that info is in the NVTs (name–value tables, one per track) that you get back from the first loadsdif command.
I just hope that it does not squash all of them together in one table. Also try the easdif-based sdif-matlab.