To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / _chroma / chroma_vampprecalculated.m @ 8:b5b38998ef3b

History | View | Annotate | Download (267 Bytes)

1
function [chroma, t] = chroma_vampprecalculated(param)
2
timeandchroma = dlmread(param.metafilename);
3

    
4
t = timeandchroma(:,1);
5
chroma.bass = timeandchroma(:,[5:13 2:4])';
6
chroma.treble = timeandchroma(:,[17:25 14:16])';
7
chroma.wide = chroma.treble + 0.8 * chroma.bass;