 (defrecord BufferOutStream [id size n-channels header samples rate allocated-on-server path open?])
 
 (defn buffer-stream
-  "Returns a buffer-stream which is similar to a regular buffer but may be used
-  with the disk-out ugen to stream to a specific file on disk.
-  Use #'buffer-stream-close to close the stream to finish recording to disk.
+  "Returns a buffer-stream which is similar to a regular buffer but may
+  be used with the disk-out ugen to stream to a specific file on disk.
+  Use #'buffer-stream-close to close the stream to finish recording to
+  disk.
 
   Options:
 

         (apply snd "/b_setn" (:id buf) start-idx size doubles)))))

(defn buffer-fill!
  "Fill a buffer range with a single value. Modifies the buffer in place on the
  server. Defaults to filling in the full buffer unless start and len vals are
  specified. Asynchronous."
  ([buf val]
     (assert (buffer? buf))
     (buffer-fill! buf 0 (:size buf) val))


(defn create-buffer-data
  "Create a sequence of floats for use as a buffer.  Result will contain
   values obtained by calling f with values linearly interpolated
   between range-min (inclusive) and range-max (exclusive).  For most
   purposes size must be a power of 2.

   Examples:

