Refactor command line inputs into a comma separated list instead of up to 7 independent, spaced inputs. This makes -Darg logic far simpler and improves readability for command line inputs in general.
Split the string argument into each of the comma separated components and parseInt so that the frequency, amplitude, etc.. are all set from the correct numbers.
Refactor command line inputs into a comma separated list instead of up to 7 independent, spaced inputs. This makes -Darg logic far simpler and improves readability for command line inputs in general.
Split the string argument into each of the comma separated components and parseInt so that the frequency, amplitude, etc.. are all set from the correct numbers.