view matlab/shift_beat.m @ 74:90901fd611d1

Final version of talk.
author samer
date Fri, 01 Jun 2012 16:17:32 +0100
parents 69b54aa5a9bb
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