Write up a condition to catch for when n_spacing creates a .wav file that takes too long (>10 seconds?). Given the n_spacing + the num. of individual data points that will be sonified, calculate the length of time it will take to sonify the entire data table. If it takes too long, warn the user and let them know their n_spacing is too large.
Write up a condition to catch for when
n_spacing
creates a .wav file that takes too long (>10 seconds?). Given the n_spacing + the num. of individual data points that will be sonified, calculate the length of time it will take to sonify the entire data table. If it takes too long, warn the user and let them know theirn_spacing
is too large.