Add a `write` method
The purpose of this MR is to add a write
method which enables the user to write samples to multiple formats. This fixes issue #216 (closed).
The purpose of this MR is to add a write
method which enables the user to write samples to multiple formats. This fixes issue #216 (closed).