sig
type t
val createFromFile : filename:string -> SFSoundBuffer.t
val createFromMemory : data:string -> SFSoundBuffer.t
val getSamplesCount : soundBuffer:SFSoundBuffer.t -> int
val getSampleRate : soundBuffer:SFSoundBuffer.t -> int
val getChannelsCount : soundBuffer:SFSoundBuffer.t -> int
val getDuration : soundBuffer:SFSoundBuffer.t -> float
val saveToFile : soundBuffer:SFSoundBuffer.t -> filename:string -> unit
end