Sox has an arbitrary limit of 1200 on the vertical axis size and has fixed-size arrays for its data. This is both wasteful of memory for smaller FFTs and stops us producing more detailed output for no obvious reason.
This patch removes the size limit on Y-axis-height by making array allocation dynamic. In practice, you can't remove the limit as getopt insists on minimum and maximum values for numeric arguments, so we copy the similarly arbitrary limit of 200000 from MAX_X_SIZE.
Log in to post a comment.