Numpy Create Array With Shape And Beats