Base class for any time domain signal processing block, gets samples from
sourceand generates output via the generator
SamplesGeneratoror derived object.
Python generator: dummy function, just echoes the output of source, yields samples in blocks of shape (num,
numchannels), the last block may be shorter than num.