support for "counter" argument to audio generator function.
fix comments.