# `TuningFork.Sink.Collect`
[🔗](https://github.com/jaman/tuning_fork/blob/v0.1.11/tuning_fork/lib/tuning_fork/sink.ex#L48)

A sink that sends everything written to a process as `{:pcm, binary}`.

# `open`

Open the sink.

## Options

  * `:owner` — who receives `{:pcm, binary}`, default the opening process
  * `:rate` — samples per second, default 44100
  * `:channels` — samples per frame, default 2

# `write`

Send `pcm` to the owner, then sleep for as long as the audio it holds lasts.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
