function y = abscissa(dur, sr) % y=abscissa(dur) - make an "x" array of duration "dur" global sr; ns = dur * sr; x = 0 : ns-1; y = x/sr;