view matlab/shift_beat.m @ 66:6d67c0c11b2b

removed section on information dynamic 'critic'; moved sec 5 to sec 4B; added puckette98 ref.
author samer
date Sat, 17 Mar 2012 02:00:10 +0000
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