Mercurial > hg > c4dm-chord-transcriptions
view evaluationtools/stripinversion.m @ 1:8973548174c1 tip
adding tools to repo
author | christopherh |
---|---|
date | Mon, 06 May 2013 14:43:47 +0100 |
parents | |
children |
line wrap: on
line source
function chord = stripinversion(chordinput) chord = ''; ilength = length(chordinput); for i = 1:ilength if chordinput(i)~='/' chord = [chord chordinput(i)]; else break; end end