<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="Up" href="Audio.IO.Reader.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of class methods" rel=Appendix href="index_methods.html"> <link title="Index of classes" rel=Appendix href="index_classes.html"> <link title="Index of class types" rel=Appendix href="index_class_types.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Audio" rel="Chapter" href="Audio.html"> <link title="Image" rel="Chapter" href="Image.html"> <link title="MIDI" rel="Chapter" href="MIDI.html"> <link title="Ringbuffer" rel="Chapter" href="Ringbuffer.html"> <link title="Synth" rel="Chapter" href="Synth.html"> <link title="Video" rel="Chapter" href="Video.html"><title>Audio.IO.Reader.t</title> </head> <body> <div class="navbar"> <a class="up" href="Audio.IO.Reader.html" title="Audio.IO.Reader">Up</a> </div> <h1>Class type <a href="type_Audio.IO.Reader.t.html">Audio.IO.Reader.t</a></h1> <pre><span id="TYPEt"><span class="keyword">class type</span> t</span> = <code class="code">object</code> <a href="Audio.IO.Reader.t-c.html">..</a> <code class="code">end</code></pre><hr width="100%"> <pre><span id="METHODchannels"><span class="keyword">method</span> channels</span> : <code class="type">int</code></pre><div class="info "> Number of channels.<br> </div> <pre><span id="METHODsample_rate"><span class="keyword">method</span> sample_rate</span> : <code class="type">int</code></pre><div class="info "> Sample rate in samples per second.<br> </div> <pre><span id="METHODduration"><span class="keyword">method</span> duration</span> : <code class="type">int</code></pre><div class="info "> Duration in samples.<br> </div> <pre><span id="METHODduration_time"><span class="keyword">method</span> duration_time</span> : <code class="type">float</code></pre><div class="info "> Duration in seconds.<br> </div> <pre><span id="METHODseek"><span class="keyword">method</span> seek</span> : <code class="type">int -> unit</code></pre><div class="info "> Seek to a given sample.<br> </div> <pre><span id="METHODclose"><span class="keyword">method</span> close</span> : <code class="type">unit</code></pre><div class="info "> Close the file. This method should only be called once. The members of the object should not be accessed anymore after this method has been called.<br> </div> <pre><span id="METHODread"><span class="keyword">method</span> read</span> : <code class="type"><a href="Audio.html#TYPEbuffer">Audio.buffer</a> -> int -> int -> int</code></pre></body></html>