Enable number of channels to be specified for silence.
Add type hints.
Add gain operation.
Add stop function.