Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > a228190325affd3a38a9ed14c6aaa02a > files > 144

ocaml-mm-devel-0.2.1-3.mga4.x86_64.rpm

<!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="previous" href="Audio.Note.html">
<link rel="next" href="Audio.U8.html">
<link rel="Up" href="Audio.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.Mono</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Audio.Note.html" title="Audio.Note">Previous</a>
&nbsp;<a class="up" href="Audio.html" title="Audio">Up</a>
&nbsp;<a class="post" href="Audio.U8.html" title="Audio.U8">Next</a>
</div>
<h1>Module <a href="type_Audio.Mono.html">Audio.Mono</a></h1>

<pre><span class="keyword">module</span> Mono: <code class="code">sig</code> <a href="Audio.Mono.html">..</a> <code class="code">end</code></pre><div class="info module top">
Operations on mono buffers (with only one channel).<br>
</div>
<hr width="100%">

<pre><span id="TYPEbuffer"><span class="keyword">type</span> <code class="type"></code>buffer</span> = <code class="type">float array</code> </pre>
<div class="info ">
A mono buffer.<br>
</div>


<pre><span id="VALcreate"><span class="keyword">val</span> create</span> : <code class="type">int -> <a href="Audio.Mono.html#TYPEbuffer">buffer</a></code></pre>
<pre><span id="VALblit"><span class="keyword">val</span> blit</span> : <code class="type"><a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> int -> <a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> int -> int -> unit</code></pre>
<pre><span id="VALcopy"><span class="keyword">val</span> copy</span> : <code class="type"><a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> <a href="Audio.Mono.html#TYPEbuffer">buffer</a></code></pre>
<pre><span id="VALduration"><span class="keyword">val</span> duration</span> : <code class="type"><a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> int</code></pre>
<pre><span id="VALappend"><span class="keyword">val</span> append</span> : <code class="type"><a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> <a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> <a href="Audio.Mono.html#TYPEbuffer">buffer</a></code></pre>
<pre><span id="VALclear"><span class="keyword">val</span> clear</span> : <code class="type"><a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> int -> int -> unit</code></pre><div class="info ">
Clear a portion of a buffer (fill it with zeroes).<br>
</div>

<pre><span id="VALresample"><span class="keyword">val</span> resample</span> : <code class="type">?mode:[ `Linear | `Nearest ] -><br>       float -> <a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> int -> int -> <a href="Audio.Mono.html#TYPEbuffer">buffer</a></code></pre>
<pre><span id="VALclip"><span class="keyword">val</span> clip</span> : <code class="type"><a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> int -> int -> unit</code></pre>
<pre><span id="VALadd"><span class="keyword">val</span> add</span> : <code class="type"><a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> int -> <a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> int -> int -> unit</code></pre><div class="info ">
<code class="code">add b1 o1 b2 o2 len</code> adds <code class="code">len</code> samples of contents of <code class="code">b2</code> starting at
      <code class="code">o2</code> to <code class="code">b1</code> starting at <code class="code">o1</code>.<br>
</div>

<pre><span id="VALmult"><span class="keyword">val</span> mult</span> : <code class="type"><a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> int -> <a href="Audio.Mono.html#TYPEbuffer">buffer</a> -> int -> int -> unit</code></pre>
<pre><span class="keyword">module</span> <a href="Audio.Mono.Ringbuffer_ext.html">Ringbuffer_ext</a>: <code class="type"><a href="Ringbuffer.R.html">Ringbuffer.R</a></code><code class="type">  with type elt = float</code></pre>
<pre><span class="keyword">module</span> <a href="Audio.Mono.Ringbuffer.html">Ringbuffer</a>: <code class="type"><a href="Ringbuffer.R.html">Ringbuffer.R</a></code><code class="type">  with type elt = float</code></pre>
<pre><span class="keyword">module</span> <a href="Audio.Mono.Buffer_ext.html">Buffer_ext</a>: <code class="code">sig</code> <a href="Audio.Mono.Buffer_ext.html">..</a> <code class="code">end</code></pre><div class="info">
Buffers of variable size.
</div>

<pre><span class="keyword">module</span> <a href="Audio.Mono.Analyze.html">Analyze</a>: <code class="code">sig</code> <a href="Audio.Mono.Analyze.html">..</a> <code class="code">end</code></pre><div class="info">
Functions for analyzing audio data.
</div>

<pre><span class="keyword">module</span> <a href="Audio.Mono.Effect.html">Effect</a>: <code class="code">sig</code> <a href="Audio.Mono.Effect.html">..</a> <code class="code">end</code></pre>
<pre><span class="keyword">module</span> <a href="Audio.Mono.Generator.html">Generator</a>: <code class="code">sig</code> <a href="Audio.Mono.Generator.html">..</a> <code class="code">end</code></pre><div class="info">
Sound generators.
</div>
</body></html>