Mercurial > hg > cip2012
view matlab/shift_beat.m @ 58:69b54aa5a9bb
Added plottrack.m and redid drum plots with whole track plot.
author | samer |
---|---|
date | Fri, 16 Mar 2012 20:52:56 +0000 |
parents | fa819cf73ea7 |
children |
line wrap: on
line source
function X=shift_beat(delta,X) beatpos=X(:,4); if any(diff(beatpos)<0) disp('WARNING: metrical position not monotonic'); end X(:,4)=beatpos+delta; end