Demux

What is the samples parameter?  It's not in the docstring.